tencentcloud-sdk-nodejs-intl-en 3.0.1357 → 3.0.1358

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-intl-en",
3
- "version": "3.0.1357",
3
+ "version": "3.0.1358",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,16 +16,15 @@
16
16
  */
17
17
  const models = require("./models");
18
18
  const AbstractClient = require('../../common/abstract_client')
19
- const SnapshotOperationLog = models.SnapshotOperationLog;
20
19
  const ModifyDiskExtraPerformanceRequest = models.ModifyDiskExtraPerformanceRequest;
21
20
  const ModifyDiskAttributesResponse = models.ModifyDiskAttributesResponse;
22
21
  const DescribeDiskBackupsRequest = models.DescribeDiskBackupsRequest;
22
+ const CreateSnapshotGroupRequest = models.CreateSnapshotGroupRequest;
23
23
  const AutoSnapshotPolicy = models.AutoSnapshotPolicy;
24
24
  const DetailPrice = models.DetailPrice;
25
- const DescribeSnapshotOperationLogsRequest = models.DescribeSnapshotOperationLogsRequest;
26
- const CreateDiskBackupRequest = models.CreateDiskBackupRequest;
25
+ const ModifySnapshotsSharePermissionRequest = models.ModifySnapshotsSharePermissionRequest;
27
26
  const CopySnapshotCrossRegionsResponse = models.CopySnapshotCrossRegionsResponse;
28
- const ModifyAutoSnapshotPolicyAttributeResponse = models.ModifyAutoSnapshotPolicyAttributeResponse;
27
+ const DescribeSnapshotGroupsRequest = models.DescribeSnapshotGroupsRequest;
29
28
  const ModifyDiskBackupQuotaRequest = models.ModifyDiskBackupQuotaRequest;
30
29
  const InquiryPriceCreateDisksResponse = models.InquiryPriceCreateDisksResponse;
31
30
  const BindAutoSnapshotPolicyRequest = models.BindAutoSnapshotPolicyRequest;
@@ -34,7 +33,6 @@ const DescribeAutoSnapshotPoliciesRequest = models.DescribeAutoSnapshotPoliciesR
34
33
  const ModifySnapshotsSharePermissionResponse = models.ModifySnapshotsSharePermissionResponse;
35
34
  const DeleteDiskBackupsRequest = models.DeleteDiskBackupsRequest;
36
35
  const InitializeDisksResponse = models.InitializeDisksResponse;
37
- const DeleteDiskBackupsResponse = models.DeleteDiskBackupsResponse;
38
36
  const DescribeDiskBackupsResponse = models.DescribeDiskBackupsResponse;
39
37
  const SnapshotCopyResult = models.SnapshotCopyResult;
40
38
  const RenewDiskRequest = models.RenewDiskRequest;
@@ -54,13 +52,16 @@ const Disk = models.Disk;
54
52
  const TerminateDisksResponse = models.TerminateDisksResponse;
55
53
  const ApplySnapshotResponse = models.ApplySnapshotResponse;
56
54
  const DetachDisksRequest = models.DetachDisksRequest;
55
+ const DescribeSnapshotGroupsResponse = models.DescribeSnapshotGroupsResponse;
56
+ const DescribeSnapshotOverviewResponse = models.DescribeSnapshotOverviewResponse;
57
57
  const CreateSnapshotRequest = models.CreateSnapshotRequest;
58
58
  const DescribeInstancesDiskNumRequest = models.DescribeInstancesDiskNumRequest;
59
59
  const DescribeSnapshotSharePermissionResponse = models.DescribeSnapshotSharePermissionResponse;
60
60
  const ModifyDiskBackupQuotaResponse = models.ModifyDiskBackupQuotaResponse;
61
+ const InquiryPriceRenewDisksRequest = models.InquiryPriceRenewDisksRequest;
61
62
  const DescribeSnapshotSharePermissionRequest = models.DescribeSnapshotSharePermissionRequest;
62
63
  const InquirePriceModifyDiskBackupQuotaRequest = models.InquirePriceModifyDiskBackupQuotaRequest;
63
- const DescribeSnapshotOperationLogsResponse = models.DescribeSnapshotOperationLogsResponse;
64
+ const DeleteDiskBackupsResponse = models.DeleteDiskBackupsResponse;
64
65
  const DeleteSnapshotsRequest = models.DeleteSnapshotsRequest;
65
66
  const DeleteAutoSnapshotPoliciesResponse = models.DeleteAutoSnapshotPoliciesResponse;
66
67
  const DescribeDisksResponse = models.DescribeDisksResponse;
@@ -70,9 +71,9 @@ const ModifySnapshotAttributeResponse = models.ModifySnapshotAttributeResponse;
70
71
  const ModifyDiskAttributesRequest = models.ModifyDiskAttributesRequest;
71
72
  const GetSnapOverviewRequest = models.GetSnapOverviewRequest;
72
73
  const Image = models.Image;
74
+ const ModifyAutoSnapshotPolicyAttributeResponse = models.ModifyAutoSnapshotPolicyAttributeResponse;
73
75
  const TerminateDisksRequest = models.TerminateDisksRequest;
74
76
  const DescribeInstancesDiskNumResponse = models.DescribeInstancesDiskNumResponse;
75
- const DescribeDiskOperationLogsResponse = models.DescribeDiskOperationLogsResponse;
76
77
  const ResizeDiskRequest = models.ResizeDiskRequest;
77
78
  const ApplyDiskBackupRequest = models.ApplyDiskBackupRequest;
78
79
  const InitializeDisksRequest = models.InitializeDisksRequest;
@@ -83,19 +84,23 @@ const CreateDiskBackupResponse = models.CreateDiskBackupResponse;
83
84
  const InquirePriceModifyDiskBackupQuotaResponse = models.InquirePriceModifyDiskBackupQuotaResponse;
84
85
  const DeleteAutoSnapshotPoliciesRequest = models.DeleteAutoSnapshotPoliciesRequest;
85
86
  const DiskChargePrepaid = models.DiskChargePrepaid;
87
+ const DeleteSnapshotGroupResponse = models.DeleteSnapshotGroupResponse;
88
+ const ApplySnapshotGroupResponse = models.ApplySnapshotGroupResponse;
89
+ const DescribeSnapshotOverviewRequest = models.DescribeSnapshotOverviewRequest;
86
90
  const Filter = models.Filter;
87
91
  const InquiryPriceCreateDisksRequest = models.InquiryPriceCreateDisksRequest;
88
92
  const DescribeSnapshotsResponse = models.DescribeSnapshotsResponse;
89
93
  const Snapshot = models.Snapshot;
90
94
  const CreateDisksResponse = models.CreateDisksResponse;
91
95
  const AttachDisksResponse = models.AttachDisksResponse;
92
- const ModifySnapshotsSharePermissionRequest = models.ModifySnapshotsSharePermissionRequest;
93
- const DiskOperationLog = models.DiskOperationLog;
96
+ const CreateDiskBackupRequest = models.CreateDiskBackupRequest;
97
+ const DeleteSnapshotGroupRequest = models.DeleteSnapshotGroupRequest;
98
+ const SnapshotGroup = models.SnapshotGroup;
94
99
  const BindAutoSnapshotPolicyResponse = models.BindAutoSnapshotPolicyResponse;
95
- const DescribeDiskOperationLogsRequest = models.DescribeDiskOperationLogsRequest;
96
100
  const DiskBackup = models.DiskBackup;
97
101
  const DescribeDisksRequest = models.DescribeDisksRequest;
98
102
  const DetachDisksResponse = models.DetachDisksResponse;
103
+ const InquiryPriceRenewDisksResponse = models.InquiryPriceRenewDisksResponse;
99
104
  const SharePermission = models.SharePermission;
100
105
  const Policy = models.Policy;
101
106
  const ModifyDiskExtraPerformanceResponse = models.ModifyDiskExtraPerformanceResponse;
@@ -103,6 +108,7 @@ const InquirePriceModifyDiskExtraPerformanceRequest = models.InquirePriceModifyD
103
108
  const InquiryPriceResizeDiskRequest = models.InquiryPriceResizeDiskRequest;
104
109
  const DescribeDiskConfigQuotaRequest = models.DescribeDiskConfigQuotaRequest;
105
110
  const DescribeDiskAssociatedAutoSnapshotPolicyResponse = models.DescribeDiskAssociatedAutoSnapshotPolicyResponse;
111
+ const ApplySnapshotGroupRequest = models.ApplySnapshotGroupRequest;
106
112
  const GetSnapOverviewResponse = models.GetSnapOverviewResponse;
107
113
  const AutoMountConfiguration = models.AutoMountConfiguration;
108
114
  const CopySnapshotCrossRegionsRequest = models.CopySnapshotCrossRegionsRequest;
@@ -110,9 +116,11 @@ const PrepayPrice = models.PrepayPrice;
110
116
  const RenewDiskResponse = models.RenewDiskResponse;
111
117
  const DescribeAutoSnapshotPoliciesResponse = models.DescribeAutoSnapshotPoliciesResponse;
112
118
  const UnbindAutoSnapshotPolicyRequest = models.UnbindAutoSnapshotPolicyRequest;
119
+ const ApplyDisk = models.ApplyDisk;
113
120
  const UnbindAutoSnapshotPolicyResponse = models.UnbindAutoSnapshotPolicyResponse;
114
121
  const AttachDetail = models.AttachDetail;
115
122
  const CreateAutoSnapshotPolicyRequest = models.CreateAutoSnapshotPolicyRequest;
123
+ const CreateSnapshotGroupResponse = models.CreateSnapshotGroupResponse;
116
124
  const Price = models.Price;
117
125
  const ApplySnapshotRequest = models.ApplySnapshotRequest;
118
126
 
@@ -154,11 +162,11 @@ This API is used to support renewal along with mounted instances. The parameter
154
162
  }
155
163
 
156
164
  /**
157
- * This API is used to roll back a backup point to the original cloud disk.
165
+ * This API is used to roll back a backup to the original cloud disk.
158
166
 
159
- * Only rollback to the original cloud disk is supported. For a data disk backup point, if you want to copy the backup point data to another cloud disk, use the `CreateSnapshot` API to convert the backup point into a snapshot, use the `CreateDisks` API to create an elastic cloud disk, and then copy the snapshot data to it.
160
- * Only backup points in `NORMAL` status can be rolled back. To query the status of a backup point, call the `DescribeDiskBackups` API and see the `BackupState` field in the response.
161
- * For an elastic cloud disk, it must be in unattached status. To query the status of the cloud disk, call the `DescribeDisks` API and see the `Attached` field in the response. For a non-elastic cloud disk purchased together with an instance, the instance must be in shutdown status, which can be queried through the `DescribeInstancesStatus` API.
167
+ This API only supports rolling back to the original cloud disk. For data disk backup points, if you need to copy backup point data to other CBS, use first [CreateSnapshot](https://www.tencentcloud.com/document/product/362/15648?from_cn_redirect=1) to convert the backup point to a snapshot, and use [CreateDisks](https://www.tencentcloud.com/document/product/362/16312?from_cn_redirect=1) to create a new elastic cloud disk, then copy snapshot data to the newly purchased cloud disk.
168
+ The backup point used for rollback must be in NORMAL status. The backup point status can be checked through the [DescribeDiskBackups](https://www.tencentcloud.com/document/product/362/80278?from_cn_redirect=1) API, see BackupState field explanation in the output parameter.
169
+ If it is an elastic cloud disk, the CBS must be in an unmounted state. The CBS mount status can be queried through the [DescribeDisks](https://www.tencentcloud.com/document/product/362/16315?from_cn_redirect=1) API. See Attached field explanation. If it is a non-elastic cloud hard disk purchased together with the instance, the instance must be in a powered off state. The instance status can be queried through the [DescribeInstancesStatus](https://www.tencentcloud.com/document/product/213/15738?from_cn_redirect=1) API.
162
170
  * @param {ApplyDiskBackupRequest} req
163
171
  * @param {function(string, ApplyDiskBackupResponse):void} cb
164
172
  * @public
@@ -169,10 +177,10 @@ This API is used to support renewal along with mounted instances. The parameter
169
177
  }
170
178
 
171
179
  /**
172
- * This API is used to replicate a snapshot to another region.
180
+ * This API is used to replicate snapshots across regions.
173
181
 
174
- * This is an async API. A new snapshot ID is issued when the cross-region replication task is generated. It does not mean that the snapshot has been replicated successfully. You can all the [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1) API in the destination region to check for this snapshot. If the snapshot status is `NORMAL`, the snapshot is replicated successfully.
175
- * The snapshot cross-region replication service will be commercialized in the Q3 of 2022. We will notify users about the commercialization in advance. Please check your messages in the Message Center.
182
+ This API is asynchronous. When the cross-region replication request is issued successfully, it returns a new snapshot ID. At this point, the snapshot is not immediately replicated to the target region. You can use the [DescribeSnapshots](https://www.tencentcloud.com/document/product/362/15647?from_cn_redirect=1) API for the query in the target region to check the snapshot status and determine whether the replication is complete. If the snapshot status is "NORMAL", it indicates snapshot replication is complete.
183
+ This API is used to perform snapshot cross-region replication, which will generate cross-region traffic. Commercial billing for this feature is expected in Q3 2025. Please check subsequent Message Center notices to avoid unexpected charges.
176
184
  * @param {CopySnapshotCrossRegionsRequest} req
177
185
  * @param {function(string, CopySnapshotCrossRegionsResponse):void} cb
178
186
  * @public
@@ -246,14 +254,29 @@ This API is used to support renewal along with mounted instances. The parameter
246
254
  }
247
255
 
248
256
  /**
249
- * This API is used to query the price of a cloud disk after its backup point quota is modified.
250
- * @param {InquirePriceModifyDiskBackupQuotaRequest} req
251
- * @param {function(string, InquirePriceModifyDiskBackupQuotaResponse):void} cb
257
+ * This API is used to create a snapshot group.
258
+ This API is used to create snapshot groups. The CBS list must be mounted on the same instance.
259
+ This API is used to create snapshot groups for all or some of the disks mounted to instance.
260
+ * @param {CreateSnapshotGroupRequest} req
261
+ * @param {function(string, CreateSnapshotGroupResponse):void} cb
252
262
  * @public
253
263
  */
254
- InquirePriceModifyDiskBackupQuota(req, cb) {
255
- let resp = new InquirePriceModifyDiskBackupQuotaResponse();
256
- this.request("InquirePriceModifyDiskBackupQuota", req, resp, cb);
264
+ CreateSnapshotGroup(req, cb) {
265
+ let resp = new CreateSnapshotGroupResponse();
266
+ this.request("CreateSnapshotGroup", req, resp, cb);
267
+ }
268
+
269
+ /**
270
+ * This API is used to delete snapshot groups. One snapshot group can be deleted per call.
271
+ This API is used to delete all snapshots in the snapshot group by default.
272
+ This API is used to delete a snapshot group. If a snapshot in the snapshot group has an associated image, deletion will fail and no snapshot will be deleted. Parameters can be input to enable simultaneous deletion of images bound to the snapshot by setting DeleteBindImages equal to true.
273
+ * @param {DeleteSnapshotGroupRequest} req
274
+ * @param {function(string, DeleteSnapshotGroupResponse):void} cb
275
+ * @public
276
+ */
277
+ DeleteSnapshotGroup(req, cb) {
278
+ let resp = new DeleteSnapshotGroupResponse();
279
+ this.request("DeleteSnapshotGroup", req, resp, cb);
257
280
  }
258
281
 
259
282
  /**
@@ -268,17 +291,18 @@ This API is used to support renewal along with mounted instances. The parameter
268
291
  }
269
292
 
270
293
  /**
271
- * This API (ModifyAutoSnapshotPolicyAttribute) is used to modify the attributes of an automatic snapshot policy.
272
-
273
- * You can use this API to modify the attributes of a scheduled snapshot policy, including the execution policy, name, and activation.
274
- * When modifying the number of days for retention, you must ensure that there is no clash with the permanent retention attribute. Otherwise, the entire operation will fail and a specific error code will be returned.
275
- * @param {ModifyAutoSnapshotPolicyAttributeRequest} req
276
- * @param {function(string, ModifyAutoSnapshotPolicyAttributeResponse):void} cb
294
+ * This API is used to reinitialize the cloud disks. Note the following when reinitializing the cloud disks:
295
+ 1. For a cloud disk created from a snapshot, it is rolled back to the state of the snapshot;
296
+ 2. For a cloud disk created from the scratch, all data are cleared. Please check and back up the necessary data before the reinitialization;
297
+ 3. Currently, you can only re-initialize a cloud disk when it’s not attached to a resource and not shared by others;
298
+ 4. For a cloud disk created from a snapshot, if the snapshot has been deleted, it cannot be reinitialized.
299
+ * @param {InitializeDisksRequest} req
300
+ * @param {function(string, InitializeDisksResponse):void} cb
277
301
  * @public
278
302
  */
279
- ModifyAutoSnapshotPolicyAttribute(req, cb) {
280
- let resp = new ModifyAutoSnapshotPolicyAttributeResponse();
281
- this.request("ModifyAutoSnapshotPolicyAttribute", req, resp, cb);
303
+ InitializeDisks(req, cb) {
304
+ let resp = new InitializeDisksResponse();
305
+ this.request("InitializeDisks", req, resp, cb);
282
306
  }
283
307
 
284
308
  /**
@@ -309,18 +333,17 @@ If the parameter is empty, a certain number (as specified by `Limit` and 20 by d
309
333
  }
310
334
 
311
335
  /**
312
- * 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
313
-
314
- This API has been disused. Use the CloudAudit API instead, For more information, visit https://tapd.woa.com/pro/prong/stories/view/1010114221880719007.
315
-
316
- This API is used to query the operation logs of a cloud disk. It will be disused soon. Use [LookUpEvents](https://intl.cloud.tencent.com/document/product/629/12359?from_cn_redirect=1) instead.
317
- * @param {DescribeDiskOperationLogsRequest} req
318
- * @param {function(string, DescribeDiskOperationLogsResponse):void} cb
336
+ * This API is used to rollback a snapshot group and restore the instance to the state at the moment the snapshot group was created.
337
+ This API is used to roll back all or part of the disks in the snapshot group.
338
+ This API is used to roll back disks. If the disks to be rolled back contain mounted disks, they must be mounted to the same instance, and the instance must be shut down before rollback.
339
+ Rollback is an asynchronous operation. A successful API return does not indicate a successful rollback. You can call DescribeSnapshotGroups to check the snapshot group status.
340
+ * @param {ApplySnapshotGroupRequest} req
341
+ * @param {function(string, ApplySnapshotGroupResponse):void} cb
319
342
  * @public
320
343
  */
321
- DescribeDiskOperationLogs(req, cb) {
322
- let resp = new DescribeDiskOperationLogsResponse();
323
- this.request("DescribeDiskOperationLogs", req, resp, cb);
344
+ ApplySnapshotGroup(req, cb) {
345
+ let resp = new ApplySnapshotGroupResponse();
346
+ this.request("ApplySnapshotGroup", req, resp, cb);
324
347
  }
325
348
 
326
349
  /**
@@ -337,18 +360,17 @@ This API is used to query the operation logs of a cloud disk. It will be disused
337
360
  }
338
361
 
339
362
  /**
340
- * This API is used to reinitialize the cloud disks. Note the following when reinitializing the cloud disks:
341
- 1. For a cloud disk created from a snapshot, it is rolled back to the state of the snapshot;
342
- 2. For a cloud disk created from the scratch, all data are cleared. Please check and back up the necessary data before the reinitialization;
343
- 3. Currently, you can only re-initialize a cloud disk when it’s not attached to a resource and not shared by others;
344
- 4. For a cloud disk created from a snapshot, if the snapshot has been deleted, it cannot be reinitialized.
345
- * @param {InitializeDisksRequest} req
346
- * @param {function(string, InitializeDisksResponse):void} cb
363
+ * This API (CreateAutoSnapshotPolicy) is used to create a scheduled snapshot policy.
364
+
365
+ * For the limits on the number of scheduled snapshot policies that can be created in each region, see [Scheduled Snapshots](https://intl.cloud.tencent.com/document/product/362/8191?from_cn_redirect=1).
366
+ * The quantity and capacity of the snapshots that can be created in each region are limited. For more information, see the **Snapshots** page on the Tencent Cloud Console. If the number of snapshots exceeds the quota, the creation of the scheduled snapshots will fail.
367
+ * @param {CreateAutoSnapshotPolicyRequest} req
368
+ * @param {function(string, CreateAutoSnapshotPolicyResponse):void} cb
347
369
  * @public
348
370
  */
349
- InitializeDisks(req, cb) {
350
- let resp = new InitializeDisksResponse();
351
- this.request("InitializeDisks", req, resp, cb);
371
+ CreateAutoSnapshotPolicy(req, cb) {
372
+ let resp = new CreateAutoSnapshotPolicyResponse();
373
+ this.request("CreateAutoSnapshotPolicy", req, resp, cb);
352
374
  }
353
375
 
354
376
  /**
@@ -391,9 +413,9 @@ This API is used to query the operation logs of a cloud disk. It will be disused
391
413
  }
392
414
 
393
415
  /**
394
- * * Only the project ID of elastic cloud disk can be modified. The project ID of the cloud disk created with the CVM is linked with the CVM. The project ID can be can be queried in the Portable field in the output parameters through the API [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1).
395
- * "Cloud disk name" is only used by users for their management. Tencent Cloud does not use the name as the basis for ticket submission or cloud disk management.
396
- * Batch operations are supported. If multiple cloud disk IDs are specified, all the specified cloud disks must have the same attribute. If there is a cloud disk that does not allow this operation, the operation is not performed and a specific error code is returned.
416
+ * This API is used to modify only the Project ID of elastic cloud disks. The Project ID of a cloud disk created with a host is linked to the host. Whether a cloud disk is elastic can be checked through the [DescribeDisks](https://www.tencentcloud.com/document/product/362/16315?from_cn_redirect=1) API. See the Portable field explanation in the output parameters.
417
+ The "cloud disk name" is only for ease of management for users. Tencent Cloud does not use this name as a basis for submitting tickets or performing cloud disk management operations.
418
+ This API is used to support batch operations. If multiple cloud disk IDs are passed in, modify cloud disks to the same attribute. If there is a cloud disk that does not allow operation, the operation will not be executed and return a specific error code.
397
419
  * @param {ModifyDiskAttributesRequest} req
398
420
  * @param {function(string, ModifyDiskAttributesResponse):void} cb
399
421
  * @public
@@ -418,10 +440,10 @@ This API is used to query the operation logs of a cloud disk. It will be disused
418
440
  }
419
441
 
420
442
  /**
421
- * This API (ModifySnapshotAttribute) is used to modify the attributes of a specified snapshot.
443
+ * This API is used to modify the attributes of a specified snapshot.
422
444
 
423
- * Currently, you can only modify snapshot name and change non-permanent snapshots into permanent snapshots.
424
- * "Snapshot name" is only used by users for their management. Tencent Cloud does not use the name as the basis for ticket submission or snapshot management.
445
+ This API supports modifying snapshot name and expiration time, as well as changing a non-permanent snapshot to a permanent one.
446
+ The "snapshot name" is only for making user management convenient. Tencent Cloud does not use this name as a basis for submitting tickets or managing snapshot operations.
425
447
  * @param {ModifySnapshotAttributeRequest} req
426
448
  * @param {function(string, ModifySnapshotAttributeResponse):void} cb
427
449
  * @public
@@ -482,17 +504,16 @@ This API is used to query the operation logs of a cloud disk. It will be disused
482
504
  }
483
505
 
484
506
  /**
485
- * This API (CreateAutoSnapshotPolicy) is used to create a scheduled snapshot policy.
486
-
487
- * For the limits on the number of scheduled snapshot policies that can be created in each region, see [Scheduled Snapshots](https://intl.cloud.tencent.com/document/product/362/8191?from_cn_redirect=1).
488
- * The quantity and capacity of the snapshots that can be created in each region are limited. For more information, see the **Snapshots** page on the Tencent Cloud Console. If the number of snapshots exceeds the quota, the creation of the scheduled snapshots will fail.
489
- * @param {CreateAutoSnapshotPolicyRequest} req
490
- * @param {function(string, CreateAutoSnapshotPolicyResponse):void} cb
507
+ * This API is used to query the snapshot group list.
508
+ This API is used to query the snapshot group list based on snapshot group ID, snapshot group status or snapshot ID associated with the snapshot group. The relationship among different criteria is AND. For detailed filtering information, see `Filter`.
509
+ If the parameter is empty, a certain number of the cloud disk list for the current user is returned (specified by `Limit`, defaults to 20).
510
+ * @param {DescribeSnapshotGroupsRequest} req
511
+ * @param {function(string, DescribeSnapshotGroupsResponse):void} cb
491
512
  * @public
492
513
  */
493
- CreateAutoSnapshotPolicy(req, cb) {
494
- let resp = new CreateAutoSnapshotPolicyResponse();
495
- this.request("CreateAutoSnapshotPolicy", req, resp, cb);
514
+ DescribeSnapshotGroups(req, cb) {
515
+ let resp = new DescribeSnapshotGroupsResponse();
516
+ this.request("DescribeSnapshotGroups", req, resp, cb);
496
517
  }
497
518
 
498
519
  /**
@@ -562,19 +583,27 @@ This API is used to query the operation logs of a cloud disk. It will be disused
562
583
  }
563
584
 
564
585
  /**
565
- * 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
566
-
567
- This API has been disused. Use the CloudAudit API instead, For more information, visit https://tapd.woa.com/pro/prong/stories/view/1010114221880719007.
586
+ * This API is used to query the price of a cloud disk after its backup point quota is modified.
587
+ * @param {InquirePriceModifyDiskBackupQuotaRequest} req
588
+ * @param {function(string, InquirePriceModifyDiskBackupQuotaResponse):void} cb
589
+ * @public
590
+ */
591
+ InquirePriceModifyDiskBackupQuota(req, cb) {
592
+ let resp = new InquirePriceModifyDiskBackupQuotaResponse();
593
+ this.request("InquirePriceModifyDiskBackupQuota", req, resp, cb);
594
+ }
568
595
 
569
- This API is used to query the operation logs of a snapshot. It will be disused soon. Use [LookUpEvents](https://intl.cloud.tencent.com/document/product/629/12359?from_cn_redirect=1) instead.
596
+ /**
597
+ * This API is used to expand cloud disks.
570
598
 
571
- * @param {DescribeSnapshotOperationLogsRequest} req
572
- * @param {function(string, DescribeSnapshotOperationLogsResponse):void} cb
599
+ *This API supports only the expansion of elastic cloud disks. To query the type of a cloud disk, you can call the [DescribeDisks](https://intl.cloud.tencent.comhttps://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1?from_cn_redirect=1) API and check the `Portable` field in the response. To expand non-elastic cloud disks, you can call the [ResizeInstanceDisks](https://intl.cloud.tencent.com/document/product/213/15731?from_cn_redirect=1) API. *This is an async API. A successful return of this API does not mean that the cloud disk has been expanded successfully. You can call the [DescribeDisks](https://intl.cloud.tencent.comhttps://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1?from_cn_redirect=1) API to query the status of a cloud disk. `EXPANDING` indicates that the expansion is in process.
600
+ * @param {ResizeDiskRequest} req
601
+ * @param {function(string, ResizeDiskResponse):void} cb
573
602
  * @public
574
603
  */
575
- DescribeSnapshotOperationLogs(req, cb) {
576
- let resp = new DescribeSnapshotOperationLogsResponse();
577
- this.request("DescribeSnapshotOperationLogs", req, resp, cb);
604
+ ResizeDisk(req, cb) {
605
+ let resp = new ResizeDiskResponse();
606
+ this.request("ResizeDisk", req, resp, cb);
578
607
  }
579
608
 
580
609
  /**
@@ -594,6 +623,17 @@ After snapshots are shared, the accounts they are shared to can use the snapshot
594
623
  this.request("ModifySnapshotsSharePermission", req, resp, cb);
595
624
  }
596
625
 
626
+ /**
627
+ * This API is used to query the usage overview of user snapshots, including total snapshot capacity, cost capacity, etc.
628
+ * @param {DescribeSnapshotOverviewRequest} req
629
+ * @param {function(string, DescribeSnapshotOverviewResponse):void} cb
630
+ * @public
631
+ */
632
+ DescribeSnapshotOverview(req, cb) {
633
+ let resp = new DescribeSnapshotOverviewResponse();
634
+ this.request("DescribeSnapshotOverview", req, resp, cb);
635
+ }
636
+
597
637
  /**
598
638
  * This API is used to unmount one or more cloud disks.
599
639
 
@@ -609,7 +649,9 @@ After snapshots are shared, the accounts they are shared to can use the snapshot
609
649
  }
610
650
 
611
651
  /**
612
- * This API is used to get snapshot overview information.
652
+ * This API is used to standardize API naming. This API will be decommissioned and replaced by the new API named DescribeSnapshotOverview.
653
+
654
+ This API is used to obtain snapshot overview information.
613
655
  * @param {GetSnapOverviewRequest} req
614
656
  * @param {function(string, GetSnapOverviewResponse):void} cb
615
657
  * @public
@@ -620,16 +662,17 @@ After snapshots are shared, the accounts they are shared to can use the snapshot
620
662
  }
621
663
 
622
664
  /**
623
- * This API is used to expand cloud disks.
665
+ * This API (ModifyAutoSnapshotPolicyAttribute) is used to modify the attributes of an automatic snapshot policy.
624
666
 
625
- *This API supports only the expansion of elastic cloud disks. To query the type of a cloud disk, you can call the [DescribeDisks](https://intl.cloud.tencent.comhttps://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1?from_cn_redirect=1) API and check the `Portable` field in the response. To expand non-elastic cloud disks, you can call the [ResizeInstanceDisks](https://intl.cloud.tencent.com/document/product/213/15731?from_cn_redirect=1) API. *This is an async API. A successful return of this API does not mean that the cloud disk has been expanded successfully. You can call the [DescribeDisks](https://intl.cloud.tencent.comhttps://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1?from_cn_redirect=1) API to query the status of a cloud disk. `EXPANDING` indicates that the expansion is in process.
626
- * @param {ResizeDiskRequest} req
627
- * @param {function(string, ResizeDiskResponse):void} cb
667
+ * You can use this API to modify the attributes of a scheduled snapshot policy, including the execution policy, name, and activation.
668
+ * When modifying the number of days for retention, you must ensure that there is no clash with the permanent retention attribute. Otherwise, the entire operation will fail and a specific error code will be returned.
669
+ * @param {ModifyAutoSnapshotPolicyAttributeRequest} req
670
+ * @param {function(string, ModifyAutoSnapshotPolicyAttributeResponse):void} cb
628
671
  * @public
629
672
  */
630
- ResizeDisk(req, cb) {
631
- let resp = new ResizeDiskResponse();
632
- this.request("ResizeDisk", req, resp, cb);
673
+ ModifyAutoSnapshotPolicyAttribute(req, cb) {
674
+ let resp = new ModifyAutoSnapshotPolicyAttributeResponse();
675
+ this.request("ModifyAutoSnapshotPolicyAttribute", req, resp, cb);
633
676
  }
634
677
 
635
678
  /**
@@ -647,6 +690,20 @@ After snapshots are shared, the accounts they are shared to can use the snapshot
647
690
  this.request("CreateSnapshot", req, resp, cb);
648
691
  }
649
692
 
693
+ /**
694
+ * This API is used to query the renewal price of CBS.
695
+
696
+ This API is used to support renewal along with mounted instances. The parameter specifies CurInstanceDeadline in [DiskChargePrepaid](https://www.tencentcloud.com/document/product/362/15669?from_cn_redirect=1#DiskChargePrepaid), and renewal will be performed at the expiry date after the instance is renewed.
697
+ This API is used to support specifying different renewal durations for multiple cloud disks. The total price for renewing multiple cloud disks is returned.
698
+ * @param {InquiryPriceRenewDisksRequest} req
699
+ * @param {function(string, InquiryPriceRenewDisksResponse):void} cb
700
+ * @public
701
+ */
702
+ InquiryPriceRenewDisks(req, cb) {
703
+ let resp = new InquiryPriceRenewDisksResponse();
704
+ this.request("InquiryPriceRenewDisks", req, resp, cb);
705
+ }
706
+
650
707
 
651
708
  }
652
709
  module.exports = CbsClient;