tencentcloud-sdk-nodejs-cbs 4.0.647 → 4.0.648
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +185 -0
- package/SERVICE_CHANGELOG.md +469 -332
- package/package.json +1 -1
- package/products.md +13 -13
- package/src/services/cbs/v20170312/cbs_client.ts +20 -51
- package/src/services/cbs/v20170312/cbs_models.ts +16 -165
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +10 -23
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +11 -28
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +16 -159
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-05-26 01:01:42 |
|
|
11
11
|
| ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2023-05-18 01:01:48 |
|
|
12
12
|
| anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 |
|
|
13
|
-
| antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/
|
|
13
|
+
| antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/297) | 2023-07-24 01:06:33 |
|
|
14
14
|
| apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
|
|
15
15
|
| ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
|
|
16
16
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-05-31 01:09:58 |
|
|
40
40
|
| casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-12-26 10:53:16 |
|
|
41
41
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-05-18 01:07:39 |
|
|
42
|
-
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-07-
|
|
42
|
+
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-07-24 01:12:51 |
|
|
43
43
|
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-06-30 01:11:07 |
|
|
44
|
-
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-07-
|
|
44
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-07-24 01:13:25 |
|
|
45
45
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-06-08 01:10:03 |
|
|
46
46
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-07-21 01:11:26 |
|
|
47
47
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-05-18 01:10:41 |
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-07-04 01:15:49 |
|
|
59
59
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2023-05-18 01:13:28 |
|
|
60
60
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2023-05-18 01:13:36 |
|
|
61
|
-
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2023-07-
|
|
61
|
+
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2023-07-24 01:17:40 |
|
|
62
62
|
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-07-20 01:17:22 |
|
|
63
63
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2023-07-21 01:14:51 |
|
|
64
64
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2023-05-18 01:14:51 |
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-06-28 01:18:44 |
|
|
81
81
|
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-07-21 01:20:29 |
|
|
82
82
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-07-10 01:22:33 |
|
|
83
|
-
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-07-
|
|
83
|
+
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-07-24 01:25:15 |
|
|
84
84
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-05-18 01:23:31 |
|
|
85
85
|
| ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2023-05-18 01:23:36 |
|
|
86
86
|
| dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-05-18 01:25:58 |
|
|
94
94
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-07-17 01:18:45 |
|
|
95
95
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-07-12 01:24:00 |
|
|
96
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-07-
|
|
96
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-07-24 01:28:01 |
|
|
97
97
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-07-21 01:23:53 |
|
|
98
98
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-07-11 01:24:18 |
|
|
99
99
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-07-21 01:24:16 |
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-07-18 01:40:17 |
|
|
148
148
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
149
149
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-07-17 01:29:44 |
|
|
150
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-07-
|
|
150
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-07-24 01:39:33 |
|
|
151
151
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-07-20 01:37:20 |
|
|
152
152
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-06-30 01:38:16 |
|
|
153
153
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-07-20 18:40:49 |
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
| tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2023-05-18 01:50:16 |
|
|
181
181
|
| tat | [自动化助手](https://cloud.tencent.com/document/product/1340) | 2023-06-15 01:34:24 |
|
|
182
182
|
| tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
|
|
183
|
-
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-07-
|
|
183
|
+
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-07-24 01:45:22 |
|
|
184
184
|
| tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
|
|
185
185
|
| tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2023-06-06 01:55:04 |
|
|
186
186
|
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-06-20 01:48:17 |
|
|
@@ -193,11 +193,11 @@
|
|
|
193
193
|
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2023-07-07 01:50:00 |
|
|
194
194
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-07-06 01:44:39 |
|
|
195
195
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-06-21 01:36:25 |
|
|
196
|
-
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-07-
|
|
196
|
+
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-07-24 01:49:20 |
|
|
197
197
|
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-07-17 01:38:17 |
|
|
198
198
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-05-18 01:55:50 |
|
|
199
199
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-05-22 02:01:01 |
|
|
200
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-07-
|
|
200
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-07-24 01:50:27 |
|
|
201
201
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-07-07 01:53:45 |
|
|
202
202
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
203
203
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-05-18 01:58:19 |
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
| tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
|
|
207
207
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-07-10 01:48:50 |
|
|
208
208
|
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-07-20 01:46:59 |
|
|
209
|
-
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-07-
|
|
209
|
+
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-07-24 01:52:09 |
|
|
210
210
|
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-07-21 01:45:01 |
|
|
211
211
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
212
212
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2023-05-18 02:01:07 |
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
| trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
|
|
216
216
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-07-10 01:51:20 |
|
|
217
217
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-07-18 01:53:24 |
|
|
218
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-07-
|
|
218
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-07-24 01:54:12 |
|
|
219
219
|
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-07-19 01:46:53 |
|
|
220
220
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-06-19 01:42:54 |
|
|
221
221
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 |
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2023-05-18 02:04:06 |
|
|
224
224
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-05-18 02:04:19 |
|
|
225
225
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-05-18 02:04:23 |
|
|
226
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-07-
|
|
226
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-07-24 01:56:16 |
|
|
227
227
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-07-21 01:49:21 |
|
|
228
228
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-07-18 01:58:58 |
|
|
229
229
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-07-21 01:50:55 |
|
|
@@ -17,14 +17,12 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
19
|
import {
|
|
20
|
-
SnapshotOperationLog,
|
|
21
20
|
ModifyDiskExtraPerformanceRequest,
|
|
22
21
|
ModifyDiskAttributesResponse,
|
|
23
22
|
DescribeDiskBackupsRequest,
|
|
24
23
|
AutoSnapshotPolicy,
|
|
25
24
|
DetailPrice,
|
|
26
|
-
|
|
27
|
-
ModifySnapshotsSharePermissionRequest,
|
|
25
|
+
CreateDiskBackupRequest,
|
|
28
26
|
CopySnapshotCrossRegionsResponse,
|
|
29
27
|
ModifyAutoSnapshotPolicyAttributeResponse,
|
|
30
28
|
ModifyDiskBackupQuotaRequest,
|
|
@@ -35,7 +33,6 @@ import {
|
|
|
35
33
|
ModifySnapshotsSharePermissionResponse,
|
|
36
34
|
DeleteDiskBackupsRequest,
|
|
37
35
|
InitializeDisksResponse,
|
|
38
|
-
DeleteDiskBackupsResponse,
|
|
39
36
|
DescribeDiskStoragePoolRequest,
|
|
40
37
|
DescribeDiskBackupsResponse,
|
|
41
38
|
SnapshotCopyResult,
|
|
@@ -64,7 +61,7 @@ import {
|
|
|
64
61
|
InquiryPriceRenewDisksRequest,
|
|
65
62
|
DescribeSnapshotSharePermissionRequest,
|
|
66
63
|
InquirePriceModifyDiskBackupQuotaRequest,
|
|
67
|
-
|
|
64
|
+
DeleteDiskBackupsResponse,
|
|
68
65
|
DeleteSnapshotsRequest,
|
|
69
66
|
ModifyDisksRenewFlagResponse,
|
|
70
67
|
DeleteAutoSnapshotPoliciesResponse,
|
|
@@ -79,7 +76,6 @@ import {
|
|
|
79
76
|
TerminateDisksRequest,
|
|
80
77
|
CdcSize,
|
|
81
78
|
DescribeInstancesDiskNumResponse,
|
|
82
|
-
DescribeDiskOperationLogsResponse,
|
|
83
79
|
ResizeDiskRequest,
|
|
84
80
|
ApplyDiskBackupRequest,
|
|
85
81
|
ModifyDisksChargeTypeRequest,
|
|
@@ -98,10 +94,8 @@ import {
|
|
|
98
94
|
Snapshot,
|
|
99
95
|
CreateDisksResponse,
|
|
100
96
|
AttachDisksResponse,
|
|
101
|
-
|
|
102
|
-
DiskOperationLog,
|
|
97
|
+
ModifySnapshotsSharePermissionRequest,
|
|
103
98
|
BindAutoSnapshotPolicyResponse,
|
|
104
|
-
DescribeDiskOperationLogsRequest,
|
|
105
99
|
DiskBackup,
|
|
106
100
|
DescribeDisksRequest,
|
|
107
101
|
DetachDisksResponse,
|
|
@@ -315,18 +309,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
315
309
|
return this.request("DescribeDiskBackups", req, cb)
|
|
316
310
|
}
|
|
317
311
|
|
|
318
|
-
/**
|
|
319
|
-
* 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
|
|
320
|
-
|
|
321
|
-
查询云盘操作日志功能已迁移至LookUpEvents接口(https://cloud.tencent.com/document/product/629/12359),本接口(DescribeDiskOperationLogs)即将下线,后续不再提供调用,请知悉。
|
|
322
|
-
*/
|
|
323
|
-
async DescribeDiskOperationLogs(
|
|
324
|
-
req: DescribeDiskOperationLogsRequest,
|
|
325
|
-
cb?: (error: string, rep: DescribeDiskOperationLogsResponse) => void
|
|
326
|
-
): Promise<DescribeDiskOperationLogsResponse> {
|
|
327
|
-
return this.request("DescribeDiskOperationLogs", req, cb)
|
|
328
|
-
}
|
|
329
|
-
|
|
330
312
|
/**
|
|
331
313
|
* 本接口(DeleteAutoSnapshotPolicies)用于删除定期快照策略。
|
|
332
314
|
|
|
@@ -574,19 +556,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
574
556
|
return this.request("ApplySnapshot", req, cb)
|
|
575
557
|
}
|
|
576
558
|
|
|
577
|
-
/**
|
|
578
|
-
* 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
|
|
579
|
-
|
|
580
|
-
查询快照操作日志功能已迁移至LookUpEvents接口(https://cloud.tencent.com/document/product/629/12359),本接口(DescribeSnapshotOperationLogs)即将下线,后续不再提供调用,请知悉。
|
|
581
|
-
|
|
582
|
-
*/
|
|
583
|
-
async DescribeSnapshotOperationLogs(
|
|
584
|
-
req: DescribeSnapshotOperationLogsRequest,
|
|
585
|
-
cb?: (error: string, rep: DescribeSnapshotOperationLogsResponse) => void
|
|
586
|
-
): Promise<DescribeSnapshotOperationLogsResponse> {
|
|
587
|
-
return this.request("DescribeSnapshotOperationLogs", req, cb)
|
|
588
|
-
}
|
|
589
|
-
|
|
590
559
|
/**
|
|
591
560
|
* 本接口(ModifySnapshotsSharePermission)用于修改快照分享信息。
|
|
592
561
|
|
|
@@ -604,16 +573,17 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
604
573
|
}
|
|
605
574
|
|
|
606
575
|
/**
|
|
607
|
-
* 本接口(
|
|
576
|
+
* 本接口(CreateSnapshot)用于对指定云盘创建快照。
|
|
608
577
|
|
|
609
|
-
*
|
|
610
|
-
*
|
|
578
|
+
* 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
|
|
579
|
+
* 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)。
|
|
580
|
+
* 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
|
|
611
581
|
*/
|
|
612
|
-
async
|
|
613
|
-
req:
|
|
614
|
-
cb?: (error: string, rep:
|
|
615
|
-
): Promise<
|
|
616
|
-
return this.request("
|
|
582
|
+
async CreateSnapshot(
|
|
583
|
+
req: CreateSnapshotRequest,
|
|
584
|
+
cb?: (error: string, rep: CreateSnapshotResponse) => void
|
|
585
|
+
): Promise<CreateSnapshotResponse> {
|
|
586
|
+
return this.request("CreateSnapshot", req, cb)
|
|
617
587
|
}
|
|
618
588
|
|
|
619
589
|
/**
|
|
@@ -640,17 +610,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
640
610
|
}
|
|
641
611
|
|
|
642
612
|
/**
|
|
643
|
-
* 本接口(
|
|
613
|
+
* 本接口(DetachDisks)用于卸载云硬盘。
|
|
644
614
|
|
|
645
|
-
*
|
|
646
|
-
*
|
|
647
|
-
* 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
|
|
615
|
+
* 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
|
|
616
|
+
* 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
|
|
648
617
|
*/
|
|
649
|
-
async
|
|
650
|
-
req:
|
|
651
|
-
cb?: (error: string, rep:
|
|
652
|
-
): Promise<
|
|
653
|
-
return this.request("
|
|
618
|
+
async DetachDisks(
|
|
619
|
+
req: DetachDisksRequest,
|
|
620
|
+
cb?: (error: string, rep: DetachDisksResponse) => void
|
|
621
|
+
): Promise<DetachDisksResponse> {
|
|
622
|
+
return this.request("DetachDisks", req, cb)
|
|
654
623
|
}
|
|
655
624
|
|
|
656
625
|
/**
|
|
@@ -15,47 +15,6 @@
|
|
|
15
15
|
* under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
/**
|
|
19
|
-
* 快照操作日志,已废弃。
|
|
20
|
-
*/
|
|
21
|
-
export interface SnapshotOperationLog {
|
|
22
|
-
/**
|
|
23
|
-
* 操作的状态。取值范围:
|
|
24
|
-
SUCCESS :表示操作成功
|
|
25
|
-
FAILED :表示操作失败
|
|
26
|
-
PROCESSING :表示操作中。
|
|
27
|
-
*/
|
|
28
|
-
OperationState: string
|
|
29
|
-
/**
|
|
30
|
-
* 开始时间。
|
|
31
|
-
*/
|
|
32
|
-
StartTime: string
|
|
33
|
-
/**
|
|
34
|
-
* 操作者的UIN。
|
|
35
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
36
|
-
*/
|
|
37
|
-
Operator: string
|
|
38
|
-
/**
|
|
39
|
-
* 操作的快照ID。
|
|
40
|
-
*/
|
|
41
|
-
SnapshotId: string
|
|
42
|
-
/**
|
|
43
|
-
* 操作类型。取值范围:
|
|
44
|
-
SNAP_OPERATION_DELETE:删除快照
|
|
45
|
-
SNAP_OPERATION_ROLLBACK:回滚快照
|
|
46
|
-
SNAP_OPERATION_MODIFY:修改快照属性
|
|
47
|
-
SNAP_OPERATION_CREATE:创建快照
|
|
48
|
-
SNAP_OPERATION_COPY:跨地域复制快照
|
|
49
|
-
ASP_OPERATION_CREATE_SNAP:由定期快照策略创建快照
|
|
50
|
-
ASP_OPERATION_DELETE_SNAP:由定期快照策略删除快照
|
|
51
|
-
*/
|
|
52
|
-
Operation: string
|
|
53
|
-
/**
|
|
54
|
-
* 结束时间。
|
|
55
|
-
*/
|
|
56
|
-
EndTime: string
|
|
57
|
-
}
|
|
58
|
-
|
|
59
18
|
/**
|
|
60
19
|
* ModifyDiskExtraPerformance请求参数结构体
|
|
61
20
|
*/
|
|
@@ -259,40 +218,17 @@ export interface DetailPrice {
|
|
|
259
218
|
}
|
|
260
219
|
|
|
261
220
|
/**
|
|
262
|
-
*
|
|
263
|
-
*/
|
|
264
|
-
export interface DescribeSnapshotOperationLogsRequest {
|
|
265
|
-
/**
|
|
266
|
-
* 过滤条件。支持以下条件:
|
|
267
|
-
<li>snapshot-id - Array of String - 是否必填:是 - 按快照ID过滤,每个请求最多可指定10个快照ID。
|
|
268
|
-
*/
|
|
269
|
-
Filters: Array<Filter>
|
|
270
|
-
/**
|
|
271
|
-
* 要查询的操作日志的截止时间,例如:“2019-11-22 23:59:59"
|
|
272
|
-
*/
|
|
273
|
-
EndTime?: string
|
|
274
|
-
/**
|
|
275
|
-
* 要查询的操作日志的起始时间,例如:“2019-11-22 00:00:00"
|
|
276
|
-
*/
|
|
277
|
-
BeginTime?: string
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* ModifySnapshotsSharePermission请求参数结构体
|
|
221
|
+
* CreateDiskBackup请求参数结构体
|
|
282
222
|
*/
|
|
283
|
-
export interface
|
|
284
|
-
/**
|
|
285
|
-
* 快照ID, 可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647)查询获取。
|
|
286
|
-
*/
|
|
287
|
-
SnapshotIds: Array<string>
|
|
223
|
+
export interface CreateDiskBackupRequest {
|
|
288
224
|
/**
|
|
289
|
-
*
|
|
225
|
+
* 要创建备份点的云硬盘名称。
|
|
290
226
|
*/
|
|
291
|
-
|
|
227
|
+
DiskId: string
|
|
292
228
|
/**
|
|
293
|
-
*
|
|
229
|
+
* 云硬盘备份点名称。长度不能超过100个字符。
|
|
294
230
|
*/
|
|
295
|
-
|
|
231
|
+
DiskBackupName?: string
|
|
296
232
|
}
|
|
297
233
|
|
|
298
234
|
/**
|
|
@@ -436,16 +372,6 @@ export interface InitializeDisksResponse {
|
|
|
436
372
|
RequestId?: string
|
|
437
373
|
}
|
|
438
374
|
|
|
439
|
-
/**
|
|
440
|
-
* DeleteDiskBackups返回参数结构体
|
|
441
|
-
*/
|
|
442
|
-
export interface DeleteDiskBackupsResponse {
|
|
443
|
-
/**
|
|
444
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
445
|
-
*/
|
|
446
|
-
RequestId?: string
|
|
447
|
-
}
|
|
448
|
-
|
|
449
375
|
/**
|
|
450
376
|
* DescribeDiskStoragePool请求参数结构体
|
|
451
377
|
*/
|
|
@@ -1133,13 +1059,9 @@ export interface InquirePriceModifyDiskBackupQuotaRequest {
|
|
|
1133
1059
|
}
|
|
1134
1060
|
|
|
1135
1061
|
/**
|
|
1136
|
-
*
|
|
1062
|
+
* DeleteDiskBackups返回参数结构体
|
|
1137
1063
|
*/
|
|
1138
|
-
export interface
|
|
1139
|
-
/**
|
|
1140
|
-
* 快照操作日志列表。
|
|
1141
|
-
*/
|
|
1142
|
-
SnapshotOperationLogSet: Array<SnapshotOperationLog>
|
|
1064
|
+
export interface DeleteDiskBackupsResponse {
|
|
1143
1065
|
/**
|
|
1144
1066
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1145
1067
|
*/
|
|
@@ -1365,20 +1287,6 @@ export interface DescribeInstancesDiskNumResponse {
|
|
|
1365
1287
|
RequestId?: string
|
|
1366
1288
|
}
|
|
1367
1289
|
|
|
1368
|
-
/**
|
|
1369
|
-
* DescribeDiskOperationLogs返回参数结构体
|
|
1370
|
-
*/
|
|
1371
|
-
export interface DescribeDiskOperationLogsResponse {
|
|
1372
|
-
/**
|
|
1373
|
-
* 云盘的操作日志列表。
|
|
1374
|
-
*/
|
|
1375
|
-
DiskOperationLogSet: Array<DiskOperationLog>
|
|
1376
|
-
/**
|
|
1377
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1378
|
-
*/
|
|
1379
|
-
RequestId?: string
|
|
1380
|
-
}
|
|
1381
|
-
|
|
1382
1290
|
/**
|
|
1383
1291
|
* ResizeDisk请求参数结构体
|
|
1384
1292
|
*/
|
|
@@ -1786,59 +1694,21 @@ export interface AttachDisksResponse {
|
|
|
1786
1694
|
}
|
|
1787
1695
|
|
|
1788
1696
|
/**
|
|
1789
|
-
*
|
|
1790
|
-
*/
|
|
1791
|
-
export interface CreateDiskBackupRequest {
|
|
1792
|
-
/**
|
|
1793
|
-
* 要创建备份点的云硬盘名称。
|
|
1794
|
-
*/
|
|
1795
|
-
DiskId: string
|
|
1796
|
-
/**
|
|
1797
|
-
* 云硬盘备份点名称。长度不能超过100个字符。
|
|
1798
|
-
*/
|
|
1799
|
-
DiskBackupName?: string
|
|
1800
|
-
}
|
|
1801
|
-
|
|
1802
|
-
/**
|
|
1803
|
-
* 云盘操作日志。
|
|
1697
|
+
* ModifySnapshotsSharePermission请求参数结构体
|
|
1804
1698
|
*/
|
|
1805
|
-
export interface
|
|
1806
|
-
/**
|
|
1807
|
-
* 操作的状态。取值范围:
|
|
1808
|
-
SUCCESS :表示操作成功
|
|
1809
|
-
FAILED :表示操作失败
|
|
1810
|
-
PROCESSING :表示操作中。
|
|
1811
|
-
*/
|
|
1812
|
-
OperationState: string
|
|
1813
|
-
/**
|
|
1814
|
-
* 开始时间。
|
|
1815
|
-
*/
|
|
1816
|
-
StartTime: string
|
|
1817
|
-
/**
|
|
1818
|
-
* 操作者的UIN。
|
|
1819
|
-
*/
|
|
1820
|
-
Operator: string
|
|
1699
|
+
export interface ModifySnapshotsSharePermissionRequest {
|
|
1821
1700
|
/**
|
|
1822
|
-
*
|
|
1823
|
-
CBS_OPERATION_ATTACH:挂载云硬盘
|
|
1824
|
-
CBS_OPERATION_DETACH:解挂云硬盘
|
|
1825
|
-
CBS_OPERATION_RENEW:续费
|
|
1826
|
-
CBS_OPERATION_EXPAND:扩容
|
|
1827
|
-
CBS_OPERATION_CREATE:创建
|
|
1828
|
-
CBS_OPERATION_ISOLATE:隔离
|
|
1829
|
-
CBS_OPERATION_MODIFY:修改云硬盘属性
|
|
1830
|
-
ASP_OPERATION_BIND:关联定期快照策略
|
|
1831
|
-
ASP_OPERATION_UNBIND:取消关联定期快照策略
|
|
1701
|
+
* 快照ID, 可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647)查询获取。
|
|
1832
1702
|
*/
|
|
1833
|
-
|
|
1703
|
+
SnapshotIds: Array<string>
|
|
1834
1704
|
/**
|
|
1835
|
-
*
|
|
1705
|
+
* 接收分享快照的账号Id列表,array型参数的格式可以参考[API简介](https://cloud.tencent.com/document/api/213/568)。帐号ID不同于QQ号,查询用户帐号ID请查看[帐号信息](https://console.cloud.tencent.com/developer)中的帐号ID栏。
|
|
1836
1706
|
*/
|
|
1837
|
-
|
|
1707
|
+
AccountIds: Array<string>
|
|
1838
1708
|
/**
|
|
1839
|
-
*
|
|
1709
|
+
* 操作,包括 SHARE,CANCEL。其中SHARE代表分享操作,CANCEL代表取消分享操作。
|
|
1840
1710
|
*/
|
|
1841
|
-
|
|
1711
|
+
Permission: string
|
|
1842
1712
|
}
|
|
1843
1713
|
|
|
1844
1714
|
/**
|
|
@@ -1851,25 +1721,6 @@ export interface BindAutoSnapshotPolicyResponse {
|
|
|
1851
1721
|
RequestId?: string
|
|
1852
1722
|
}
|
|
1853
1723
|
|
|
1854
|
-
/**
|
|
1855
|
-
* DescribeDiskOperationLogs请求参数结构体
|
|
1856
|
-
*/
|
|
1857
|
-
export interface DescribeDiskOperationLogsRequest {
|
|
1858
|
-
/**
|
|
1859
|
-
* 过滤条件。支持以下条件:
|
|
1860
|
-
<li>disk-id - Array of String - 是否必填:是 - 按云盘ID过滤,每个请求最多可指定10个云盘ID。
|
|
1861
|
-
*/
|
|
1862
|
-
Filters: Array<Filter>
|
|
1863
|
-
/**
|
|
1864
|
-
* 要查询的操作日志的截止时间,例如:“2019-11-22 23:59:59"
|
|
1865
|
-
*/
|
|
1866
|
-
EndTime?: string
|
|
1867
|
-
/**
|
|
1868
|
-
* 要查询的操作日志的起始时间,例如:“2019-11-22 00:00:00"
|
|
1869
|
-
*/
|
|
1870
|
-
BeginTime?: string
|
|
1871
|
-
}
|
|
1872
|
-
|
|
1873
1724
|
/**
|
|
1874
1725
|
* 云硬盘备份点。
|
|
1875
1726
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { ModifyDiskExtraPerformanceRequest, ModifyDiskAttributesResponse, DescribeDiskBackupsRequest,
|
|
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";
|
|
3
3
|
/**
|
|
4
4
|
* cbs client
|
|
5
5
|
* @class
|
|
@@ -94,12 +94,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
94
94
|
如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的备份点列表。
|
|
95
95
|
*/
|
|
96
96
|
DescribeDiskBackups(req: DescribeDiskBackupsRequest, cb?: (error: string, rep: DescribeDiskBackupsResponse) => void): Promise<DescribeDiskBackupsResponse>;
|
|
97
|
-
/**
|
|
98
|
-
* 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
|
|
99
|
-
|
|
100
|
-
查询云盘操作日志功能已迁移至LookUpEvents接口(https://cloud.tencent.com/document/product/629/12359),本接口(DescribeDiskOperationLogs)即将下线,后续不再提供调用,请知悉。
|
|
101
|
-
*/
|
|
102
|
-
DescribeDiskOperationLogs(req: DescribeDiskOperationLogsRequest, cb?: (error: string, rep: DescribeDiskOperationLogsResponse) => void): Promise<DescribeDiskOperationLogsResponse>;
|
|
103
97
|
/**
|
|
104
98
|
* 本接口(DeleteAutoSnapshotPolicies)用于删除定期快照策略。
|
|
105
99
|
|
|
@@ -227,13 +221,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
227
221
|
* 如果是弹性云盘,则云盘必须处于未挂载状态,云硬盘挂载状态可以通过[DescribeDisks](/document/product/362/16315)接口查询,见Attached字段解释;如果是随实例一起购买的非弹性云盘,则实例必须处于关机状态,实例状态可以通过[DescribeInstancesStatus](/document/product/213/15738)接口查询。
|
|
228
222
|
*/
|
|
229
223
|
ApplySnapshot(req: ApplySnapshotRequest, cb?: (error: string, rep: ApplySnapshotResponse) => void): Promise<ApplySnapshotResponse>;
|
|
230
|
-
/**
|
|
231
|
-
* 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
|
|
232
|
-
|
|
233
|
-
查询快照操作日志功能已迁移至LookUpEvents接口(https://cloud.tencent.com/document/product/629/12359),本接口(DescribeSnapshotOperationLogs)即将下线,后续不再提供调用,请知悉。
|
|
234
|
-
|
|
235
|
-
*/
|
|
236
|
-
DescribeSnapshotOperationLogs(req: DescribeSnapshotOperationLogsRequest, cb?: (error: string, rep: DescribeSnapshotOperationLogsResponse) => void): Promise<DescribeSnapshotOperationLogsResponse>;
|
|
237
224
|
/**
|
|
238
225
|
* 本接口(ModifySnapshotsSharePermission)用于修改快照分享信息。
|
|
239
226
|
|
|
@@ -245,12 +232,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
245
232
|
*/
|
|
246
233
|
ModifySnapshotsSharePermission(req: ModifySnapshotsSharePermissionRequest, cb?: (error: string, rep: ModifySnapshotsSharePermissionResponse) => void): Promise<ModifySnapshotsSharePermissionResponse>;
|
|
247
234
|
/**
|
|
248
|
-
* 本接口(
|
|
235
|
+
* 本接口(CreateSnapshot)用于对指定云盘创建快照。
|
|
249
236
|
|
|
250
|
-
*
|
|
251
|
-
*
|
|
237
|
+
* 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
|
|
238
|
+
* 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)。
|
|
239
|
+
* 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
|
|
252
240
|
*/
|
|
253
|
-
|
|
241
|
+
CreateSnapshot(req: CreateSnapshotRequest, cb?: (error: string, rep: CreateSnapshotResponse) => void): Promise<CreateSnapshotResponse>;
|
|
254
242
|
/**
|
|
255
243
|
* 获取快照概览信息
|
|
256
244
|
*/
|
|
@@ -263,13 +251,12 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
263
251
|
*/
|
|
264
252
|
ResizeDisk(req: ResizeDiskRequest, cb?: (error: string, rep: ResizeDiskResponse) => void): Promise<ResizeDiskResponse>;
|
|
265
253
|
/**
|
|
266
|
-
* 本接口(
|
|
254
|
+
* 本接口(DetachDisks)用于卸载云硬盘。
|
|
267
255
|
|
|
268
|
-
*
|
|
269
|
-
*
|
|
270
|
-
* 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
|
|
256
|
+
* 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
|
|
257
|
+
* 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
|
|
271
258
|
*/
|
|
272
|
-
|
|
259
|
+
DetachDisks(req: DetachDisksRequest, cb?: (error: string, rep: DetachDisksResponse) => void): Promise<DetachDisksResponse>;
|
|
273
260
|
/**
|
|
274
261
|
* 本接口(InquiryPriceRenewDisks)用于续费云硬盘询价。
|
|
275
262
|
|
|
@@ -145,14 +145,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
145
145
|
async DescribeDiskBackups(req, cb) {
|
|
146
146
|
return this.request("DescribeDiskBackups", req, cb);
|
|
147
147
|
}
|
|
148
|
-
/**
|
|
149
|
-
* 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
|
|
150
|
-
|
|
151
|
-
查询云盘操作日志功能已迁移至LookUpEvents接口(https://cloud.tencent.com/document/product/629/12359),本接口(DescribeDiskOperationLogs)即将下线,后续不再提供调用,请知悉。
|
|
152
|
-
*/
|
|
153
|
-
async DescribeDiskOperationLogs(req, cb) {
|
|
154
|
-
return this.request("DescribeDiskOperationLogs", req, cb);
|
|
155
|
-
}
|
|
156
148
|
/**
|
|
157
149
|
* 本接口(DeleteAutoSnapshotPolicies)用于删除定期快照策略。
|
|
158
150
|
|
|
@@ -320,15 +312,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
320
312
|
async ApplySnapshot(req, cb) {
|
|
321
313
|
return this.request("ApplySnapshot", req, cb);
|
|
322
314
|
}
|
|
323
|
-
/**
|
|
324
|
-
* 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
|
|
325
|
-
|
|
326
|
-
查询快照操作日志功能已迁移至LookUpEvents接口(https://cloud.tencent.com/document/product/629/12359),本接口(DescribeSnapshotOperationLogs)即将下线,后续不再提供调用,请知悉。
|
|
327
|
-
|
|
328
|
-
*/
|
|
329
|
-
async DescribeSnapshotOperationLogs(req, cb) {
|
|
330
|
-
return this.request("DescribeSnapshotOperationLogs", req, cb);
|
|
331
|
-
}
|
|
332
315
|
/**
|
|
333
316
|
* 本接口(ModifySnapshotsSharePermission)用于修改快照分享信息。
|
|
334
317
|
|
|
@@ -342,13 +325,14 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
342
325
|
return this.request("ModifySnapshotsSharePermission", req, cb);
|
|
343
326
|
}
|
|
344
327
|
/**
|
|
345
|
-
* 本接口(
|
|
328
|
+
* 本接口(CreateSnapshot)用于对指定云盘创建快照。
|
|
346
329
|
|
|
347
|
-
*
|
|
348
|
-
*
|
|
330
|
+
* 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
|
|
331
|
+
* 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)。
|
|
332
|
+
* 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
|
|
349
333
|
*/
|
|
350
|
-
async
|
|
351
|
-
return this.request("
|
|
334
|
+
async CreateSnapshot(req, cb) {
|
|
335
|
+
return this.request("CreateSnapshot", req, cb);
|
|
352
336
|
}
|
|
353
337
|
/**
|
|
354
338
|
* 获取快照概览信息
|
|
@@ -366,14 +350,13 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
366
350
|
return this.request("ResizeDisk", req, cb);
|
|
367
351
|
}
|
|
368
352
|
/**
|
|
369
|
-
* 本接口(
|
|
353
|
+
* 本接口(DetachDisks)用于卸载云硬盘。
|
|
370
354
|
|
|
371
|
-
*
|
|
372
|
-
*
|
|
373
|
-
* 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
|
|
355
|
+
* 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
|
|
356
|
+
* 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
|
|
374
357
|
*/
|
|
375
|
-
async
|
|
376
|
-
return this.request("
|
|
358
|
+
async DetachDisks(req, cb) {
|
|
359
|
+
return this.request("DetachDisks", req, cb);
|
|
377
360
|
}
|
|
378
361
|
/**
|
|
379
362
|
* 本接口(InquiryPriceRenewDisks)用于续费云硬盘询价。
|