tencentcloud-sdk-nodejs-intl-en 3.0.636 → 3.0.638
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 +1 -1
- package/tencentcloud/cbs/v20170312/cbs_client.js +35 -20
- package/tencentcloud/cbs/v20170312/models.js +118 -25
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dnspod/v20210323/dnspod_client.js +418 -49
- package/tencentcloud/dnspod/v20210323/models.js +4254 -444
- package/tencentcloud/lcic/v20220817/lcic_client.js +406 -71
- package/tencentcloud/lcic/v20220817/models.js +3492 -421
- package/tencentcloud/sqlserver/v20180328/models.js +173 -71
- package/tencentcloud/sqlserver/v20180328/sqlserver_client.js +3 -2
- package/tencentcloud/trtc/v20190722/models.js +8 -0
- package/tencentcloud/vod/v20180717/models.js +2419 -452
- package/tencentcloud/vod/v20180717/vod_client.js +130 -42
package/package.json
CHANGED
|
@@ -22,6 +22,7 @@ const ModifyDiskAttributesResponse = models.ModifyDiskAttributesResponse;
|
|
|
22
22
|
const DescribeDiskBackupsRequest = models.DescribeDiskBackupsRequest;
|
|
23
23
|
const AutoSnapshotPolicy = models.AutoSnapshotPolicy;
|
|
24
24
|
const DescribeSnapshotOperationLogsRequest = models.DescribeSnapshotOperationLogsRequest;
|
|
25
|
+
const CreateDiskBackupRequest = models.CreateDiskBackupRequest;
|
|
25
26
|
const CopySnapshotCrossRegionsResponse = models.CopySnapshotCrossRegionsResponse;
|
|
26
27
|
const ModifyAutoSnapshotPolicyAttributeResponse = models.ModifyAutoSnapshotPolicyAttributeResponse;
|
|
27
28
|
const ModifyDiskBackupQuotaRequest = models.ModifyDiskBackupQuotaRequest;
|
|
@@ -75,6 +76,7 @@ const InitializeDisksRequest = models.InitializeDisksRequest;
|
|
|
75
76
|
const CreateAutoSnapshotPolicyResponse = models.CreateAutoSnapshotPolicyResponse;
|
|
76
77
|
const ModifySnapshotAttributeRequest = models.ModifySnapshotAttributeRequest;
|
|
77
78
|
const DiskConfig = models.DiskConfig;
|
|
79
|
+
const CreateDiskBackupResponse = models.CreateDiskBackupResponse;
|
|
78
80
|
const InquirePriceModifyDiskBackupQuotaResponse = models.InquirePriceModifyDiskBackupQuotaResponse;
|
|
79
81
|
const DeleteAutoSnapshotPoliciesRequest = models.DeleteAutoSnapshotPoliciesRequest;
|
|
80
82
|
const DiskChargePrepaid = models.DiskChargePrepaid;
|
|
@@ -291,7 +293,9 @@ If the parameter is empty, a certain number (as specified by `Limit` and 20 by d
|
|
|
291
293
|
}
|
|
292
294
|
|
|
293
295
|
/**
|
|
294
|
-
*
|
|
296
|
+
* 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
|
|
297
|
+
|
|
298
|
+
This API (DescribeDiskOperationLogs) is used to query a list of cloud disk operation logs.
|
|
295
299
|
|
|
296
300
|
This can be filtered according to the cloud disk ID. The format of cloud disk IDs is as follows: disk-a1kmcp13.
|
|
297
301
|
|
|
@@ -516,6 +520,17 @@ This can be filtered according to the cloud disk ID. The format of cloud disk ID
|
|
|
516
520
|
this.request("UnbindAutoSnapshotPolicy", req, resp, cb);
|
|
517
521
|
}
|
|
518
522
|
|
|
523
|
+
/**
|
|
524
|
+
* This API is used to create a backup point for a cloud disk.
|
|
525
|
+
* @param {CreateDiskBackupRequest} req
|
|
526
|
+
* @param {function(string, CreateDiskBackupResponse):void} cb
|
|
527
|
+
* @public
|
|
528
|
+
*/
|
|
529
|
+
CreateDiskBackup(req, cb) {
|
|
530
|
+
let resp = new CreateDiskBackupResponse();
|
|
531
|
+
this.request("CreateDiskBackup", req, resp, cb);
|
|
532
|
+
}
|
|
533
|
+
|
|
519
534
|
/**
|
|
520
535
|
* This API (ApplySnapshot) is used to roll back a snapshot to the original cloud disk.
|
|
521
536
|
|
|
@@ -532,9 +547,9 @@ This can be filtered according to the cloud disk ID. The format of cloud disk ID
|
|
|
532
547
|
}
|
|
533
548
|
|
|
534
549
|
/**
|
|
535
|
-
*
|
|
550
|
+
* 接口已废弃,切换至云审计接口。见https://tapd.woa.com/pro/prong/stories/view/1010114221880719007
|
|
536
551
|
|
|
537
|
-
|
|
552
|
+
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.
|
|
538
553
|
|
|
539
554
|
* @param {DescribeSnapshotOperationLogsRequest} req
|
|
540
555
|
* @param {function(string, DescribeSnapshotOperationLogsResponse):void} cb
|
|
@@ -563,18 +578,17 @@ After snapshots are shared, the accounts they are shared to can use the snapshot
|
|
|
563
578
|
}
|
|
564
579
|
|
|
565
580
|
/**
|
|
566
|
-
* This API is used to
|
|
581
|
+
* This API is used to unmount one or more cloud disks.
|
|
567
582
|
|
|
568
|
-
* You can
|
|
569
|
-
*
|
|
570
|
-
*
|
|
571
|
-
* @param {
|
|
572
|
-
* @param {function(string, CreateSnapshotResponse):void} cb
|
|
583
|
+
* Batch operation is supported. You can unmount multiple cloud disks from the same CVM in a single request. If any of these cloud disks cannot be unmounted, the operation fails and a specific error code returns.
|
|
584
|
+
* This is an async API. A successful request does not mean that the cloud disks have been unmounted successfully. You can call the [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1) API to query the status of cloud disks. When the status changes from `ATTACHED` to `UNATTACHED`, the unmounting is successful.
|
|
585
|
+
* @param {DetachDisksRequest} req
|
|
586
|
+
* @param {function(string, DetachDisksResponse):void} cb
|
|
573
587
|
* @public
|
|
574
588
|
*/
|
|
575
|
-
|
|
576
|
-
let resp = new
|
|
577
|
-
this.request("
|
|
589
|
+
DetachDisks(req, cb) {
|
|
590
|
+
let resp = new DetachDisksResponse();
|
|
591
|
+
this.request("DetachDisks", req, resp, cb);
|
|
578
592
|
}
|
|
579
593
|
|
|
580
594
|
/**
|
|
@@ -603,17 +617,18 @@ After snapshots are shared, the accounts they are shared to can use the snapshot
|
|
|
603
617
|
}
|
|
604
618
|
|
|
605
619
|
/**
|
|
606
|
-
* This API is used to
|
|
620
|
+
* This API is used to create a snapshot for the specified cloud disk.
|
|
607
621
|
|
|
608
|
-
*
|
|
609
|
-
*
|
|
610
|
-
|
|
611
|
-
* @param {
|
|
622
|
+
* You can only create snapshots for cloud disks with the snapshot capability. To check whether a cloud disk is snapshot-enabled, call the [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1) API and see the `SnapshotAbility` field in the response.
|
|
623
|
+
* For the maximum number of snapshots that can be created, see [Use Limits](https://intl.cloud.tencent.com/doc/product/362/5145?from_cn_redirect=1).
|
|
624
|
+
* Currently, you can convert backup points into general snapshots. After the conversion, snapshot usage fees may be charged, backup points will not be retained, and the occupied backup point quota will be released.
|
|
625
|
+
* @param {CreateSnapshotRequest} req
|
|
626
|
+
* @param {function(string, CreateSnapshotResponse):void} cb
|
|
612
627
|
* @public
|
|
613
628
|
*/
|
|
614
|
-
|
|
615
|
-
let resp = new
|
|
616
|
-
this.request("
|
|
629
|
+
CreateSnapshot(req, cb) {
|
|
630
|
+
let resp = new CreateSnapshotResponse();
|
|
631
|
+
this.request("CreateSnapshot", req, resp, cb);
|
|
617
632
|
}
|
|
618
633
|
|
|
619
634
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
const AbstractModel = require("../../common/abstract_model");
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Snapshot operation log (disused).
|
|
21
21
|
* @class
|
|
22
22
|
*/
|
|
23
23
|
class SnapshotOperationLog extends AbstractModel {
|
|
@@ -25,45 +25,45 @@ class SnapshotOperationLog extends AbstractModel {
|
|
|
25
25
|
super();
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
|
|
28
|
+
* Status of operation. Value range:
|
|
29
|
+
SUCCESS: Operation successful
|
|
30
|
+
FAILED: Operation failed
|
|
31
|
+
PROCESSING: Operation in process
|
|
30
32
|
* @type {string || null}
|
|
31
33
|
*/
|
|
32
|
-
this.
|
|
34
|
+
this.OperationState = null;
|
|
33
35
|
|
|
34
36
|
/**
|
|
35
|
-
*
|
|
36
|
-
SNAP_OPERATION_DELETE: Delete snapshot
|
|
37
|
-
SNAP_OPERATION_ROLLBACK: Roll back snapshot
|
|
38
|
-
SNAP_OPERATION_MODIFY: Modify snapshot attributes
|
|
39
|
-
SNAP_OPERATION_CREATE: Create snapshot
|
|
40
|
-
SNAP_OPERATION_COPY: Cross-region replication of snapshot
|
|
41
|
-
ASP_OPERATION_CREATE_SNAP: Create snapshot with scheduled snapshot policy
|
|
42
|
-
ASP_OPERATION_DELETE_SNAP: Delete snapshot from scheduled snapshot policy
|
|
37
|
+
* Start time
|
|
43
38
|
* @type {string || null}
|
|
44
39
|
*/
|
|
45
|
-
this.
|
|
40
|
+
this.StartTime = null;
|
|
46
41
|
|
|
47
42
|
/**
|
|
48
|
-
*
|
|
43
|
+
* UIN of operator.
|
|
44
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
49
45
|
* @type {string || null}
|
|
50
46
|
*/
|
|
51
|
-
this.
|
|
47
|
+
this.Operator = null;
|
|
52
48
|
|
|
53
49
|
/**
|
|
54
|
-
*
|
|
55
|
-
SUCCESS: Operation successful
|
|
56
|
-
FAILED: Operation failed
|
|
57
|
-
PROCESSING: Operation in process
|
|
50
|
+
* ID of snapshot being operated.
|
|
58
51
|
* @type {string || null}
|
|
59
52
|
*/
|
|
60
|
-
this.
|
|
53
|
+
this.SnapshotId = null;
|
|
61
54
|
|
|
62
55
|
/**
|
|
63
|
-
*
|
|
56
|
+
* Operation type. Value range:
|
|
57
|
+
SNAP_OPERATION_DELETE: Delete snapshot
|
|
58
|
+
SNAP_OPERATION_ROLLBACK: Roll back snapshot
|
|
59
|
+
SNAP_OPERATION_MODIFY: Modify snapshot attributes
|
|
60
|
+
SNAP_OPERATION_CREATE: Create snapshot
|
|
61
|
+
SNAP_OPERATION_COPY: Cross-region replication of snapshot
|
|
62
|
+
ASP_OPERATION_CREATE_SNAP: Create snapshot with scheduled snapshot policy
|
|
63
|
+
ASP_OPERATION_DELETE_SNAP: Delete snapshot from scheduled snapshot policy
|
|
64
64
|
* @type {string || null}
|
|
65
65
|
*/
|
|
66
|
-
this.
|
|
66
|
+
this.Operation = null;
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* End time
|
|
@@ -80,11 +80,11 @@ PROCESSING: Operation in process
|
|
|
80
80
|
if (!params) {
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
83
|
-
this.Operator = 'Operator' in params ? params.Operator : null;
|
|
84
|
-
this.Operation = 'Operation' in params ? params.Operation : null;
|
|
85
|
-
this.SnapshotId = 'SnapshotId' in params ? params.SnapshotId : null;
|
|
86
83
|
this.OperationState = 'OperationState' in params ? params.OperationState : null;
|
|
87
84
|
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
85
|
+
this.Operator = 'Operator' in params ? params.Operator : null;
|
|
86
|
+
this.SnapshotId = 'SnapshotId' in params ? params.SnapshotId : null;
|
|
87
|
+
this.Operation = 'Operation' in params ? params.Operation : null;
|
|
88
88
|
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
89
89
|
|
|
90
90
|
}
|
|
@@ -400,6 +400,41 @@ class DescribeSnapshotOperationLogsRequest extends AbstractModel {
|
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
+
/**
|
|
404
|
+
* CreateDiskBackup request structure.
|
|
405
|
+
* @class
|
|
406
|
+
*/
|
|
407
|
+
class CreateDiskBackupRequest extends AbstractModel {
|
|
408
|
+
constructor(){
|
|
409
|
+
super();
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Name of the cloud disk for which to create a backup point.
|
|
413
|
+
* @type {string || null}
|
|
414
|
+
*/
|
|
415
|
+
this.DiskId = null;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Name of the cloud disk backup point, which can contain up to 100 characters.
|
|
419
|
+
* @type {string || null}
|
|
420
|
+
*/
|
|
421
|
+
this.DiskBackupName = null;
|
|
422
|
+
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* @private
|
|
427
|
+
*/
|
|
428
|
+
deserialize(params) {
|
|
429
|
+
if (!params) {
|
|
430
|
+
return;
|
|
431
|
+
}
|
|
432
|
+
this.DiskId = 'DiskId' in params ? params.DiskId : null;
|
|
433
|
+
this.DiskBackupName = 'DiskBackupName' in params ? params.DiskBackupName : null;
|
|
434
|
+
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
|
|
403
438
|
/**
|
|
404
439
|
* CopySnapshotCrossRegions response structure.
|
|
405
440
|
* @class
|
|
@@ -1726,6 +1761,12 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
1726
1761
|
*/
|
|
1727
1762
|
this.DeleteSnapshot = null;
|
|
1728
1763
|
|
|
1764
|
+
/**
|
|
1765
|
+
* Quota of cloud disk backup points, i.e., the maximum number of backup points that a cloud disk can have.
|
|
1766
|
+
* @type {number || null}
|
|
1767
|
+
*/
|
|
1768
|
+
this.DiskBackupQuota = null;
|
|
1769
|
+
|
|
1729
1770
|
/**
|
|
1730
1771
|
* Number of used cloud disk backups.
|
|
1731
1772
|
* @type {number || null}
|
|
@@ -1738,6 +1779,18 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
1738
1779
|
*/
|
|
1739
1780
|
this.InstanceType = null;
|
|
1740
1781
|
|
|
1782
|
+
/**
|
|
1783
|
+
*
|
|
1784
|
+
* @type {string || null}
|
|
1785
|
+
*/
|
|
1786
|
+
this.LastAttachInsId = null;
|
|
1787
|
+
|
|
1788
|
+
/**
|
|
1789
|
+
*
|
|
1790
|
+
* @type {string || null}
|
|
1791
|
+
*/
|
|
1792
|
+
this.ErrorPrompt = null;
|
|
1793
|
+
|
|
1741
1794
|
}
|
|
1742
1795
|
|
|
1743
1796
|
/**
|
|
@@ -1796,8 +1849,11 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
1796
1849
|
this.Shareable = 'Shareable' in params ? params.Shareable : null;
|
|
1797
1850
|
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
1798
1851
|
this.DeleteSnapshot = 'DeleteSnapshot' in params ? params.DeleteSnapshot : null;
|
|
1852
|
+
this.DiskBackupQuota = 'DiskBackupQuota' in params ? params.DiskBackupQuota : null;
|
|
1799
1853
|
this.DiskBackupCount = 'DiskBackupCount' in params ? params.DiskBackupCount : null;
|
|
1800
1854
|
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
1855
|
+
this.LastAttachInsId = 'LastAttachInsId' in params ? params.LastAttachInsId : null;
|
|
1856
|
+
this.ErrorPrompt = 'ErrorPrompt' in params ? params.ErrorPrompt : null;
|
|
1801
1857
|
|
|
1802
1858
|
}
|
|
1803
1859
|
}
|
|
@@ -2928,6 +2984,41 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
2928
2984
|
}
|
|
2929
2985
|
}
|
|
2930
2986
|
|
|
2987
|
+
/**
|
|
2988
|
+
* CreateDiskBackup response structure.
|
|
2989
|
+
* @class
|
|
2990
|
+
*/
|
|
2991
|
+
class CreateDiskBackupResponse extends AbstractModel {
|
|
2992
|
+
constructor(){
|
|
2993
|
+
super();
|
|
2994
|
+
|
|
2995
|
+
/**
|
|
2996
|
+
* ID of the cloud disk backup point.
|
|
2997
|
+
* @type {string || null}
|
|
2998
|
+
*/
|
|
2999
|
+
this.DiskBackupId = null;
|
|
3000
|
+
|
|
3001
|
+
/**
|
|
3002
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3003
|
+
* @type {string || null}
|
|
3004
|
+
*/
|
|
3005
|
+
this.RequestId = null;
|
|
3006
|
+
|
|
3007
|
+
}
|
|
3008
|
+
|
|
3009
|
+
/**
|
|
3010
|
+
* @private
|
|
3011
|
+
*/
|
|
3012
|
+
deserialize(params) {
|
|
3013
|
+
if (!params) {
|
|
3014
|
+
return;
|
|
3015
|
+
}
|
|
3016
|
+
this.DiskBackupId = 'DiskBackupId' in params ? params.DiskBackupId : null;
|
|
3017
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3018
|
+
|
|
3019
|
+
}
|
|
3020
|
+
}
|
|
3021
|
+
|
|
2931
3022
|
/**
|
|
2932
3023
|
* InquirePriceModifyDiskBackupQuota response structure.
|
|
2933
3024
|
* @class
|
|
@@ -4742,6 +4833,7 @@ module.exports = {
|
|
|
4742
4833
|
DescribeDiskBackupsRequest: DescribeDiskBackupsRequest,
|
|
4743
4834
|
AutoSnapshotPolicy: AutoSnapshotPolicy,
|
|
4744
4835
|
DescribeSnapshotOperationLogsRequest: DescribeSnapshotOperationLogsRequest,
|
|
4836
|
+
CreateDiskBackupRequest: CreateDiskBackupRequest,
|
|
4745
4837
|
CopySnapshotCrossRegionsResponse: CopySnapshotCrossRegionsResponse,
|
|
4746
4838
|
ModifyAutoSnapshotPolicyAttributeResponse: ModifyAutoSnapshotPolicyAttributeResponse,
|
|
4747
4839
|
ModifyDiskBackupQuotaRequest: ModifyDiskBackupQuotaRequest,
|
|
@@ -4795,6 +4887,7 @@ module.exports = {
|
|
|
4795
4887
|
CreateAutoSnapshotPolicyResponse: CreateAutoSnapshotPolicyResponse,
|
|
4796
4888
|
ModifySnapshotAttributeRequest: ModifySnapshotAttributeRequest,
|
|
4797
4889
|
DiskConfig: DiskConfig,
|
|
4890
|
+
CreateDiskBackupResponse: CreateDiskBackupResponse,
|
|
4798
4891
|
InquirePriceModifyDiskBackupQuotaResponse: InquirePriceModifyDiskBackupQuotaResponse,
|
|
4799
4892
|
DeleteAutoSnapshotPoliciesRequest: DeleteAutoSnapshotPoliciesRequest,
|
|
4800
4893
|
DiskChargePrepaid: DiskChargePrepaid,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.638";
|
|
2
2
|
module.exports = sdkVersion
|