tencentcloud-sdk-nodejs-cbs 4.0.896 → 4.0.898

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-cbs",
3
- "version": "4.0.896",
3
+ "version": "4.0.898",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -17,7 +17,7 @@
17
17
  | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-06-17 01:08:48 |
18
18
  | apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2024-06-26 01:09:03 |
19
19
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-05-17 01:06:16 |
20
- | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-07-11 01:08:09 |
20
+ | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-07-16 01:08:08 |
21
21
  | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 |
22
22
  | ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-04-22 01:08:02 |
23
23
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-06-25 01:07:59 |
@@ -38,15 +38,16 @@
38
38
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-06-19 01:14:46 |
39
39
  | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-06-19 01:14:59 |
40
40
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-06-14 01:17:35 |
41
- | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-07-15 01:04:45 |
42
- | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-06-13 01:13:25 |
41
+ | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-07-16 01:09:24 |
42
+ | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-07-16 01:09:31 |
43
43
  | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-07-10 01:09:35 |
44
- | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-03-20 01:10:04 |
44
+ | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-07-17 01:09:51 |
45
45
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-07-10 01:10:02 |
46
46
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-06-18 01:18:51 |
47
47
  | cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-06-27 01:07:08 |
48
48
  | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-06-20 01:19:00 |
49
49
  | cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 |
50
+ | cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-07-15 09:37:14 |
50
51
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-04-10 01:10:22 |
51
52
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2024-04-26 01:10:32 |
52
53
  | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-06-20 01:19:49 |
@@ -56,7 +57,7 @@
56
57
  | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
57
58
  | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
58
59
  | ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-07-08 01:10:21 |
59
- | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-07-11 01:11:12 |
60
+ | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-07-16 01:11:14 |
60
61
  | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 |
61
62
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
62
63
  | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-05-29 01:21:54 |
@@ -69,18 +70,18 @@
69
70
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
70
71
  | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-07-03 01:12:26 |
71
72
  | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 |
72
- | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-06-20 01:25:33 |
73
+ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-07-17 01:11:57 |
73
74
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-07-12 01:12:13 |
74
75
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
75
- | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-07-15 01:08:36 |
76
- | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-05-31 01:30:02 |
76
+ | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-07-16 01:13:21 |
77
+ | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-07-16 01:13:41 |
77
78
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
78
79
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
79
80
  | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-07-05 01:08:15 |
80
81
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2024-07-08 01:12:54 |
81
82
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-07-15 01:09:18 |
82
83
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-07-11 01:14:04 |
83
- | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-07-08 01:13:07 |
84
+ | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-07-17 01:14:09 |
84
85
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-07-11 01:14:33 |
85
86
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-07-02 01:14:51 |
86
87
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2024-07-12 01:14:44 |
@@ -95,14 +96,14 @@
95
96
  | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-06-25 01:14:34 |
96
97
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
97
98
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-07-09 01:14:34 |
98
- | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-07-09 01:14:44 |
99
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-07-12 01:16:02 |
100
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-07-12 01:16:22 |
101
- | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-06-05 10:32:35 |
99
+ | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-07-17 01:15:53 |
100
+ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-07-16 01:16:14 |
101
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-07-16 01:16:31 |
102
+ | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-07-16 01:16:45 |
102
103
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-06-26 01:16:46 |
103
104
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 |
104
105
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-03-20 01:17:13 |
105
- | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-07-15 01:12:05 |
106
+ | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-07-17 01:16:44 |
106
107
  | gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2024-06-27 01:13:06 |
107
108
  | goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2024-07-10 01:17:00 |
108
109
  | gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
@@ -112,7 +113,7 @@
112
113
  | hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-05-29 01:43:09 |
113
114
  | hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
114
115
  | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2024-05-09 01:16:27 |
115
- | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-07-05 01:11:07 |
116
+ | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-07-17 01:17:08 |
116
117
  | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2024-03-20 01:17:43 |
117
118
  | ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
118
119
  | icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2024-04-22 01:17:48 |
@@ -132,10 +133,10 @@
132
133
  | ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2024-07-09 14:27:21 |
133
134
  | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2024-03-20 01:19:20 |
134
135
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-04-17 01:17:16 |
135
- | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-06-24 01:17:36 |
136
+ | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-07-17 01:19:12 |
136
137
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-07-11 01:19:19 |
137
138
  | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-07-12 01:19:39 |
138
- | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-07-15 01:15:17 |
139
+ | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-07-17 01:19:55 |
139
140
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
140
141
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
141
142
  | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 |
@@ -146,8 +147,8 @@
146
147
  | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-07-02 01:19:41 |
147
148
  | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-07-11 01:20:22 |
148
149
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-07-15 01:15:52 |
149
- | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-07-12 01:20:43 |
150
- | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-07-15 01:16:23 |
150
+ | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-07-17 01:20:37 |
151
+ | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-07-16 01:21:13 |
151
152
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-06-14 02:16:42 |
152
153
  | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-06-05 02:02:03 |
153
154
  | msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2024-04-17 14:48:31 |
@@ -203,7 +204,7 @@
203
204
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-06-26 01:23:56 |
204
205
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-07-10 01:25:35 |
205
206
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-06-04 02:17:43 |
206
- | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-07-12 01:25:48 |
207
+ | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-07-17 01:25:48 |
207
208
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-04-22 01:26:50 |
208
209
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-06-25 01:23:38 |
209
210
  | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-07-03 19:33:55 |
@@ -228,7 +229,7 @@
228
229
  | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-07-12 01:27:45 |
229
230
  | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-07-10 01:27:48 |
230
231
  | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-07-11 01:28:05 |
231
- | tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-07-08 01:25:22 |
232
+ | tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-07-17 01:28:37 |
232
233
  | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 |
233
234
  | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-07-08 01:25:23 |
234
235
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2024-03-20 01:30:08 |
@@ -237,8 +238,8 @@
237
238
  | vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-07-09 01:25:36 |
238
239
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-06-06 02:47:30 |
239
240
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
240
- | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-07-05 01:20:46 |
241
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-07-11 01:29:18 |
241
+ | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-07-17 01:28:46 |
242
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-07-17 01:29:26 |
242
243
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-04-02 01:27:45 |
243
244
  | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-06-07 02:52:58 |
244
245
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-07-10 01:30:00 |
@@ -22,7 +22,7 @@ import {
22
22
  DescribeDiskBackupsRequest,
23
23
  AutoSnapshotPolicy,
24
24
  DetailPrice,
25
- CreateDiskBackupRequest,
25
+ ModifySnapshotsSharePermissionRequest,
26
26
  CopySnapshotCrossRegionsResponse,
27
27
  ModifyAutoSnapshotPolicyAttributeResponse,
28
28
  ModifyDiskBackupQuotaRequest,
@@ -53,6 +53,7 @@ import {
53
53
  TerminateDisksResponse,
54
54
  ApplySnapshotResponse,
55
55
  DetachDisksRequest,
56
+ DescribeSnapshotOverviewResponse,
56
57
  ModifyDisksChargeTypeResponse,
57
58
  CreateSnapshotRequest,
58
59
  DescribeInstancesDiskNumRequest,
@@ -88,13 +89,14 @@ import {
88
89
  InquirePriceModifyDiskBackupQuotaResponse,
89
90
  DeleteAutoSnapshotPoliciesRequest,
90
91
  DiskChargePrepaid,
92
+ DescribeSnapshotOverviewRequest,
91
93
  Filter,
92
94
  InquiryPriceCreateDisksRequest,
93
95
  DescribeSnapshotsResponse,
94
96
  Snapshot,
95
97
  CreateDisksResponse,
96
98
  AttachDisksResponse,
97
- ModifySnapshotsSharePermissionRequest,
99
+ CreateDiskBackupRequest,
98
100
  BindAutoSnapshotPolicyResponse,
99
101
  DiskBackup,
100
102
  DescribeDisksRequest,
@@ -573,17 +575,26 @@ export class Client extends TencentCloudCommon.AbstractClient {
573
575
  }
574
576
 
575
577
  /**
576
- * 本接口(CreateSnapshot)用于对指定云盘创建快照。
578
+ * 该接口用于查询用户快照使用概览,包括快照总容量、计费容量等信息。
579
+ */
580
+ async DescribeSnapshotOverview(
581
+ req?: DescribeSnapshotOverviewRequest,
582
+ cb?: (error: string, rep: DescribeSnapshotOverviewResponse) => void
583
+ ): Promise<DescribeSnapshotOverviewResponse> {
584
+ return this.request("DescribeSnapshotOverview", req, cb)
585
+ }
577
586
 
578
- * 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
579
- * 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)。
580
- * 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
587
+ /**
588
+ * 本接口(DetachDisks)用于卸载云硬盘。
589
+
590
+ * 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
591
+ * 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
581
592
  */
582
- async CreateSnapshot(
583
- req: CreateSnapshotRequest,
584
- cb?: (error: string, rep: CreateSnapshotResponse) => void
585
- ): Promise<CreateSnapshotResponse> {
586
- return this.request("CreateSnapshot", req, cb)
593
+ async DetachDisks(
594
+ req: DetachDisksRequest,
595
+ cb?: (error: string, rep: DetachDisksResponse) => void
596
+ ): Promise<DetachDisksResponse> {
597
+ return this.request("DetachDisks", req, cb)
587
598
  }
588
599
 
589
600
  /**
@@ -612,16 +623,17 @@ export class Client extends TencentCloudCommon.AbstractClient {
612
623
  }
613
624
 
614
625
  /**
615
- * 本接口(DetachDisks)用于卸载云硬盘。
626
+ * 本接口(CreateSnapshot)用于对指定云盘创建快照。
616
627
 
617
- * 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
618
- * 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
628
+ * 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
629
+ * 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)
630
+ * 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
619
631
  */
620
- async DetachDisks(
621
- req: DetachDisksRequest,
622
- cb?: (error: string, rep: DetachDisksResponse) => void
623
- ): Promise<DetachDisksResponse> {
624
- return this.request("DetachDisks", req, cb)
632
+ async CreateSnapshot(
633
+ req: CreateSnapshotRequest,
634
+ cb?: (error: string, rep: CreateSnapshotResponse) => void
635
+ ): Promise<CreateSnapshotResponse> {
636
+ return this.request("CreateSnapshot", req, cb)
625
637
  }
626
638
 
627
639
  /**
@@ -218,17 +218,21 @@ export interface DetailPrice {
218
218
  }
219
219
 
220
220
  /**
221
- * CreateDiskBackup请求参数结构体
221
+ * ModifySnapshotsSharePermission请求参数结构体
222
222
  */
223
- export interface CreateDiskBackupRequest {
223
+ export interface ModifySnapshotsSharePermissionRequest {
224
224
  /**
225
- * 要创建备份点的云硬盘名称。
225
+ * 快照ID, 可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647)查询获取。
226
226
  */
227
- DiskId: string
227
+ SnapshotIds: Array<string>
228
228
  /**
229
- * 云硬盘备份点名称。长度不能超过100个字符。
229
+ * 接收分享快照的账号Id列表,array型参数的格式可以参考[API简介](https://cloud.tencent.com/document/api/213/568)。账号ID不同于QQ号,查询用户账号ID请查看[账号信息](https://console.cloud.tencent.com/developer)中的账号ID栏。
230
230
  */
231
- DiskBackupName?: string
231
+ AccountIds: Array<string>
232
+ /**
233
+ * 操作,包括 SHARE,CANCEL。其中SHARE代表分享操作,CANCEL代表取消分享操作。
234
+ */
235
+ Permission: string
232
236
  }
233
237
 
234
238
  /**
@@ -942,6 +946,32 @@ export interface DetachDisksRequest {
942
946
  InstanceId?: string
943
947
  }
944
948
 
949
+ /**
950
+ * DescribeSnapshotOverview返回参数结构体
951
+ */
952
+ export interface DescribeSnapshotOverviewResponse {
953
+ /**
954
+ * 当前总有效快照数量
955
+ */
956
+ TotalNums?: number
957
+ /**
958
+ * 已使用快照总容量大小,容量单位为GiB
959
+ */
960
+ TotalSize?: number
961
+ /**
962
+ * 快照免费额度大小,额度单位为GiB
963
+ */
964
+ FreeQuota?: number
965
+ /**
966
+ * 快照真实产生计费的总容量大小,单位为GiB
967
+ */
968
+ RealTradeSize?: number
969
+ /**
970
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
971
+ */
972
+ RequestId?: string
973
+ }
974
+
945
975
  /**
946
976
  * ModifyDisksChargeType返回参数结构体
947
977
  */
@@ -1517,6 +1547,11 @@ export interface DiskChargePrepaid {
1517
1547
  CurInstanceDeadline?: string
1518
1548
  }
1519
1549
 
1550
+ /**
1551
+ * DescribeSnapshotOverview请求参数结构体
1552
+ */
1553
+ export type DescribeSnapshotOverviewRequest = null
1554
+
1520
1555
  /**
1521
1556
  * 描述键值对过滤器,用于条件过滤查询。
1522
1557
  */
@@ -1699,21 +1734,17 @@ export interface AttachDisksResponse {
1699
1734
  }
1700
1735
 
1701
1736
  /**
1702
- * ModifySnapshotsSharePermission请求参数结构体
1737
+ * CreateDiskBackup请求参数结构体
1703
1738
  */
1704
- export interface ModifySnapshotsSharePermissionRequest {
1705
- /**
1706
- * 快照ID, 可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647)查询获取。
1707
- */
1708
- SnapshotIds: Array<string>
1739
+ export interface CreateDiskBackupRequest {
1709
1740
  /**
1710
- * 接收分享快照的账号Id列表,array型参数的格式可以参考[API简介](https://cloud.tencent.com/document/api/213/568)。账号ID不同于QQ号,查询用户账号ID请查看[账号信息](https://console.cloud.tencent.com/developer)中的账号ID栏。
1741
+ * 要创建备份点的云硬盘名称。
1711
1742
  */
1712
- AccountIds: Array<string>
1743
+ DiskId: string
1713
1744
  /**
1714
- * 操作,包括 SHARE,CANCEL。其中SHARE代表分享操作,CANCEL代表取消分享操作。
1745
+ * 云硬盘备份点名称。长度不能超过100个字符。
1715
1746
  */
1716
- Permission: string
1747
+ DiskBackupName?: string
1717
1748
  }
1718
1749
 
1719
1750
  /**
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { ModifyDiskExtraPerformanceRequest, ModifyDiskAttributesResponse, DescribeDiskBackupsRequest, CreateDiskBackupRequest, CopySnapshotCrossRegionsResponse, ModifyAutoSnapshotPolicyAttributeResponse, ModifyDiskBackupQuotaRequest, InquiryPriceCreateDisksResponse, BindAutoSnapshotPolicyRequest, CreateSnapshotResponse, DescribeAutoSnapshotPoliciesRequest, ModifySnapshotsSharePermissionResponse, DeleteDiskBackupsRequest, InitializeDisksResponse, DescribeDiskStoragePoolRequest, DescribeDiskBackupsResponse, RenewDiskRequest, InquirePriceModifyDiskExtraPerformanceResponse, CreateDisksRequest, AttachDisksRequest, DescribeDiskAssociatedAutoSnapshotPolicyRequest, DescribeSnapshotsRequest, ModifyAutoSnapshotPolicyAttributeRequest, DescribeDiskConfigQuotaResponse, ApplyDiskBackupResponse, InquiryPriceResizeDiskResponse, ResizeDiskResponse, TerminateDisksResponse, ApplySnapshotResponse, DetachDisksRequest, ModifyDisksChargeTypeResponse, CreateSnapshotRequest, DescribeInstancesDiskNumRequest, DescribeSnapshotSharePermissionResponse, ModifyDiskBackupQuotaResponse, InquiryPriceRenewDisksRequest, DescribeSnapshotSharePermissionRequest, InquirePriceModifyDiskBackupQuotaRequest, DeleteDiskBackupsResponse, DeleteSnapshotsRequest, ModifyDisksRenewFlagResponse, DeleteAutoSnapshotPoliciesResponse, DescribeDisksResponse, DeleteSnapshotsResponse, ModifyDisksRenewFlagRequest, ModifySnapshotAttributeResponse, ModifyDiskAttributesRequest, GetSnapOverviewRequest, TerminateDisksRequest, DescribeInstancesDiskNumResponse, ResizeDiskRequest, ApplyDiskBackupRequest, ModifyDisksChargeTypeRequest, InitializeDisksRequest, CreateAutoSnapshotPolicyResponse, ModifySnapshotAttributeRequest, UnbindAutoSnapshotPolicyRequest, CreateDiskBackupResponse, InquirePriceModifyDiskBackupQuotaResponse, DeleteAutoSnapshotPoliciesRequest, InquiryPriceCreateDisksRequest, DescribeSnapshotsResponse, CreateDisksResponse, AttachDisksResponse, ModifySnapshotsSharePermissionRequest, BindAutoSnapshotPolicyResponse, DescribeDisksRequest, DetachDisksResponse, InquiryPriceRenewDisksResponse, DescribeDiskStoragePoolResponse, ModifyDiskExtraPerformanceResponse, InquirePriceModifyDiskExtraPerformanceRequest, InquiryPriceResizeDiskRequest, DescribeDiskConfigQuotaRequest, DescribeDiskAssociatedAutoSnapshotPolicyResponse, GetSnapOverviewResponse, CopySnapshotCrossRegionsRequest, RenewDiskResponse, DescribeAutoSnapshotPoliciesResponse, UnbindAutoSnapshotPolicyResponse, CreateAutoSnapshotPolicyRequest, ApplySnapshotRequest } from "./cbs_models";
2
+ import { ModifyDiskExtraPerformanceRequest, ModifyDiskAttributesResponse, DescribeDiskBackupsRequest, ModifySnapshotsSharePermissionRequest, CopySnapshotCrossRegionsResponse, ModifyAutoSnapshotPolicyAttributeResponse, ModifyDiskBackupQuotaRequest, InquiryPriceCreateDisksResponse, BindAutoSnapshotPolicyRequest, CreateSnapshotResponse, DescribeAutoSnapshotPoliciesRequest, ModifySnapshotsSharePermissionResponse, DeleteDiskBackupsRequest, InitializeDisksResponse, DescribeDiskStoragePoolRequest, DescribeDiskBackupsResponse, RenewDiskRequest, InquirePriceModifyDiskExtraPerformanceResponse, CreateDisksRequest, AttachDisksRequest, DescribeDiskAssociatedAutoSnapshotPolicyRequest, DescribeSnapshotsRequest, ModifyAutoSnapshotPolicyAttributeRequest, DescribeDiskConfigQuotaResponse, ApplyDiskBackupResponse, InquiryPriceResizeDiskResponse, ResizeDiskResponse, TerminateDisksResponse, ApplySnapshotResponse, DetachDisksRequest, DescribeSnapshotOverviewResponse, ModifyDisksChargeTypeResponse, CreateSnapshotRequest, DescribeInstancesDiskNumRequest, DescribeSnapshotSharePermissionResponse, ModifyDiskBackupQuotaResponse, InquiryPriceRenewDisksRequest, DescribeSnapshotSharePermissionRequest, InquirePriceModifyDiskBackupQuotaRequest, DeleteDiskBackupsResponse, DeleteSnapshotsRequest, ModifyDisksRenewFlagResponse, DeleteAutoSnapshotPoliciesResponse, DescribeDisksResponse, DeleteSnapshotsResponse, ModifyDisksRenewFlagRequest, ModifySnapshotAttributeResponse, ModifyDiskAttributesRequest, GetSnapOverviewRequest, TerminateDisksRequest, DescribeInstancesDiskNumResponse, ResizeDiskRequest, ApplyDiskBackupRequest, ModifyDisksChargeTypeRequest, InitializeDisksRequest, CreateAutoSnapshotPolicyResponse, ModifySnapshotAttributeRequest, UnbindAutoSnapshotPolicyRequest, CreateDiskBackupResponse, InquirePriceModifyDiskBackupQuotaResponse, DeleteAutoSnapshotPoliciesRequest, DescribeSnapshotOverviewRequest, InquiryPriceCreateDisksRequest, DescribeSnapshotsResponse, CreateDisksResponse, AttachDisksResponse, CreateDiskBackupRequest, BindAutoSnapshotPolicyResponse, DescribeDisksRequest, DetachDisksResponse, InquiryPriceRenewDisksResponse, DescribeDiskStoragePoolResponse, ModifyDiskExtraPerformanceResponse, InquirePriceModifyDiskExtraPerformanceRequest, InquiryPriceResizeDiskRequest, DescribeDiskConfigQuotaRequest, DescribeDiskAssociatedAutoSnapshotPolicyResponse, GetSnapOverviewResponse, CopySnapshotCrossRegionsRequest, RenewDiskResponse, DescribeAutoSnapshotPoliciesResponse, UnbindAutoSnapshotPolicyResponse, CreateAutoSnapshotPolicyRequest, ApplySnapshotRequest } from "./cbs_models";
3
3
  /**
4
4
  * cbs client
5
5
  * @class
@@ -232,13 +232,16 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
232
232
  */
233
233
  ModifySnapshotsSharePermission(req: ModifySnapshotsSharePermissionRequest, cb?: (error: string, rep: ModifySnapshotsSharePermissionResponse) => void): Promise<ModifySnapshotsSharePermissionResponse>;
234
234
  /**
235
- * 本接口(CreateSnapshot)用于对指定云盘创建快照。
235
+ * 该接口用于查询用户快照使用概览,包括快照总容量、计费容量等信息。
236
+ */
237
+ DescribeSnapshotOverview(req?: DescribeSnapshotOverviewRequest, cb?: (error: string, rep: DescribeSnapshotOverviewResponse) => void): Promise<DescribeSnapshotOverviewResponse>;
238
+ /**
239
+ * 本接口(DetachDisks)用于卸载云硬盘。
236
240
 
237
- * 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
238
- * 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)
239
- * 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
241
+ * 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
242
+ * 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
240
243
  */
241
- CreateSnapshot(req: CreateSnapshotRequest, cb?: (error: string, rep: CreateSnapshotResponse) => void): Promise<CreateSnapshotResponse>;
244
+ DetachDisks(req: DetachDisksRequest, cb?: (error: string, rep: DetachDisksResponse) => void): Promise<DetachDisksResponse>;
242
245
  /**
243
246
  * 为进一步规范化API命名,该接口决定预下线,新接口命名为:DescribeSnapshotOverview
244
247
 
@@ -253,12 +256,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
253
256
  */
254
257
  ResizeDisk(req: ResizeDiskRequest, cb?: (error: string, rep: ResizeDiskResponse) => void): Promise<ResizeDiskResponse>;
255
258
  /**
256
- * 本接口(DetachDisks)用于卸载云硬盘。
259
+ * 本接口(CreateSnapshot)用于对指定云盘创建快照。
257
260
 
258
- * 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
259
- * 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
261
+ * 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
262
+ * 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)
263
+ * 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
260
264
  */
261
- DetachDisks(req: DetachDisksRequest, cb?: (error: string, rep: DetachDisksResponse) => void): Promise<DetachDisksResponse>;
265
+ CreateSnapshot(req: CreateSnapshotRequest, cb?: (error: string, rep: CreateSnapshotResponse) => void): Promise<CreateSnapshotResponse>;
262
266
  /**
263
267
  * 本接口(InquiryPriceRenewDisks)用于续费云硬盘询价。
264
268
 
@@ -325,14 +325,19 @@ class Client extends TencentCloudCommon.AbstractClient {
325
325
  return this.request("ModifySnapshotsSharePermission", req, cb);
326
326
  }
327
327
  /**
328
- * 本接口(CreateSnapshot)用于对指定云盘创建快照。
328
+ * 该接口用于查询用户快照使用概览,包括快照总容量、计费容量等信息。
329
+ */
330
+ async DescribeSnapshotOverview(req, cb) {
331
+ return this.request("DescribeSnapshotOverview", req, cb);
332
+ }
333
+ /**
334
+ * 本接口(DetachDisks)用于卸载云硬盘。
329
335
 
330
- * 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
331
- * 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)
332
- * 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
336
+ * 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
337
+ * 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
333
338
  */
334
- async CreateSnapshot(req, cb) {
335
- return this.request("CreateSnapshot", req, cb);
339
+ async DetachDisks(req, cb) {
340
+ return this.request("DetachDisks", req, cb);
336
341
  }
337
342
  /**
338
343
  * 为进一步规范化API命名,该接口决定预下线,新接口命名为:DescribeSnapshotOverview
@@ -352,13 +357,14 @@ class Client extends TencentCloudCommon.AbstractClient {
352
357
  return this.request("ResizeDisk", req, cb);
353
358
  }
354
359
  /**
355
- * 本接口(DetachDisks)用于卸载云硬盘。
360
+ * 本接口(CreateSnapshot)用于对指定云盘创建快照。
356
361
 
357
- * 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
358
- * 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
362
+ * 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
363
+ * 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)
364
+ * 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
359
365
  */
360
- async DetachDisks(req, cb) {
361
- return this.request("DetachDisks", req, cb);
366
+ async CreateSnapshot(req, cb) {
367
+ return this.request("CreateSnapshot", req, cb);
362
368
  }
363
369
  /**
364
370
  * 本接口(InquiryPriceRenewDisks)用于续费云硬盘询价。
@@ -196,17 +196,21 @@ export interface DetailPrice {
196
196
  UnitPriceDiscountHigh?: string;
197
197
  }
198
198
  /**
199
- * CreateDiskBackup请求参数结构体
199
+ * ModifySnapshotsSharePermission请求参数结构体
200
200
  */
201
- export interface CreateDiskBackupRequest {
201
+ export interface ModifySnapshotsSharePermissionRequest {
202
202
  /**
203
- * 要创建备份点的云硬盘名称。
203
+ * 快照ID, 可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647)查询获取。
204
204
  */
205
- DiskId: string;
205
+ SnapshotIds: Array<string>;
206
206
  /**
207
- * 云硬盘备份点名称。长度不能超过100个字符。
207
+ * 接收分享快照的账号Id列表,array型参数的格式可以参考[API简介](https://cloud.tencent.com/document/api/213/568)。账号ID不同于QQ号,查询用户账号ID请查看[账号信息](https://console.cloud.tencent.com/developer)中的账号ID栏。
208
208
  */
209
- DiskBackupName?: string;
209
+ AccountIds: Array<string>;
210
+ /**
211
+ * 操作,包括 SHARE,CANCEL。其中SHARE代表分享操作,CANCEL代表取消分享操作。
212
+ */
213
+ Permission: string;
210
214
  }
211
215
  /**
212
216
  * CopySnapshotCrossRegions返回参数结构体
@@ -889,6 +893,31 @@ export interface DetachDisksRequest {
889
893
  */
890
894
  InstanceId?: string;
891
895
  }
896
+ /**
897
+ * DescribeSnapshotOverview返回参数结构体
898
+ */
899
+ export interface DescribeSnapshotOverviewResponse {
900
+ /**
901
+ * 当前总有效快照数量
902
+ */
903
+ TotalNums?: number;
904
+ /**
905
+ * 已使用快照总容量大小,容量单位为GiB
906
+ */
907
+ TotalSize?: number;
908
+ /**
909
+ * 快照免费额度大小,额度单位为GiB
910
+ */
911
+ FreeQuota?: number;
912
+ /**
913
+ * 快照真实产生计费的总容量大小,单位为GiB
914
+ */
915
+ RealTradeSize?: number;
916
+ /**
917
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
918
+ */
919
+ RequestId?: string;
920
+ }
892
921
  /**
893
922
  * ModifyDisksChargeType返回参数结构体
894
923
  */
@@ -1429,6 +1458,10 @@ export interface DiskChargePrepaid {
1429
1458
  */
1430
1459
  CurInstanceDeadline?: string;
1431
1460
  }
1461
+ /**
1462
+ * DescribeSnapshotOverview请求参数结构体
1463
+ */
1464
+ export declare type DescribeSnapshotOverviewRequest = null;
1432
1465
  /**
1433
1466
  * 描述键值对过滤器,用于条件过滤查询。
1434
1467
  */
@@ -1605,21 +1638,17 @@ export interface AttachDisksResponse {
1605
1638
  RequestId?: string;
1606
1639
  }
1607
1640
  /**
1608
- * ModifySnapshotsSharePermission请求参数结构体
1641
+ * CreateDiskBackup请求参数结构体
1609
1642
  */
1610
- export interface ModifySnapshotsSharePermissionRequest {
1611
- /**
1612
- * 快照ID, 可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647)查询获取。
1613
- */
1614
- SnapshotIds: Array<string>;
1643
+ export interface CreateDiskBackupRequest {
1615
1644
  /**
1616
- * 接收分享快照的账号Id列表,array型参数的格式可以参考[API简介](https://cloud.tencent.com/document/api/213/568)。账号ID不同于QQ号,查询用户账号ID请查看[账号信息](https://console.cloud.tencent.com/developer)中的账号ID栏。
1645
+ * 要创建备份点的云硬盘名称。
1617
1646
  */
1618
- AccountIds: Array<string>;
1647
+ DiskId: string;
1619
1648
  /**
1620
- * 操作,包括 SHARE,CANCEL。其中SHARE代表分享操作,CANCEL代表取消分享操作。
1649
+ * 云硬盘备份点名称。长度不能超过100个字符。
1621
1650
  */
1622
- Permission: string;
1651
+ DiskBackupName?: string;
1623
1652
  }
1624
1653
  /**
1625
1654
  * BindAutoSnapshotPolicy返回参数结构体