tencentcloud-sdk-nodejs 4.0.435 → 4.0.438

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/CHANGELOG.md +772 -0
  2. package/SERVICE_CHANGELOG.md +996 -117
  3. package/package.json +1 -1
  4. package/products.md +34 -34
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_client.ts +0 -12
  7. package/src/services/antiddos/v20200309/antiddos_models.ts +0 -35
  8. package/src/services/bda/v20200324/bda_models.ts +31 -6
  9. package/src/services/bma/v20210624/bma_client.ts +45 -8
  10. package/src/services/bma/v20210624/bma_models.ts +222 -37
  11. package/src/services/cbs/v20170312/cbs_client.ts +109 -41
  12. package/src/services/cbs/v20170312/cbs_models.ts +318 -111
  13. package/src/services/ccc/v20200210/ccc_models.ts +5 -0
  14. package/src/services/cdb/v20170320/cdb_client.ts +17 -0
  15. package/src/services/cdb/v20170320/cdb_models.ts +285 -2
  16. package/src/services/cfs/v20190719/cfs_client.ts +253 -103
  17. package/src/services/cfs/v20190719/cfs_models.ts +1008 -313
  18. package/src/services/cfw/v20190904/cfw_client.ts +0 -12
  19. package/src/services/cfw/v20190904/cfw_models.ts +20 -38
  20. package/src/services/cpdp/v20190820/cpdp_models.ts +21 -0
  21. package/src/services/cvm/v20170312/cvm_client.ts +1 -1
  22. package/src/services/cvm/v20170312/cvm_models.ts +1 -1
  23. package/src/services/cwp/v20180228/cwp_models.ts +23 -0
  24. package/src/services/cynosdb/v20190107/cynosdb_client.ts +47 -22
  25. package/src/services/cynosdb/v20190107/cynosdb_models.ts +115 -0
  26. package/src/services/dbbrain/v20210527/dbbrain_client.ts +19 -6
  27. package/src/services/dbbrain/v20210527/dbbrain_models.ts +80 -0
  28. package/src/services/emr/v20190103/emr_models.ts +42 -3
  29. package/src/services/ess/v20201111/ess_models.ts +21 -5
  30. package/src/services/essbasic/v20210526/essbasic_models.ts +10 -0
  31. package/src/services/gme/v20180711/gme_models.ts +12 -2
  32. package/src/services/monitor/v20180724/monitor_client.ts +3 -0
  33. package/src/services/monitor/v20180724/monitor_models.ts +69 -3
  34. package/src/services/redis/v20180412/redis_models.ts +1 -1
  35. package/src/services/ses/v20201002/ses_models.ts +10 -8
  36. package/src/services/ssl/v20191205/ssl_models.ts +12 -0
  37. package/src/services/tag/v20180813/tag_models.ts +2 -2
  38. package/src/services/tcss/v20201101/tcss_models.ts +12 -0
  39. package/src/services/tem/v20210701/tem_models.ts +15 -0
  40. package/src/services/teo/v20220106/teo_client.ts +9 -3
  41. package/src/services/teo/v20220106/teo_models.ts +522 -250
  42. package/src/services/tione/v20211111/tione_client.ts +106 -16
  43. package/src/services/tione/v20211111/tione_models.ts +888 -125
  44. package/src/services/tke/v20180525/tke_models.ts +5 -0
  45. package/src/services/tts/v20190823/tts_models.ts +6 -2
  46. package/src/services/vm/v20210922/vm_client.ts +2 -0
  47. package/src/services/vm/v20210922/vm_models.ts +87 -28
  48. package/src/services/vod/v20180717/vod_client.ts +16 -0
  49. package/src/services/vod/v20180717/vod_models.ts +66 -0
  50. package/src/services/vpc/v20170312/vpc_client.ts +20 -7
  51. package/src/services/vpc/v20170312/vpc_models.ts +108 -3
  52. package/tencentcloud/common/sdk_version.d.ts +1 -1
  53. package/tencentcloud/common/sdk_version.js +1 -1
  54. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -5
  55. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +0 -6
  56. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +0 -30
  57. package/tencentcloud/services/bda/v20200324/bda_models.d.ts +23 -2
  58. package/tencentcloud/services/bma/v20210624/bma_client.d.ts +15 -3
  59. package/tencentcloud/services/bma/v20210624/bma_client.js +21 -3
  60. package/tencentcloud/services/bma/v20210624/bma_models.d.ts +188 -33
  61. package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +48 -21
  62. package/tencentcloud/services/cbs/v20170312/cbs_client.js +61 -24
  63. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +273 -96
  64. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -0
  65. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +5 -1
  66. package/tencentcloud/services/cdb/v20170320/cdb_client.js +6 -0
  67. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +235 -2
  68. package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +79 -31
  69. package/tencentcloud/services/cfs/v20190719/cfs_client.js +117 -45
  70. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +753 -168
  71. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -5
  72. package/tencentcloud/services/cfw/v20190904/cfw_client.js +0 -6
  73. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +17 -33
  74. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +19 -0
  75. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
  76. package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
  77. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
  78. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +19 -0
  79. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +17 -9
  80. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +24 -12
  81. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +98 -0
  82. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +7 -3
  83. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +9 -3
  84. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +67 -0
  85. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +35 -3
  86. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +17 -1
  87. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +8 -0
  88. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +10 -2
  89. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +3 -0
  90. package/tencentcloud/services/monitor/v20180724/monitor_client.js +3 -0
  91. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +57 -3
  92. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
  93. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +10 -8
  94. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +10 -0
  95. package/tencentcloud/services/tag/v20180813/tag_models.d.ts +2 -2
  96. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +10 -0
  97. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +12 -0
  98. package/tencentcloud/services/teo/v20220106/teo_client.d.ts +1 -1
  99. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +464 -218
  100. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +31 -3
  101. package/tencentcloud/services/tione/v20211111/tione_client.js +45 -3
  102. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +758 -117
  103. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -0
  104. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +5 -1
  105. package/tencentcloud/services/vm/v20210922/vm_models.d.ts +77 -28
  106. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +8 -1
  107. package/tencentcloud/services/vod/v20180717/vod_client.js +9 -0
  108. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +56 -0
  109. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +12 -8
  110. package/tencentcloud/services/vpc/v20170312/vpc_client.js +13 -7
  111. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +91 -3
  112. package/test/antiddos.v20200309.test.js +0 -10
  113. package/test/bma.v20210624.test.js +32 -2
  114. package/test/cbs.v20170312.test.js +58 -8
  115. package/test/cdb.v20170320.test.js +10 -0
  116. package/test/cfs.v20190719.test.js +150 -30
  117. package/test/cfw.v20190904.test.js +0 -10
  118. package/test/cynosdb.v20190107.test.js +34 -14
  119. package/test/dbbrain.v20210527.test.js +12 -2
  120. package/test/tione.v20211111.test.js +72 -2
  121. package/test/vod.v20180717.test.js +10 -0
  122. package/test/vpc.v20170312.test.js +10 -0
@@ -50,6 +50,46 @@ export interface ProtectURLInfo {
50
50
  CreateTime: string
51
51
  }
52
52
 
53
+ /**
54
+ * ModifyCRWhiteList请求参数结构体
55
+ */
56
+ export interface ModifyCRWhiteListRequest {
57
+ /**
58
+ * 白名单ID
59
+ */
60
+ WhiteListId?: number
61
+
62
+ /**
63
+ * 平台名称
64
+ */
65
+ PlatForm?: string
66
+
67
+ /**
68
+ * 平台站点链接
69
+ */
70
+ PlatUrl?: string
71
+
72
+ /**
73
+ * 作者ID
74
+ */
75
+ AuthorId?: string
76
+
77
+ /**
78
+ * 作品ID
79
+ */
80
+ WorksId?: number
81
+
82
+ /**
83
+ * xxx
84
+ */
85
+ WorkId?: number
86
+
87
+ /**
88
+ * xxx
89
+ */
90
+ WhiteSites?: string
91
+ }
92
+
53
93
  /**
54
94
  * CreateCRUserVerify请求参数结构体
55
95
  */
@@ -91,38 +131,18 @@ export interface CreateBPFalseTicketResponse {
91
131
  }
92
132
 
93
133
  /**
94
- * DescribeCRWorkInfo返回参数结构体
134
+ * CreateCRRightFile请求参数结构体
95
135
  */
96
- export interface DescribeCRWorkInfoResponse {
97
- /**
98
- * x
99
- */
100
- WorkName: string
101
-
102
- /**
103
- * x
104
- */
105
- MonitorStatus: number
106
-
107
- /**
108
- * x
109
- */
110
- AuthStatus: number
111
-
112
- /**
113
- * x
114
- */
115
- CommStatus: number
116
-
136
+ export interface CreateCRRightFileRequest {
117
137
  /**
118
- * x
138
+ * xxx
119
139
  */
120
- IsProducer: number
140
+ WorkId: number
121
141
 
122
142
  /**
123
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
143
+ * xxx
124
144
  */
125
- RequestId?: string
145
+ FileList: Array<File>
126
146
  }
127
147
 
128
148
  /**
@@ -255,6 +275,56 @@ export interface CreateBPOfflineTicketResponse {
255
275
  RequestId?: string
256
276
  }
257
277
 
278
+ /**
279
+ * CreateCRTort请求参数结构体
280
+ */
281
+ export interface CreateCRTortRequest {
282
+ /**
283
+ * xx
284
+ */
285
+ WorkId: number
286
+
287
+ /**
288
+ * xx
289
+ */
290
+ TortURL: string
291
+
292
+ /**
293
+ * xx
294
+ */
295
+ TortPlat?: string
296
+
297
+ /**
298
+ * xx
299
+ */
300
+ TortTitle?: string
301
+ }
302
+
303
+ /**
304
+ * UpdateCRWork请求参数结构体
305
+ */
306
+ export interface UpdateCRWorkRequest {
307
+ /**
308
+ * xx
309
+ */
310
+ WorkId: number
311
+
312
+ /**
313
+ * xx
314
+ */
315
+ ContentType?: string
316
+
317
+ /**
318
+ * xx
319
+ */
320
+ Content?: string
321
+
322
+ /**
323
+ * xx
324
+ */
325
+ CertType?: string
326
+ }
327
+
258
328
  /**
259
329
  * DescribeBPFakeURLs请求参数结构体
260
330
  */
@@ -820,9 +890,14 @@ export interface ModifyCRMonitorRequest {
820
890
  WorkId: number
821
891
 
822
892
  /**
823
- * 监测状态 1-开启监测 2-关闭监测 默认为1
893
+ * 监测状态 1-开启监测 2-关闭监测
824
894
  */
825
895
  MonitorStatus: string
896
+
897
+ /**
898
+ * 默认不停止,支持续期
899
+ */
900
+ MonitorEnd?: string
826
901
  }
827
902
 
828
903
  /**
@@ -993,6 +1068,11 @@ export interface CreateCRWorkRequest {
993
1068
  * x
994
1069
  */
995
1070
  Content?: string
1071
+
1072
+ /**
1073
+ * x
1074
+ */
1075
+ MonitorEndTime?: string
996
1076
  }
997
1077
 
998
1078
  /**
@@ -1106,28 +1186,63 @@ export interface DescribeCRMonitorsRequest {
1106
1186
  }
1107
1187
 
1108
1188
  /**
1109
- * UpdateCRWork请求参数结构体
1189
+ * DescribeCRWorkInfo返回参数结构体
1110
1190
  */
1111
- export interface UpdateCRWorkRequest {
1191
+ export interface DescribeCRWorkInfoResponse {
1112
1192
  /**
1113
- * xx
1193
+ * x
1114
1194
  */
1115
- WorkId: number
1195
+ WorkName: string
1116
1196
 
1117
1197
  /**
1118
- * xx
1198
+ * x
1119
1199
  */
1120
- ContentType?: string
1200
+ MonitorStatus: number
1121
1201
 
1122
1202
  /**
1123
- * xx
1203
+ * x
1124
1204
  */
1125
- Content?: string
1205
+ AuthStatus: number
1126
1206
 
1127
1207
  /**
1128
- * xx
1208
+ * x
1129
1209
  */
1130
- CertType?: string
1210
+ CommStatus: number
1211
+
1212
+ /**
1213
+ * x
1214
+ */
1215
+ IsProducer: number
1216
+
1217
+ /**
1218
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1219
+ */
1220
+ RequestId?: string
1221
+ }
1222
+
1223
+ /**
1224
+ * CreateCRRightFile返回参数结构体
1225
+ */
1226
+ export interface CreateCRRightFileResponse {
1227
+ /**
1228
+ * xxx
1229
+ */
1230
+ FileIds: Array<number>
1231
+
1232
+ /**
1233
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1234
+ */
1235
+ RequestId?: string
1236
+ }
1237
+
1238
+ /**
1239
+ * ModifyCRWhiteList返回参数结构体
1240
+ */
1241
+ export interface ModifyCRWhiteListResponse {
1242
+ /**
1243
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1244
+ */
1245
+ RequestId?: string
1131
1246
  }
1132
1247
 
1133
1248
  /**
@@ -1445,6 +1560,51 @@ export interface CreateBPFakeURLResponse {
1445
1560
  RequestId?: string
1446
1561
  }
1447
1562
 
1563
+ /**
1564
+ * CreateCRTort返回参数结构体
1565
+ */
1566
+ export interface CreateCRTortResponse {
1567
+ /**
1568
+ * xx
1569
+ */
1570
+ WorkId: number
1571
+
1572
+ /**
1573
+ * xx
1574
+ */
1575
+ TortId: number
1576
+
1577
+ /**
1578
+ * xx
1579
+ */
1580
+ TortTitle: string
1581
+
1582
+ /**
1583
+ * xx
1584
+ */
1585
+ TortPlat: string
1586
+
1587
+ /**
1588
+ * xx
1589
+ */
1590
+ TortURL: string
1591
+
1592
+ /**
1593
+ * xx
1594
+ */
1595
+ TortDomain: string
1596
+
1597
+ /**
1598
+ * xx
1599
+ */
1600
+ TortBodyName: string
1601
+
1602
+ /**
1603
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1604
+ */
1605
+ RequestId?: string
1606
+ }
1607
+
1448
1608
  /**
1449
1609
  * CreateBPFalseTicket请求参数结构体
1450
1610
  */
@@ -1465,6 +1625,31 @@ export interface ModifyCRMonitorResponse {
1465
1625
  RequestId?: string
1466
1626
  }
1467
1627
 
1628
+ /**
1629
+ * 权属文件列表
1630
+ */
1631
+ export interface File {
1632
+ /**
1633
+ * xxx
1634
+ */
1635
+ FileUrl: string
1636
+
1637
+ /**
1638
+ * xxx
1639
+ */
1640
+ FileType: number
1641
+
1642
+ /**
1643
+ * xxx
1644
+ */
1645
+ ValidStartDate: string
1646
+
1647
+ /**
1648
+ * xxx
1649
+ */
1650
+ ValidEndDate: string
1651
+ }
1652
+
1468
1653
  /**
1469
1654
  * DescribeBPProtectURLs请求参数结构体
1470
1655
  */
@@ -18,20 +18,25 @@
18
18
  import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
+ SnapshotOperationLog,
21
22
  ModifyDiskExtraPerformanceRequest,
22
23
  ModifyDiskAttributesResponse,
24
+ DescribeDiskBackupsRequest,
23
25
  AutoSnapshotPolicy,
24
26
  DescribeSnapshotOperationLogsRequest,
25
27
  CopySnapshotCrossRegionsResponse,
26
28
  ModifyAutoSnapshotPolicyAttributeResponse,
29
+ ModifyDiskBackupQuotaRequest,
27
30
  InquiryPriceCreateDisksResponse,
28
31
  BindAutoSnapshotPolicyRequest,
29
32
  CreateSnapshotResponse,
30
33
  DescribeAutoSnapshotPoliciesRequest,
31
34
  ModifySnapshotsSharePermissionResponse,
35
+ DeleteDiskBackupsRequest,
32
36
  InitializeDisksResponse,
37
+ DeleteDiskBackupsResponse,
33
38
  DescribeDiskStoragePoolRequest,
34
- SnapshotOperationLog,
39
+ DescribeDiskBackupsResponse,
35
40
  SnapshotCopyResult,
36
41
  RenewDiskRequest,
37
42
  InquirePriceModifyDiskExtraPerformanceResponse,
@@ -41,6 +46,7 @@ import {
41
46
  DescribeSnapshotsRequest,
42
47
  ModifyAutoSnapshotPolicyAttributeRequest,
43
48
  DescribeDiskConfigQuotaResponse,
49
+ ApplyDiskBackupResponse,
44
50
  InquiryPriceResizeDiskResponse,
45
51
  Tag,
46
52
  ResizeDiskResponse,
@@ -52,9 +58,10 @@ import {
52
58
  CreateSnapshotRequest,
53
59
  DescribeInstancesDiskNumRequest,
54
60
  DescribeSnapshotSharePermissionResponse,
55
- CopySnapshotCrossRegionsRequest,
61
+ ModifyDiskBackupQuotaResponse,
56
62
  InquiryPriceRenewDisksRequest,
57
63
  DescribeSnapshotSharePermissionRequest,
64
+ InquirePriceModifyDiskBackupQuotaRequest,
58
65
  DescribeSnapshotOperationLogsResponse,
59
66
  DeleteSnapshotsRequest,
60
67
  ModifyDisksRenewFlagResponse,
@@ -63,6 +70,7 @@ import {
63
70
  Placement,
64
71
  DeleteSnapshotsResponse,
65
72
  ModifyDisksRenewFlagRequest,
73
+ ModifySnapshotAttributeResponse,
66
74
  ModifyDiskAttributesRequest,
67
75
  GetSnapOverviewRequest,
68
76
  Image,
@@ -71,12 +79,14 @@ import {
71
79
  DescribeInstancesDiskNumResponse,
72
80
  DescribeDiskOperationLogsResponse,
73
81
  ResizeDiskRequest,
82
+ ApplyDiskBackupRequest,
74
83
  ModifyDisksChargeTypeRequest,
75
84
  InitializeDisksRequest,
76
85
  CreateAutoSnapshotPolicyResponse,
77
86
  ModifySnapshotAttributeRequest,
78
87
  UnbindAutoSnapshotPolicyRequest,
79
88
  DiskConfig,
89
+ InquirePriceModifyDiskBackupQuotaResponse,
80
90
  DeleteAutoSnapshotPoliciesRequest,
81
91
  DiskChargePrepaid,
82
92
  Filter,
@@ -89,20 +99,21 @@ import {
89
99
  DiskOperationLog,
90
100
  BindAutoSnapshotPolicyResponse,
91
101
  DescribeDiskOperationLogsRequest,
102
+ DiskBackup,
92
103
  DescribeDisksRequest,
93
104
  DetachDisksResponse,
94
105
  InquiryPriceRenewDisksResponse,
95
106
  SharePermission,
96
107
  DescribeDiskStoragePoolResponse,
97
108
  Policy,
98
- Price,
109
+ ModifyDiskExtraPerformanceResponse,
99
110
  InquirePriceModifyDiskExtraPerformanceRequest,
100
111
  InquiryPriceResizeDiskRequest,
101
112
  DescribeDiskConfigQuotaRequest,
102
113
  DescribeDiskAssociatedAutoSnapshotPolicyResponse,
103
114
  GetSnapOverviewResponse,
104
115
  AutoMountConfiguration,
105
- ModifySnapshotAttributeResponse,
116
+ CopySnapshotCrossRegionsRequest,
106
117
  PrepayPrice,
107
118
  RenewDiskResponse,
108
119
  DescribeAutoSnapshotPoliciesResponse,
@@ -110,7 +121,7 @@ import {
110
121
  UnbindAutoSnapshotPolicyResponse,
111
122
  AttachDetail,
112
123
  CreateAutoSnapshotPolicyRequest,
113
- ModifyDiskExtraPerformanceResponse,
124
+ Price,
114
125
  ApplySnapshotRequest,
115
126
  } from "./cbs_models"
116
127
 
@@ -148,6 +159,20 @@ export class Client extends AbstractClient {
148
159
  return this.request("RenewDisk", req, cb)
149
160
  }
150
161
 
162
+ /**
163
+ * 本接口(ApplyDiskBackup)用于回滚备份点到原云硬盘。
164
+
165
+ * 仅支持回滚到原云硬盘上。对于数据盘备份点,如果您需要复制备份点数据到其它云硬盘上,请先使用 CreateSnapshot 将备份点转换为快照,然后使用 CreateDisks 接口创建新的弹性云硬盘,将快照数据复制到新购云硬盘上。
166
+ * 用于回滚的备份点必须处于NORMAL状态。备份点状态可以通过DescribeDiskBackups接口查询,见输出参数中BackupState字段解释。
167
+ * 如果是弹性云硬盘,则云硬盘必须处于未挂载状态,云硬盘挂载状态可以通过DescribeDisks接口查询,见Attached字段解释;如果是随实例一起购买的非弹性云硬盘,则实例必须处于关机状态,实例状态可以通过DescribeInstancesStatus接口查询。
168
+ */
169
+ async ApplyDiskBackup(
170
+ req: ApplyDiskBackupRequest,
171
+ cb?: (error: string, rep: ApplyDiskBackupResponse) => void
172
+ ): Promise<ApplyDiskBackupResponse> {
173
+ return this.request("ApplyDiskBackup", req, cb)
174
+ }
175
+
151
176
  /**
152
177
  * 本接口(CopySnapshotCrossRegions)用于快照跨地域复制。
153
178
 
@@ -232,6 +257,26 @@ export class Client extends AbstractClient {
232
257
  return this.request("ModifyDisksRenewFlag", req, cb)
233
258
  }
234
259
 
260
+ /**
261
+ * 本接口(InquirePricePriceModifyDiskBackupQuota)用于修改云硬盘备份点配额询价。
262
+ */
263
+ async InquirePriceModifyDiskBackupQuota(
264
+ req: InquirePriceModifyDiskBackupQuotaRequest,
265
+ cb?: (error: string, rep: InquirePriceModifyDiskBackupQuotaResponse) => void
266
+ ): Promise<InquirePriceModifyDiskBackupQuotaResponse> {
267
+ return this.request("InquirePriceModifyDiskBackupQuota", req, cb)
268
+ }
269
+
270
+ /**
271
+ * 批量删除指定的云硬盘备份点。
272
+ */
273
+ async DeleteDiskBackups(
274
+ req: DeleteDiskBackupsRequest,
275
+ cb?: (error: string, rep: DeleteDiskBackupsResponse) => void
276
+ ): Promise<DeleteDiskBackupsResponse> {
277
+ return this.request("DeleteDiskBackups", req, cb)
278
+ }
279
+
235
280
  /**
236
281
  * 本接口(ModifyAutoSnapshotPolicyAttribute)用于修改定期快照策略属性。
237
282
 
@@ -257,6 +302,19 @@ export class Client extends AbstractClient {
257
302
  return this.request("InquiryPriceCreateDisks", req, cb)
258
303
  }
259
304
 
305
+ /**
306
+ * 本接口(DescribeDiskBackups)用于查询备份点的详细信息。
307
+
308
+ 根据备份点ID、创建备份点的云硬盘ID、创建备份点的云硬盘类型等对结果进行过滤,不同条件之间为与(AND)的关系,过滤信息详细请见过滤器Filter。
309
+ 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的备份点列表。
310
+ */
311
+ async DescribeDiskBackups(
312
+ req: DescribeDiskBackupsRequest,
313
+ cb?: (error: string, rep: DescribeDiskBackupsResponse) => void
314
+ ): Promise<DescribeDiskBackupsResponse> {
315
+ return this.request("DescribeDiskBackups", req, cb)
316
+ }
317
+
260
318
  /**
261
319
  * 查询云盘操作日志功能已迁移至LookUpEvents接口(https://cloud.tencent.com/document/product/629/12359),本接口(DescribeDiskOperationLogs)即将下线,后续不再提供调用,请知悉。
262
320
  */
@@ -280,16 +338,17 @@ export class Client extends AbstractClient {
280
338
  }
281
339
 
282
340
  /**
283
- * 本接口(CreateAutoSnapshotPolicy)用于创建定期快照策略。
284
-
285
- * 每个地域可创建的定期快照策略数量限制请参考文档[定期快照](/document/product/362/8191)。
286
- * 每个地域可创建的快照有数量和容量的限制,具体请见腾讯云控制台快照页面提示,如果快照超配额,定期快照创建会失败。
341
+ * 重新初始化云硬盘至云硬盘初始创建时的状态。使用云硬盘的重新初始化功能时需要注意以下4点:
342
+ 1. 如果云硬盘是由快照创建的,则重新初始化会通过此快照重新回滚此云硬盘,即将云硬盘恢复为与快照一致的状态;
343
+ 2. 如果云硬盘不是通过快照创建的,则重新初始化会清空此云硬盘的数据;请在重新初始化云硬盘前检查并备份必要的数据;
344
+ 3. 当前仅未挂载的、非共享属性的数据盘云硬盘支持重新初始化;
345
+ 4. 当创建此云硬盘的原始快照被删除时,不再支持重新初始化此云硬盘。
287
346
  */
288
- async CreateAutoSnapshotPolicy(
289
- req: CreateAutoSnapshotPolicyRequest,
290
- cb?: (error: string, rep: CreateAutoSnapshotPolicyResponse) => void
291
- ): Promise<CreateAutoSnapshotPolicyResponse> {
292
- return this.request("CreateAutoSnapshotPolicy", req, cb)
347
+ async InitializeDisks(
348
+ req: InitializeDisksRequest,
349
+ cb?: (error: string, rep: InitializeDisksResponse) => void
350
+ ): Promise<InitializeDisksResponse> {
351
+ return this.request("InitializeDisks", req, cb)
293
352
  }
294
353
 
295
354
  /**
@@ -305,6 +364,16 @@ export class Client extends AbstractClient {
305
364
  return this.request("DescribeDisks", req, cb)
306
365
  }
307
366
 
367
+ /**
368
+ * 此接口 (ModifyDiskBackupQuota) 用于修改云硬盘备份点配额。
369
+ */
370
+ async ModifyDiskBackupQuota(
371
+ req: ModifyDiskBackupQuotaRequest,
372
+ cb?: (error: string, rep: ModifyDiskBackupQuotaResponse) => void
373
+ ): Promise<ModifyDiskBackupQuotaResponse> {
374
+ return this.request("ModifyDiskBackupQuota", req, cb)
375
+ }
376
+
308
377
  /**
309
378
  * 本接口(CreateDisks)用于创建云硬盘。
310
379
 
@@ -404,17 +473,16 @@ export class Client extends AbstractClient {
404
473
  }
405
474
 
406
475
  /**
407
- * 重新初始化云硬盘至云硬盘初始创建时的状态。使用云硬盘的重新初始化功能时需要注意以下4点:
408
- 1. 如果云硬盘是由快照创建的,则重新初始化会通过此快照重新回滚此云硬盘,即将云硬盘恢复为与快照一致的状态;
409
- 2. 如果云硬盘不是通过快照创建的,则重新初始化会清空此云硬盘的数据;请在重新初始化云硬盘前检查并备份必要的数据;
410
- 3. 当前仅未挂载的、非共享属性的数据盘云硬盘支持重新初始化;
411
- 4. 当创建此云硬盘的原始快照被删除时,不再支持重新初始化此云硬盘。
476
+ * 本接口(CreateAutoSnapshotPolicy)用于创建定期快照策略。
477
+
478
+ * 每个地域可创建的定期快照策略数量限制请参考文档[定期快照](/document/product/362/8191)。
479
+ * 每个地域可创建的快照有数量和容量的限制,具体请见腾讯云控制台快照页面提示,如果快照超配额,定期快照创建会失败。
412
480
  */
413
- async InitializeDisks(
414
- req: InitializeDisksRequest,
415
- cb?: (error: string, rep: InitializeDisksResponse) => void
416
- ): Promise<InitializeDisksResponse> {
417
- return this.request("InitializeDisks", req, cb)
481
+ async CreateAutoSnapshotPolicy(
482
+ req: CreateAutoSnapshotPolicyRequest,
483
+ cb?: (error: string, rep: CreateAutoSnapshotPolicyResponse) => void
484
+ ): Promise<CreateAutoSnapshotPolicyResponse> {
485
+ return this.request("CreateAutoSnapshotPolicy", req, cb)
418
486
  }
419
487
 
420
488
  /**
@@ -528,17 +596,16 @@ export class Client extends AbstractClient {
528
596
  }
529
597
 
530
598
  /**
531
- * 本接口(CreateSnapshot)用于对指定云盘创建快照。
599
+ * 本接口(DetachDisks)用于卸载云硬盘。
532
600
 
533
- * 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
534
- * 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)
535
- * 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
601
+ * 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
602
+ * 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
536
603
  */
537
- async CreateSnapshot(
538
- req: CreateSnapshotRequest,
539
- cb?: (error: string, rep: CreateSnapshotResponse) => void
540
- ): Promise<CreateSnapshotResponse> {
541
- return this.request("CreateSnapshot", req, cb)
604
+ async DetachDisks(
605
+ req: DetachDisksRequest,
606
+ cb?: (error: string, rep: DetachDisksResponse) => void
607
+ ): Promise<DetachDisksResponse> {
608
+ return this.request("DetachDisks", req, cb)
542
609
  }
543
610
 
544
611
  /**
@@ -565,16 +632,17 @@ export class Client extends AbstractClient {
565
632
  }
566
633
 
567
634
  /**
568
- * 本接口(DetachDisks)用于卸载云硬盘。
635
+ * 本接口(CreateSnapshot)用于对指定云盘创建快照。
569
636
 
570
- * 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
571
- * 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
637
+ * 只有具有快照能力的云硬盘才能创建快照。云硬盘是否具有快照能力可由[DescribeDisks](/document/product/362/16315)接口查询,见SnapshotAbility字段。
638
+ * 可创建快照数量限制见[产品使用限制](https://cloud.tencent.com/doc/product/362/5145)
639
+ * 当前支持将备份点转化为普通快照,转化之后可能会收取快照使用费用,备份点不保留,其占用的备份点配额也将被释放。
572
640
  */
573
- async DetachDisks(
574
- req: DetachDisksRequest,
575
- cb?: (error: string, rep: DetachDisksResponse) => void
576
- ): Promise<DetachDisksResponse> {
577
- return this.request("DetachDisks", req, cb)
641
+ async CreateSnapshot(
642
+ req: CreateSnapshotRequest,
643
+ cb?: (error: string, rep: CreateSnapshotResponse) => void
644
+ ): Promise<CreateSnapshotResponse> {
645
+ return this.request("CreateSnapshot", req, cb)
578
646
  }
579
647
 
580
648
  /**