tencentcloud-sdk-nodejs-cbs 4.0.258 → 4.0.259
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 +422 -96
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/services/cbs/v20170312/cbs_client.ts +6 -5
- package/src/services/cbs/v20170312/cbs_models.ts +112 -87
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +95 -74
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
| btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2021-11-10 08:03:08 |
|
|
30
30
|
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2021-12-16 08:05:15 |
|
|
31
31
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2021-12-03 08:02:43 |
|
|
32
|
-
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2021-12-
|
|
33
|
-
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2021-
|
|
32
|
+
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2021-12-16 17:16:49 |
|
|
33
|
+
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2021-12-17 08:07:31 |
|
|
34
34
|
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2021-12-10 08:02:29 |
|
|
35
35
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2021-12-02 08:03:37 |
|
|
36
|
-
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2021-12-
|
|
36
|
+
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2021-12-17 08:07:56 |
|
|
37
37
|
| cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2021-11-10 08:03:57 |
|
|
38
38
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2021-12-06 08:02:54 |
|
|
39
39
|
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2021-12-01 08:04:35 |
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2021-12-14 08:07:15 |
|
|
46
46
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2021-11-16 08:07:51 |
|
|
47
47
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2021-11-10 08:04:28 |
|
|
48
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2021-12-
|
|
48
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2021-12-17 08:08:49 |
|
|
49
49
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2021-12-14 08:07:36 |
|
|
50
50
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2021-11-10 08:04:45 |
|
|
51
51
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2021-11-10 08:05:47 |
|
|
59
59
|
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2021-12-15 08:06:44 |
|
|
60
60
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2021-11-10 08:06:00 |
|
|
61
|
-
| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2021-12-
|
|
62
|
-
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2021-
|
|
63
|
-
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2021-12-
|
|
61
|
+
| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2021-12-17 08:10:31 |
|
|
62
|
+
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2021-12-17 08:10:39 |
|
|
63
|
+
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2021-12-17 08:10:50 |
|
|
64
64
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2021-12-06 08:05:24 |
|
|
65
65
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2021-11-10 08:06:23 |
|
|
66
66
|
| ds | [电子合同服务](https://cloud.tencent.com/document/product/869) | 2021-11-10 08:06:24 |
|
|
@@ -98,10 +98,10 @@
|
|
|
98
98
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2021-12-16 08:10:46 |
|
|
99
99
|
| ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2021-11-30 14:56:41 |
|
|
100
100
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2021-11-29 08:10:07 |
|
|
101
|
-
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2021-12-
|
|
101
|
+
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2021-12-17 08:13:20 |
|
|
102
102
|
| live | [云直播](https://cloud.tencent.com/document/product/267) | 2021-12-15 08:10:09 |
|
|
103
103
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2021-11-10 08:08:46 |
|
|
104
|
-
| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2021-
|
|
104
|
+
| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2021-12-17 08:13:52 |
|
|
105
105
|
| market | [云市场](https://cloud.tencent.com/document/product/306) | 2021-11-10 08:08:54 |
|
|
106
106
|
| memcached | [云数据库 Memcached](https://cloud.tencent.com/document/product) | 2020-08-24 08:07:49 |
|
|
107
107
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2021-11-10 08:08:55 |
|
|
@@ -127,13 +127,13 @@
|
|
|
127
127
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2021-11-10 08:10:03 |
|
|
128
128
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2021-11-10 08:10:04 |
|
|
129
129
|
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2021-12-16 08:13:07 |
|
|
130
|
-
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2021-12-
|
|
130
|
+
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2021-12-17 08:15:19 |
|
|
131
131
|
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2021-11-26 08:12:29 |
|
|
132
132
|
| smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2021-11-10 08:10:15 |
|
|
133
133
|
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2021-12-16 08:13:20 |
|
|
134
134
|
| soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2021-11-18 08:11:34 |
|
|
135
135
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
136
|
-
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2021-
|
|
136
|
+
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2021-12-17 08:15:35 |
|
|
137
137
|
| ssa | [态势感知](https://cloud.tencent.com/document/product/664) | 2021-11-22 08:10:13 |
|
|
138
138
|
| ssl | [证书](https://cloud.tencent.com/document/product/400) | 2021-12-08 08:14:38 |
|
|
139
139
|
| sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2021-11-10 08:10:37 |
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2021-11-10 08:11:24 |
|
|
157
157
|
| tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2021-12-14 08:15:22 |
|
|
158
158
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2021-12-09 08:11:43 |
|
|
159
|
-
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2021-12-
|
|
159
|
+
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2021-12-17 08:17:26 |
|
|
160
160
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
161
161
|
| tic | [腾讯云IaC平台](https://cloud.tencent.com/document/product/1213) | 2021-11-10 08:11:35 |
|
|
162
162
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2021-12-16 08:15:16 |
|
|
166
166
|
| tione | [智能钛机器学习平台](https://cloud.tencent.com/document/product/851) | 2021-11-10 08:11:45 |
|
|
167
167
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2021-12-15 08:14:01 |
|
|
168
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2021-12-
|
|
168
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2021-12-17 08:17:44 |
|
|
169
169
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
170
170
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2021-11-10 08:12:05 |
|
|
171
171
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2021-11-10 08:12:05 |
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2021-11-10 08:12:36 |
|
|
179
179
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2021-11-10 08:12:38 |
|
|
180
180
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2021-12-13 08:15:55 |
|
|
181
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2021-12-
|
|
181
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2021-12-17 08:18:55 |
|
|
182
182
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2021-12-02 08:14:23 |
|
|
183
183
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2021-11-10 08:13:30 |
|
|
184
184
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
@@ -19,7 +19,7 @@ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
|
19
19
|
import {
|
|
20
20
|
ModifyDiskExtraPerformanceRequest,
|
|
21
21
|
RenewDiskRequest,
|
|
22
|
-
|
|
22
|
+
AutoSnapshotPolicy,
|
|
23
23
|
DescribeSnapshotOperationLogsRequest,
|
|
24
24
|
ModifyAutoSnapshotPolicyAttributeResponse,
|
|
25
25
|
InquiryPriceCreateDisksResponse,
|
|
@@ -35,13 +35,14 @@ import {
|
|
|
35
35
|
AttachDisksRequest,
|
|
36
36
|
DescribeDiskAssociatedAutoSnapshotPolicyRequest,
|
|
37
37
|
DescribeSnapshotsRequest,
|
|
38
|
-
|
|
38
|
+
ModifyAutoSnapshotPolicyAttributeRequest,
|
|
39
39
|
DescribeDiskConfigQuotaResponse,
|
|
40
40
|
InquiryPriceResizeDiskResponse,
|
|
41
41
|
Tag,
|
|
42
42
|
ResizeDiskResponse,
|
|
43
43
|
Disk,
|
|
44
|
-
|
|
44
|
+
TerminateDisksResponse,
|
|
45
|
+
ApplySnapshotResponse,
|
|
45
46
|
DetachDisksRequest,
|
|
46
47
|
ModifyDisksChargeTypeResponse,
|
|
47
48
|
CreateSnapshotRequest,
|
|
@@ -77,7 +78,7 @@ import {
|
|
|
77
78
|
DescribeSnapshotsResponse,
|
|
78
79
|
Snapshot,
|
|
79
80
|
CreateDisksResponse,
|
|
80
|
-
|
|
81
|
+
AttachDisksResponse,
|
|
81
82
|
ModifySnapshotsSharePermissionRequest,
|
|
82
83
|
DiskOperationLog,
|
|
83
84
|
BindAutoSnapshotPolicyResponse,
|
|
@@ -94,7 +95,7 @@ import {
|
|
|
94
95
|
DescribeDiskConfigQuotaRequest,
|
|
95
96
|
DescribeDiskAssociatedAutoSnapshotPolicyResponse,
|
|
96
97
|
GetSnapOverviewResponse,
|
|
97
|
-
|
|
98
|
+
AutoMountConfiguration,
|
|
98
99
|
ModifySnapshotAttributeResponse,
|
|
99
100
|
PrepayPrice,
|
|
100
101
|
RenewDiskResponse,
|
|
@@ -46,13 +46,58 @@ export interface RenewDiskRequest {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* 描述了定期快照策略的详细信息
|
|
50
50
|
*/
|
|
51
|
-
export interface
|
|
51
|
+
export interface AutoSnapshotPolicy {
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* 定期快照策略ID。
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
AutoSnapshotPolicyId?: string
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* 定期快照策略名称。
|
|
59
|
+
*/
|
|
60
|
+
AutoSnapshotPolicyName?: string
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* 定期快照策略的状态。取值范围:<br><li>NORMAL:正常<br><li>ISOLATED:已隔离。
|
|
64
|
+
*/
|
|
65
|
+
AutoSnapshotPolicyState?: string
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* 定期快照策略是否激活。
|
|
69
|
+
*/
|
|
70
|
+
IsActivated?: boolean
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* 使用该定期快照策略创建出来的快照是否永久保留。
|
|
74
|
+
*/
|
|
75
|
+
IsPermanent?: boolean
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* 使用该定期快照策略创建出来的快照保留天数。
|
|
79
|
+
*/
|
|
80
|
+
RetentionDays?: number
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* 定期快照策略的创建时间。
|
|
84
|
+
*/
|
|
85
|
+
CreateTime?: string
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* 定期快照下次触发的时间。
|
|
89
|
+
*/
|
|
90
|
+
NextTriggerTime?: string
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* 定期快照的执行策略。
|
|
94
|
+
*/
|
|
95
|
+
Policy?: Array<Policy>
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* 已绑定当前定期快照策略的云盘ID列表。
|
|
99
|
+
*/
|
|
100
|
+
DiskIdSet?: Array<string>
|
|
56
101
|
}
|
|
57
102
|
|
|
58
103
|
/**
|
|
@@ -345,6 +390,11 @@ export interface CreateDisksRequest {
|
|
|
345
390
|
* 销毁云盘时删除关联的非永久保留快照。0 表示非永久快照不随云盘销毁而销毁,1表示非永久快照随云盘销毁而销毁,默认取0。快照是否永久保留可以通过DescribeSnapshots接口返回的快照详情的IsPermanent字段来判断,true表示永久快照,false表示非永久快照。
|
|
346
391
|
*/
|
|
347
392
|
DeleteSnapshot?: number
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* 创建云盘时指定自动挂载并初始化该数据盘。
|
|
396
|
+
*/
|
|
397
|
+
AutoMountConfiguration?: AutoMountConfiguration
|
|
348
398
|
}
|
|
349
399
|
|
|
350
400
|
/**
|
|
@@ -420,13 +470,38 @@ export interface DescribeSnapshotsRequest {
|
|
|
420
470
|
}
|
|
421
471
|
|
|
422
472
|
/**
|
|
423
|
-
*
|
|
473
|
+
* ModifyAutoSnapshotPolicyAttribute请求参数结构体
|
|
424
474
|
*/
|
|
425
|
-
export interface
|
|
475
|
+
export interface ModifyAutoSnapshotPolicyAttributeRequest {
|
|
426
476
|
/**
|
|
427
|
-
*
|
|
477
|
+
* 定期快照策略ID。
|
|
428
478
|
*/
|
|
429
|
-
|
|
479
|
+
AutoSnapshotPolicyId: string
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* 定期快照的执行策略。
|
|
483
|
+
*/
|
|
484
|
+
Policy?: Array<Policy>
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* 要创建的定期快照策略名。不传则默认为“未命名”。最大长度不能超60个字节。
|
|
488
|
+
*/
|
|
489
|
+
AutoSnapshotPolicyName?: string
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* 是否激活定期快照策略,FALSE表示未激活,TRUE表示激活,默认为TRUE。
|
|
493
|
+
*/
|
|
494
|
+
IsActivated?: boolean
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* 通过该定期快照策略创建的快照是否永久保留。FALSE表示非永久保留,TRUE表示永久保留,默认为FALSE。
|
|
498
|
+
*/
|
|
499
|
+
IsPermanent?: boolean
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* 通过该定期快照策略创建的快照保留天数,该参数不可与`IsPermanent`参数冲突,即若定期快照策略设置为永久保留,`RetentionDays`应置0。
|
|
503
|
+
*/
|
|
504
|
+
RetentionDays?: number
|
|
430
505
|
}
|
|
431
506
|
|
|
432
507
|
/**
|
|
@@ -678,38 +753,23 @@ export interface Disk {
|
|
|
678
753
|
}
|
|
679
754
|
|
|
680
755
|
/**
|
|
681
|
-
*
|
|
756
|
+
* TerminateDisks返回参数结构体
|
|
682
757
|
*/
|
|
683
|
-
export interface
|
|
684
|
-
/**
|
|
685
|
-
* 定期快照策略ID。
|
|
686
|
-
*/
|
|
687
|
-
AutoSnapshotPolicyId: string
|
|
688
|
-
|
|
689
|
-
/**
|
|
690
|
-
* 定期快照的执行策略。
|
|
691
|
-
*/
|
|
692
|
-
Policy?: Array<Policy>
|
|
693
|
-
|
|
694
|
-
/**
|
|
695
|
-
* 要创建的定期快照策略名。不传则默认为“未命名”。最大长度不能超60个字节。
|
|
696
|
-
*/
|
|
697
|
-
AutoSnapshotPolicyName?: string
|
|
698
|
-
|
|
699
|
-
/**
|
|
700
|
-
* 是否激活定期快照策略,FALSE表示未激活,TRUE表示激活,默认为TRUE。
|
|
701
|
-
*/
|
|
702
|
-
IsActivated?: boolean
|
|
703
|
-
|
|
758
|
+
export interface TerminateDisksResponse {
|
|
704
759
|
/**
|
|
705
|
-
*
|
|
760
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
706
761
|
*/
|
|
707
|
-
|
|
762
|
+
RequestId?: string
|
|
763
|
+
}
|
|
708
764
|
|
|
765
|
+
/**
|
|
766
|
+
* ApplySnapshot返回参数结构体
|
|
767
|
+
*/
|
|
768
|
+
export interface ApplySnapshotResponse {
|
|
709
769
|
/**
|
|
710
|
-
*
|
|
770
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
711
771
|
*/
|
|
712
|
-
|
|
772
|
+
RequestId?: string
|
|
713
773
|
}
|
|
714
774
|
|
|
715
775
|
/**
|
|
@@ -1428,58 +1488,13 @@ export interface CreateDisksResponse {
|
|
|
1428
1488
|
}
|
|
1429
1489
|
|
|
1430
1490
|
/**
|
|
1431
|
-
*
|
|
1491
|
+
* AttachDisks返回参数结构体
|
|
1432
1492
|
*/
|
|
1433
|
-
export interface
|
|
1434
|
-
/**
|
|
1435
|
-
* 定期快照策略ID。
|
|
1436
|
-
*/
|
|
1437
|
-
AutoSnapshotPolicyId?: string
|
|
1438
|
-
|
|
1439
|
-
/**
|
|
1440
|
-
* 定期快照策略名称。
|
|
1441
|
-
*/
|
|
1442
|
-
AutoSnapshotPolicyName?: string
|
|
1443
|
-
|
|
1444
|
-
/**
|
|
1445
|
-
* 定期快照策略的状态。取值范围:<br><li>NORMAL:正常<br><li>ISOLATED:已隔离。
|
|
1446
|
-
*/
|
|
1447
|
-
AutoSnapshotPolicyState?: string
|
|
1448
|
-
|
|
1449
|
-
/**
|
|
1450
|
-
* 定期快照策略是否激活。
|
|
1451
|
-
*/
|
|
1452
|
-
IsActivated?: boolean
|
|
1453
|
-
|
|
1454
|
-
/**
|
|
1455
|
-
* 使用该定期快照策略创建出来的快照是否永久保留。
|
|
1456
|
-
*/
|
|
1457
|
-
IsPermanent?: boolean
|
|
1458
|
-
|
|
1459
|
-
/**
|
|
1460
|
-
* 使用该定期快照策略创建出来的快照保留天数。
|
|
1461
|
-
*/
|
|
1462
|
-
RetentionDays?: number
|
|
1463
|
-
|
|
1464
|
-
/**
|
|
1465
|
-
* 定期快照策略的创建时间。
|
|
1466
|
-
*/
|
|
1467
|
-
CreateTime?: string
|
|
1468
|
-
|
|
1469
|
-
/**
|
|
1470
|
-
* 定期快照下次触发的时间。
|
|
1471
|
-
*/
|
|
1472
|
-
NextTriggerTime?: string
|
|
1473
|
-
|
|
1474
|
-
/**
|
|
1475
|
-
* 定期快照的执行策略。
|
|
1476
|
-
*/
|
|
1477
|
-
Policy?: Array<Policy>
|
|
1478
|
-
|
|
1493
|
+
export interface AttachDisksResponse {
|
|
1479
1494
|
/**
|
|
1480
|
-
*
|
|
1495
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1481
1496
|
*/
|
|
1482
|
-
|
|
1497
|
+
RequestId?: string
|
|
1483
1498
|
}
|
|
1484
1499
|
|
|
1485
1500
|
/**
|
|
@@ -1885,13 +1900,23 @@ export interface GetSnapOverviewResponse {
|
|
|
1885
1900
|
}
|
|
1886
1901
|
|
|
1887
1902
|
/**
|
|
1888
|
-
*
|
|
1903
|
+
* 自动初始化、挂载云盘时指定配置。
|
|
1889
1904
|
*/
|
|
1890
|
-
export interface
|
|
1905
|
+
export interface AutoMountConfiguration {
|
|
1891
1906
|
/**
|
|
1892
|
-
*
|
|
1907
|
+
* 要挂载到的实例ID。
|
|
1893
1908
|
*/
|
|
1894
|
-
|
|
1909
|
+
InstanceId: Array<string>
|
|
1910
|
+
|
|
1911
|
+
/**
|
|
1912
|
+
* 子机内的挂载点。
|
|
1913
|
+
*/
|
|
1914
|
+
MountPoint: Array<string>
|
|
1915
|
+
|
|
1916
|
+
/**
|
|
1917
|
+
* 文件系统类型,支持的有 ext4、xfs。
|
|
1918
|
+
*/
|
|
1919
|
+
FileSystemType: string
|
|
1895
1920
|
}
|
|
1896
1921
|
|
|
1897
1922
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { ModifyDiskExtraPerformanceRequest, RenewDiskRequest,
|
|
2
|
+
import { ModifyDiskExtraPerformanceRequest, RenewDiskRequest, DescribeSnapshotOperationLogsRequest, ModifyAutoSnapshotPolicyAttributeResponse, InquiryPriceCreateDisksResponse, BindAutoSnapshotPolicyRequest, CreateSnapshotResponse, DescribeAutoSnapshotPoliciesRequest, ModifySnapshotsSharePermissionResponse, DescribeDiskStoragePoolRequest, ModifyDiskAttributesResponse, InquirePriceModifyDiskExtraPerformanceResponse, CreateDisksRequest, AttachDisksRequest, DescribeDiskAssociatedAutoSnapshotPolicyRequest, DescribeSnapshotsRequest, ModifyAutoSnapshotPolicyAttributeRequest, DescribeDiskConfigQuotaResponse, InquiryPriceResizeDiskResponse, ResizeDiskResponse, TerminateDisksResponse, ApplySnapshotResponse, DetachDisksRequest, ModifyDisksChargeTypeResponse, CreateSnapshotRequest, DescribeInstancesDiskNumRequest, DescribeSnapshotSharePermissionResponse, InquiryPriceRenewDisksRequest, DescribeSnapshotSharePermissionRequest, DescribeSnapshotOperationLogsResponse, DeleteSnapshotsRequest, ModifyDisksRenewFlagResponse, DeleteAutoSnapshotPoliciesResponse, DescribeDisksResponse, DeleteSnapshotsResponse, ModifyDisksRenewFlagRequest, ModifyDiskAttributesRequest, GetSnapOverviewRequest, TerminateDisksRequest, DescribeInstancesDiskNumResponse, DescribeDiskOperationLogsResponse, ResizeDiskRequest, ModifyDisksChargeTypeRequest, CreateAutoSnapshotPolicyResponse, ModifySnapshotAttributeRequest, UnbindAutoSnapshotPolicyRequest, DeleteAutoSnapshotPoliciesRequest, InquiryPriceCreateDisksRequest, DescribeSnapshotsResponse, CreateDisksResponse, AttachDisksResponse, ModifySnapshotsSharePermissionRequest, BindAutoSnapshotPolicyResponse, DescribeDiskOperationLogsRequest, DescribeDisksRequest, DetachDisksResponse, InquiryPriceRenewDisksResponse, DescribeDiskStoragePoolResponse, InquirePriceModifyDiskExtraPerformanceRequest, InquiryPriceResizeDiskRequest, DescribeDiskConfigQuotaRequest, DescribeDiskAssociatedAutoSnapshotPolicyResponse, GetSnapOverviewResponse, ModifySnapshotAttributeResponse, RenewDiskResponse, DescribeAutoSnapshotPoliciesResponse, UnbindAutoSnapshotPolicyResponse, CreateAutoSnapshotPolicyRequest, ModifyDiskExtraPerformanceResponse, ApplySnapshotRequest } from "./cbs_models";
|
|
3
3
|
/**
|
|
4
4
|
* cbs client
|
|
5
5
|
* @class
|
|
@@ -25,13 +25,49 @@ export interface RenewDiskRequest {
|
|
|
25
25
|
DiskId: string;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* 描述了定期快照策略的详细信息
|
|
29
29
|
*/
|
|
30
|
-
export interface
|
|
30
|
+
export interface AutoSnapshotPolicy {
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* 定期快照策略ID。
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
AutoSnapshotPolicyId?: string;
|
|
35
|
+
/**
|
|
36
|
+
* 定期快照策略名称。
|
|
37
|
+
*/
|
|
38
|
+
AutoSnapshotPolicyName?: string;
|
|
39
|
+
/**
|
|
40
|
+
* 定期快照策略的状态。取值范围:<br><li>NORMAL:正常<br><li>ISOLATED:已隔离。
|
|
41
|
+
*/
|
|
42
|
+
AutoSnapshotPolicyState?: string;
|
|
43
|
+
/**
|
|
44
|
+
* 定期快照策略是否激活。
|
|
45
|
+
*/
|
|
46
|
+
IsActivated?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* 使用该定期快照策略创建出来的快照是否永久保留。
|
|
49
|
+
*/
|
|
50
|
+
IsPermanent?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* 使用该定期快照策略创建出来的快照保留天数。
|
|
53
|
+
*/
|
|
54
|
+
RetentionDays?: number;
|
|
55
|
+
/**
|
|
56
|
+
* 定期快照策略的创建时间。
|
|
57
|
+
*/
|
|
58
|
+
CreateTime?: string;
|
|
59
|
+
/**
|
|
60
|
+
* 定期快照下次触发的时间。
|
|
61
|
+
*/
|
|
62
|
+
NextTriggerTime?: string;
|
|
63
|
+
/**
|
|
64
|
+
* 定期快照的执行策略。
|
|
65
|
+
*/
|
|
66
|
+
Policy?: Array<Policy>;
|
|
67
|
+
/**
|
|
68
|
+
* 已绑定当前定期快照策略的云盘ID列表。
|
|
69
|
+
*/
|
|
70
|
+
DiskIdSet?: Array<string>;
|
|
35
71
|
}
|
|
36
72
|
/**
|
|
37
73
|
* DescribeSnapshotOperationLogs请求参数结构体
|
|
@@ -280,6 +316,10 @@ export interface CreateDisksRequest {
|
|
|
280
316
|
* 销毁云盘时删除关联的非永久保留快照。0 表示非永久快照不随云盘销毁而销毁,1表示非永久快照随云盘销毁而销毁,默认取0。快照是否永久保留可以通过DescribeSnapshots接口返回的快照详情的IsPermanent字段来判断,true表示永久快照,false表示非永久快照。
|
|
281
317
|
*/
|
|
282
318
|
DeleteSnapshot?: number;
|
|
319
|
+
/**
|
|
320
|
+
* 创建云盘时指定自动挂载并初始化该数据盘。
|
|
321
|
+
*/
|
|
322
|
+
AutoMountConfiguration?: AutoMountConfiguration;
|
|
283
323
|
}
|
|
284
324
|
/**
|
|
285
325
|
* AttachDisks请求参数结构体
|
|
@@ -343,13 +383,33 @@ export interface DescribeSnapshotsRequest {
|
|
|
343
383
|
OrderField?: string;
|
|
344
384
|
}
|
|
345
385
|
/**
|
|
346
|
-
*
|
|
386
|
+
* ModifyAutoSnapshotPolicyAttribute请求参数结构体
|
|
347
387
|
*/
|
|
348
|
-
export interface
|
|
388
|
+
export interface ModifyAutoSnapshotPolicyAttributeRequest {
|
|
349
389
|
/**
|
|
350
|
-
*
|
|
390
|
+
* 定期快照策略ID。
|
|
351
391
|
*/
|
|
352
|
-
|
|
392
|
+
AutoSnapshotPolicyId: string;
|
|
393
|
+
/**
|
|
394
|
+
* 定期快照的执行策略。
|
|
395
|
+
*/
|
|
396
|
+
Policy?: Array<Policy>;
|
|
397
|
+
/**
|
|
398
|
+
* 要创建的定期快照策略名。不传则默认为“未命名”。最大长度不能超60个字节。
|
|
399
|
+
*/
|
|
400
|
+
AutoSnapshotPolicyName?: string;
|
|
401
|
+
/**
|
|
402
|
+
* 是否激活定期快照策略,FALSE表示未激活,TRUE表示激活,默认为TRUE。
|
|
403
|
+
*/
|
|
404
|
+
IsActivated?: boolean;
|
|
405
|
+
/**
|
|
406
|
+
* 通过该定期快照策略创建的快照是否永久保留。FALSE表示非永久保留,TRUE表示永久保留,默认为FALSE。
|
|
407
|
+
*/
|
|
408
|
+
IsPermanent?: boolean;
|
|
409
|
+
/**
|
|
410
|
+
* 通过该定期快照策略创建的快照保留天数,该参数不可与`IsPermanent`参数冲突,即若定期快照策略设置为永久保留,`RetentionDays`应置0。
|
|
411
|
+
*/
|
|
412
|
+
RetentionDays?: number;
|
|
353
413
|
}
|
|
354
414
|
/**
|
|
355
415
|
* DescribeDiskConfigQuota返回参数结构体
|
|
@@ -558,33 +618,22 @@ export interface Disk {
|
|
|
558
618
|
CreateTime?: string;
|
|
559
619
|
}
|
|
560
620
|
/**
|
|
561
|
-
*
|
|
621
|
+
* TerminateDisks返回参数结构体
|
|
562
622
|
*/
|
|
563
|
-
export interface
|
|
564
|
-
/**
|
|
565
|
-
* 定期快照策略ID。
|
|
566
|
-
*/
|
|
567
|
-
AutoSnapshotPolicyId: string;
|
|
568
|
-
/**
|
|
569
|
-
* 定期快照的执行策略。
|
|
570
|
-
*/
|
|
571
|
-
Policy?: Array<Policy>;
|
|
572
|
-
/**
|
|
573
|
-
* 要创建的定期快照策略名。不传则默认为“未命名”。最大长度不能超60个字节。
|
|
574
|
-
*/
|
|
575
|
-
AutoSnapshotPolicyName?: string;
|
|
576
|
-
/**
|
|
577
|
-
* 是否激活定期快照策略,FALSE表示未激活,TRUE表示激活,默认为TRUE。
|
|
578
|
-
*/
|
|
579
|
-
IsActivated?: boolean;
|
|
623
|
+
export interface TerminateDisksResponse {
|
|
580
624
|
/**
|
|
581
|
-
*
|
|
625
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
582
626
|
*/
|
|
583
|
-
|
|
627
|
+
RequestId?: string;
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* ApplySnapshot返回参数结构体
|
|
631
|
+
*/
|
|
632
|
+
export interface ApplySnapshotResponse {
|
|
584
633
|
/**
|
|
585
|
-
*
|
|
634
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
586
635
|
*/
|
|
587
|
-
|
|
636
|
+
RequestId?: string;
|
|
588
637
|
}
|
|
589
638
|
/**
|
|
590
639
|
* DetachDisks请求参数结构体
|
|
@@ -1194,49 +1243,13 @@ export interface CreateDisksResponse {
|
|
|
1194
1243
|
RequestId?: string;
|
|
1195
1244
|
}
|
|
1196
1245
|
/**
|
|
1197
|
-
*
|
|
1246
|
+
* AttachDisks返回参数结构体
|
|
1198
1247
|
*/
|
|
1199
|
-
export interface
|
|
1200
|
-
/**
|
|
1201
|
-
* 定期快照策略ID。
|
|
1202
|
-
*/
|
|
1203
|
-
AutoSnapshotPolicyId?: string;
|
|
1204
|
-
/**
|
|
1205
|
-
* 定期快照策略名称。
|
|
1206
|
-
*/
|
|
1207
|
-
AutoSnapshotPolicyName?: string;
|
|
1208
|
-
/**
|
|
1209
|
-
* 定期快照策略的状态。取值范围:<br><li>NORMAL:正常<br><li>ISOLATED:已隔离。
|
|
1210
|
-
*/
|
|
1211
|
-
AutoSnapshotPolicyState?: string;
|
|
1212
|
-
/**
|
|
1213
|
-
* 定期快照策略是否激活。
|
|
1214
|
-
*/
|
|
1215
|
-
IsActivated?: boolean;
|
|
1216
|
-
/**
|
|
1217
|
-
* 使用该定期快照策略创建出来的快照是否永久保留。
|
|
1218
|
-
*/
|
|
1219
|
-
IsPermanent?: boolean;
|
|
1220
|
-
/**
|
|
1221
|
-
* 使用该定期快照策略创建出来的快照保留天数。
|
|
1222
|
-
*/
|
|
1223
|
-
RetentionDays?: number;
|
|
1224
|
-
/**
|
|
1225
|
-
* 定期快照策略的创建时间。
|
|
1226
|
-
*/
|
|
1227
|
-
CreateTime?: string;
|
|
1228
|
-
/**
|
|
1229
|
-
* 定期快照下次触发的时间。
|
|
1230
|
-
*/
|
|
1231
|
-
NextTriggerTime?: string;
|
|
1232
|
-
/**
|
|
1233
|
-
* 定期快照的执行策略。
|
|
1234
|
-
*/
|
|
1235
|
-
Policy?: Array<Policy>;
|
|
1248
|
+
export interface AttachDisksResponse {
|
|
1236
1249
|
/**
|
|
1237
|
-
*
|
|
1250
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1238
1251
|
*/
|
|
1239
|
-
|
|
1252
|
+
RequestId?: string;
|
|
1240
1253
|
}
|
|
1241
1254
|
/**
|
|
1242
1255
|
* ModifySnapshotsSharePermission请求参数结构体
|
|
@@ -1581,13 +1594,21 @@ export interface GetSnapOverviewResponse {
|
|
|
1581
1594
|
RequestId?: string;
|
|
1582
1595
|
}
|
|
1583
1596
|
/**
|
|
1584
|
-
*
|
|
1597
|
+
* 自动初始化、挂载云盘时指定配置。
|
|
1585
1598
|
*/
|
|
1586
|
-
export interface
|
|
1599
|
+
export interface AutoMountConfiguration {
|
|
1587
1600
|
/**
|
|
1588
|
-
*
|
|
1601
|
+
* 要挂载到的实例ID。
|
|
1589
1602
|
*/
|
|
1590
|
-
|
|
1603
|
+
InstanceId: Array<string>;
|
|
1604
|
+
/**
|
|
1605
|
+
* 子机内的挂载点。
|
|
1606
|
+
*/
|
|
1607
|
+
MountPoint: Array<string>;
|
|
1608
|
+
/**
|
|
1609
|
+
* 文件系统类型,支持的有 ext4、xfs。
|
|
1610
|
+
*/
|
|
1611
|
+
FileSystemType: string;
|
|
1591
1612
|
}
|
|
1592
1613
|
/**
|
|
1593
1614
|
* ModifySnapshotAttribute返回参数结构体
|