tencentcloud-sdk-nodejs-intl-en 3.0.715 → 3.0.717

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.715",
3
+ "version": "3.0.717",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -25,6 +25,7 @@ const AccessGroup = models.AccessGroup;
25
25
  const ModifyFileSystemResponse = models.ModifyFileSystemResponse;
26
26
  const ModifyFileSystemRequest = models.ModifyFileSystemRequest;
27
27
  const DescribeLifeCycleRulesRequest = models.DescribeLifeCycleRulesRequest;
28
+ const Summary = models.Summary;
28
29
  const AssociateAccessGroupsRequest = models.AssociateAccessGroupsRequest;
29
30
  const ModifyAccessGroupRequest = models.ModifyAccessGroupRequest;
30
31
  const DescribeFileSystemsResponse = models.DescribeFileSystemsResponse;
@@ -468,6 +468,75 @@ class DescribeLifeCycleRulesRequest extends AbstractModel {
468
468
  }
469
469
  }
470
470
 
471
+ /**
472
+ * Details about the storage usage of the current lifecycle rule path
473
+ * @class
474
+ */
475
+ class Summary extends AbstractModel {
476
+ constructor(){
477
+ super();
478
+
479
+ /**
480
+ * Capacity usage in bytes
481
+ Note: This field may return null, indicating that no valid values can be obtained.
482
+ * @type {number || null}
483
+ */
484
+ this.CapacityUsed = null;
485
+
486
+ /**
487
+ * COS STANDARD storage usage in bytes
488
+ Note: This field may return null, indicating that no valid values can be obtained.
489
+ * @type {number || null}
490
+ */
491
+ this.StandardCapacityUsed = null;
492
+
493
+ /**
494
+ * COS STANDARD_IA storage usage in bytes
495
+ Note: This field may return null, indicating that no valid values can be obtained.
496
+ * @type {number || null}
497
+ */
498
+ this.DegradeCapacityUsed = null;
499
+
500
+ /**
501
+ * COS ARCHIVE storage usage in bytes
502
+ Note: This field may return null, indicating that no valid values can be obtained.
503
+ * @type {number || null}
504
+ */
505
+ this.ArchiveCapacityUsed = null;
506
+
507
+ /**
508
+ * COS DEEP ARCHIVE storage usage in bytes
509
+ Note: This field may return null, indicating that no valid values can be obtained.
510
+ * @type {number || null}
511
+ */
512
+ this.DeepArchiveCapacityUsed = null;
513
+
514
+ /**
515
+ * COS INTELLIGENT TIERING storage usage in bytes
516
+ Note: This field may return null, indicating that no valid values can be obtained.
517
+ * @type {number || null}
518
+ */
519
+ this.IntelligentCapacityUsed = null;
520
+
521
+ }
522
+
523
+ /**
524
+ * @private
525
+ */
526
+ deserialize(params) {
527
+ if (!params) {
528
+ return;
529
+ }
530
+ this.CapacityUsed = 'CapacityUsed' in params ? params.CapacityUsed : null;
531
+ this.StandardCapacityUsed = 'StandardCapacityUsed' in params ? params.StandardCapacityUsed : null;
532
+ this.DegradeCapacityUsed = 'DegradeCapacityUsed' in params ? params.DegradeCapacityUsed : null;
533
+ this.ArchiveCapacityUsed = 'ArchiveCapacityUsed' in params ? params.ArchiveCapacityUsed : null;
534
+ this.DeepArchiveCapacityUsed = 'DeepArchiveCapacityUsed' in params ? params.DeepArchiveCapacityUsed : null;
535
+ this.IntelligentCapacityUsed = 'IntelligentCapacityUsed' in params ? params.IntelligentCapacityUsed : null;
536
+
537
+ }
538
+ }
539
+
471
540
  /**
472
541
  * AssociateAccessGroups request structure.
473
542
  * @class
@@ -2099,6 +2168,18 @@ class LifeCycleRule extends AbstractModel {
2099
2168
  */
2100
2169
  this.CreateTime = null;
2101
2170
 
2171
+ /**
2172
+ * Detailed storage usage of the current lifecycle rule path
2173
+ * @type {Summary || null}
2174
+ */
2175
+ this.Summary = null;
2176
+
2177
+ /**
2178
+ * Update time of `Summary`
2179
+ * @type {string || null}
2180
+ */
2181
+ this.LastSummaryTime = null;
2182
+
2102
2183
  }
2103
2184
 
2104
2185
  /**
@@ -2123,6 +2204,13 @@ class LifeCycleRule extends AbstractModel {
2123
2204
  this.Status = 'Status' in params ? params.Status : null;
2124
2205
  this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
2125
2206
 
2207
+ if (params.Summary) {
2208
+ let obj = new Summary();
2209
+ obj.deserialize(params.Summary)
2210
+ this.Summary = obj;
2211
+ }
2212
+ this.LastSummaryTime = 'LastSummaryTime' in params ? params.LastSummaryTime : null;
2213
+
2126
2214
  }
2127
2215
  }
2128
2216
 
@@ -2681,6 +2769,7 @@ module.exports = {
2681
2769
  ModifyFileSystemResponse: ModifyFileSystemResponse,
2682
2770
  ModifyFileSystemRequest: ModifyFileSystemRequest,
2683
2771
  DescribeLifeCycleRulesRequest: DescribeLifeCycleRulesRequest,
2772
+ Summary: Summary,
2684
2773
  AssociateAccessGroupsRequest: AssociateAccessGroupsRequest,
2685
2774
  ModifyAccessGroupRequest: ModifyAccessGroupRequest,
2686
2775
  DescribeFileSystemsResponse: DescribeFileSystemsResponse,
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.715";
1
+ const sdkVersion = "3.0.717";
2
2
  module.exports = sdkVersion
@@ -30,6 +30,7 @@ const ModifyInstanceVportResponse = models.ModifyInstanceVportResponse;
30
30
  const DescribeDCDBInstanceDetailRequest = models.DescribeDCDBInstanceDetailRequest;
31
31
  const ModifyInstanceVipResponse = models.ModifyInstanceVipResponse;
32
32
  const AssociateSecurityGroupsRequest = models.AssociateSecurityGroupsRequest;
33
+ const ShardBriefInfo = models.ShardBriefInfo;
33
34
  const DescribeDBSecurityGroupsResponse = models.DescribeDBSecurityGroupsResponse;
34
35
  const CancelDcnJobResponse = models.CancelDcnJobResponse;
35
36
  const DescribeFileDownloadUrlRequest = models.DescribeFileDownloadUrlRequest;
@@ -44,6 +45,7 @@ const ModifyDBInstanceNameResponse = models.ModifyDBInstanceNameResponse;
44
45
  const DescribeFlowResponse = models.DescribeFlowResponse;
45
46
  const UpgradeHourDCDBInstanceRequest = models.UpgradeHourDCDBInstanceRequest;
46
47
  const CloneAccountResponse = models.CloneAccountResponse;
48
+ const IsolateDCDBInstanceRequest = models.IsolateDCDBInstanceRequest;
47
49
  const IsolateDedicatedDBInstanceRequest = models.IsolateDedicatedDBInstanceRequest;
48
50
  const ModifyAccountDescriptionResponse = models.ModifyAccountDescriptionResponse;
49
51
  const DestroyDCDBInstanceRequest = models.DestroyDCDBInstanceRequest;
@@ -53,6 +55,7 @@ const ModifyDBInstancesProjectResponse = models.ModifyDBInstancesProjectResponse
53
55
  const ModifyDBEncryptAttributesResponse = models.ModifyDBEncryptAttributesResponse;
54
56
  const DescribeDCDBInstanceNodeInfoRequest = models.DescribeDCDBInstanceNodeInfoRequest;
55
57
  const DatabaseView = models.DatabaseView;
58
+ const ConfigValue = models.ConfigValue;
56
59
  const DescribeDBLogFilesRequest = models.DescribeDBLogFilesRequest;
57
60
  const NodeInfo = models.NodeInfo;
58
61
  const DescribeOrdersResponse = models.DescribeOrdersResponse;
@@ -74,7 +77,10 @@ const ParamConstraint = models.ParamConstraint;
74
77
  const ResetAccountPasswordResponse = models.ResetAccountPasswordResponse;
75
78
  const DescribeDatabaseObjectsRequest = models.DescribeDatabaseObjectsRequest;
76
79
  const ExpandShardConfig = models.ExpandShardConfig;
80
+ const ModifyAccountConfigRequest = models.ModifyAccountConfigRequest;
81
+ const DescribeDBEncryptAttributesResponse = models.DescribeDBEncryptAttributesResponse;
77
82
  const DatabaseTable = models.DatabaseTable;
83
+ const DescribeDBEncryptAttributesRequest = models.DescribeDBEncryptAttributesRequest;
78
84
  const Deal = models.Deal;
79
85
  const GrantAccountPrivilegesRequest = models.GrantAccountPrivilegesRequest;
80
86
  const DescribeDCDBShardsRequest = models.DescribeDCDBShardsRequest;
@@ -110,7 +116,7 @@ const CancelDcnJobRequest = models.CancelDcnJobRequest;
110
116
  const IsolateHourDCDBInstanceResponse = models.IsolateHourDCDBInstanceResponse;
111
117
  const ShardInfo = models.ShardInfo;
112
118
  const ModifyInstanceVipRequest = models.ModifyInstanceVipRequest;
113
- const ShardBriefInfo = models.ShardBriefInfo;
119
+ const ReservedNetResource = models.ReservedNetResource;
114
120
  const DatabasePrivilege = models.DatabasePrivilege;
115
121
  const ModifyDBInstancesProjectRequest = models.ModifyDBInstancesProjectRequest;
116
122
  const DcnDetailItem = models.DcnDetailItem;
@@ -136,6 +142,8 @@ const CreateDCDBInstanceRequest = models.CreateDCDBInstanceRequest;
136
142
  const DatabaseProcedure = models.DatabaseProcedure;
137
143
  const AddShardConfig = models.AddShardConfig;
138
144
  const ModifyDBSyncModeRequest = models.ModifyDBSyncModeRequest;
145
+ const ModifyAccountConfigResponse = models.ModifyAccountConfigResponse;
146
+ const IsolateDCDBInstanceResponse = models.IsolateDCDBInstanceResponse;
139
147
  const ModifyDBEncryptAttributesRequest = models.ModifyDBEncryptAttributesRequest;
140
148
  const CreateAccountResponse = models.CreateAccountResponse;
141
149
  const IsolateDedicatedDBInstanceResponse = models.IsolateDedicatedDBInstanceResponse;
@@ -183,7 +191,18 @@ Note: Accounts with the same username but different hosts are considered as diff
183
191
  }
184
192
 
185
193
  /**
186
- * This API is used to remove the isolation of a pay-as-you-go TDSQL for MySQL instance.
194
+ * This API is used to modify the configurations of an account, such as `max_user_connections`.
195
+ * @param {ModifyAccountConfigRequest} req
196
+ * @param {function(string, ModifyAccountConfigResponse):void} cb
197
+ * @public
198
+ */
199
+ ModifyAccountConfig(req, cb) {
200
+ let resp = new ModifyAccountConfigResponse();
201
+ this.request("ModifyAccountConfig", req, resp, cb);
202
+ }
203
+
204
+ /**
205
+ * This API is used to remove a pay-as-you-go TDSQL instance from isolation.
187
206
  * @param {ActiveHourDCDBInstanceRequest} req
188
207
  * @param {function(string, ActiveHourDCDBInstanceResponse):void} cb
189
208
  * @public
@@ -406,7 +425,7 @@ Note: accounts with the same username but different hosts are different accounts
406
425
  }
407
426
 
408
427
  /**
409
- * This API is used to isolate pay-as-you-go TDSQL for MySQL instances.
428
+ * This API is used to isolate a pay-as-you-go TDSQL instance.
410
429
  * @param {IsolateHourDCDBInstanceRequest} req
411
430
  * @param {function(string, IsolateHourDCDBInstanceResponse):void} cb
412
431
  * @public
@@ -417,7 +436,7 @@ Note: accounts with the same username but different hosts are different accounts
417
436
  }
418
437
 
419
438
  /**
420
- * This API is used to upgrade a pay-as-you-go TDSQL for MySQL instance.
439
+ * This API is used to upgrade a pay-as-you-go TDSQL instance.
421
440
  * @param {UpgradeHourDCDBInstanceRequest} req
422
441
  * @param {function(string, UpgradeHourDCDBInstanceResponse):void} cb
423
442
  * @public
@@ -483,12 +502,7 @@ Note: accounts with the same username but different hosts are different accounts
483
502
  }
484
503
 
485
504
  /**
486
- * This API is used to modify the permissions of a TencentDB instance account.
487
-
488
- **Notes**
489
- - Only the SELECT permission (that is, set the permission parameter to `["SELECT"]`) of the system database `mysql` can be granted.
490
- - An error will be reported if read-write permissions are granted to a read-only account.
491
- - If the parameter is not passed in, no change will be made to the granted table permissions. To clear the granted table permissions, set `Privileges` to an empty array.
505
+ * This API is used to modify the permissions of a TencentDB instance account. \n\n**Note**\n-Only the SELECT permission (that is, set the permission parameter to `["SELECT"]`) of the system database `mysql` can be granted. An error will be reported if read-write permissions are granted to a read-only account. If the parameter is not passed in, no change will be made to the granted table permissions. To clear the granted view permissions, set `Privileges` to an empty array.
492
506
  * @param {ModifyAccountPrivilegesRequest} req
493
507
  * @param {function(string, ModifyAccountPrivilegesResponse):void} cb
494
508
  * @public
@@ -499,7 +513,7 @@ Note: accounts with the same username but different hosts are different accounts
499
513
  }
500
514
 
501
515
  /**
502
- * This API is used to terminate an isolated monthly-subscribed instance.
516
+ * This API is used to terminate an isolated monthly subscribed TDSQL instance.
503
517
  * @param {DestroyDCDBInstanceRequest} req
504
518
  * @param {function(string, DestroyDCDBInstanceResponse):void} cb
505
519
  * @public
@@ -633,7 +647,7 @@ Note: Accounts with the same username but different hosts are different accounts
633
647
  }
634
648
 
635
649
  /**
636
- * This API is used to create a monthly subscribed TencentDB instance by passing in information such as instance specifications, database version number, and purchased duration.
650
+ * This API is used to create a monthly subscribed TDSQL instance by passing in information such as instance specifications, database version number, and purchased duration.
637
651
  * @param {CreateDCDBInstanceRequest} req
638
652
  * @param {function(string, CreateDCDBInstanceResponse):void} cb
639
653
  * @public
@@ -644,7 +658,7 @@ Note: Accounts with the same username but different hosts are different accounts
644
658
  }
645
659
 
646
660
  /**
647
- * This API is used to terminate a pay-as-you-go instance.
661
+ * This API is used to terminate a pay-as-you-go TDSQL instance.
648
662
  * @param {DestroyHourDCDBInstanceRequest} req
649
663
  * @param {function(string, DestroyHourDCDBInstanceResponse):void} cb
650
664
  * @public
@@ -654,6 +668,17 @@ Note: Accounts with the same username but different hosts are different accounts
654
668
  this.request("DestroyHourDCDBInstance", req, resp, cb);
655
669
  }
656
670
 
671
+ /**
672
+ * This API is used to isolate a monthly subscribed TDSQL instance, which will no longer be accessible via IP and port. The isolated instance can be started up in the recycle bin. If it is isolated due to overdue payments, top up your account as soon as possible.
673
+ * @param {IsolateDCDBInstanceRequest} req
674
+ * @param {function(string, IsolateDCDBInstanceResponse):void} cb
675
+ * @public
676
+ */
677
+ IsolateDCDBInstance(req, cb) {
678
+ let resp = new IsolateDCDBInstanceResponse();
679
+ this.request("IsolateDCDBInstance", req, resp, cb);
680
+ }
681
+
657
682
  /**
658
683
  * This API is used to modify instance Vport.
659
684
  * @param {ModifyInstanceVportRequest} req
@@ -743,7 +768,7 @@ Note: Accounts with the same username but different hosts are different accounts
743
768
  }
744
769
 
745
770
  /**
746
- * This API is used to create pay-as-you-go TDSQL for MySQL instances.
771
+ * This API is used to create a pay-as-you-go TDSQL instance.
747
772
  * @param {CreateHourDCDBInstanceRequest} req
748
773
  * @param {function(string, CreateHourDCDBInstanceResponse):void} cb
749
774
  * @public
@@ -764,6 +789,17 @@ Note: Accounts with the same username but different hosts are different accounts
764
789
  this.request("DisassociateSecurityGroups", req, resp, cb);
765
790
  }
766
791
 
792
+ /**
793
+ * This API is used to query the encryption status of the instance data.
794
+ * @param {DescribeDBEncryptAttributesRequest} req
795
+ * @param {function(string, DescribeDBEncryptAttributesResponse):void} cb
796
+ * @public
797
+ */
798
+ DescribeDBEncryptAttributes(req, cb) {
799
+ let resp = new DescribeDBEncryptAttributesResponse();
800
+ this.request("DescribeDBEncryptAttributes", req, resp, cb);
801
+ }
802
+
767
803
  /**
768
804
  * This API is used to modify the security groups associated with TencentDB.
769
805
  * @param {ModifyDBInstanceSecurityGroupsRequest} req