tencentcloud-sdk-nodejs-intl-en 3.0.592 → 3.0.593

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.592",
3
+ "version": "3.0.593",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -518,7 +518,7 @@ class ClsClient extends AbstractClient {
518
518
  }
519
519
 
520
520
  /**
521
- * This API is used to build a histogram.
521
+ * This API is used to get a log count histogram.
522
522
  * @param {DescribeLogHistogramRequest} req
523
523
  * @param {function(string, DescribeLogHistogramResponse):void} cb
524
524
  * @public
@@ -374,7 +374,7 @@ class DescribeLogHistogramRequest extends AbstractModel {
374
374
  this.Query = null;
375
375
 
376
376
  /**
377
- * Time interval in milliseconds
377
+ * Interval in milliseconds. Condition: (To – From) / Interval ≤ 200
378
378
  * @type {number || null}
379
379
  */
380
380
  this.Interval = null;
@@ -1796,7 +1796,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
1796
1796
 
1797
1797
  /**
1798
1798
  * Syslog protocol. Valid values: `tcp`, `udp`.
1799
- This field can be used when you create/modify collection rule configurations.
1799
+ This field can be used when you create or modify collection rule configurations.
1800
1800
  Note: This field may return null, indicating that no valid values can be obtained.
1801
1801
  * @type {string || null}
1802
1802
  */
@@ -1804,17 +1804,17 @@ Note: This field may return null, indicating that no valid values can be obtaine
1804
1804
 
1805
1805
  /**
1806
1806
  * Listening address and port specified by the syslog collection. Format: [ip]:[port]. Example: 127.0.0.1:9000.
1807
- This field can be used when you create/modify collection rule configurations.
1807
+ This field can be used when you create or modify collection rule configurations.
1808
1808
  Note: This field may return null, indicating that no valid values can be obtained.
1809
1809
  * @type {string || null}
1810
1810
  */
1811
1811
  this.Address = null;
1812
1812
 
1813
1813
  /**
1814
- * `rfc3164`: Resolve logs by using the RFC3164 protocol during the syslog collection.
1815
- `rfc5424`: Resolve logs by using the RFC5424 protocol during the syslog collection.
1816
- `auto`: Automatically match either the RFC3164 or RFC5424 protocol.
1817
- This field can be used when you create/modify collection rule configurations.
1814
+ * `rfc3164`: Resolve logs by using the RFC 3164 protocol during the syslog collection.
1815
+ `rfc5424`: Resolve logs by using the RFC 5424 protocol during the syslog collection.
1816
+ `auto`: Automatically match either the RFC 3164 or RFC 5424 protocol.
1817
+ This field can be used when you create or modify collection rule configurations.
1818
1818
  Note: This field may return null, indicating that no valid values can be obtained.
1819
1819
  * @type {string || null}
1820
1820
  */
@@ -1894,6 +1894,13 @@ class TopicInfo extends AbstractModel {
1894
1894
  */
1895
1895
  this.Index = null;
1896
1896
 
1897
+ /**
1898
+ * Cloud product identifier. If the log topic is created by another cloud product, this field returns the name of the cloud product, such as `CDN` or `TKE`.
1899
+ Note: This field may return null, indicating that no valid values can be obtained.
1900
+ * @type {string || null}
1901
+ */
1902
+ this.AssumerName = null;
1903
+
1897
1904
  /**
1898
1905
  * Creation time
1899
1906
  * @type {string || null}
@@ -1941,6 +1948,20 @@ Note: This field may return `null`, indicating that no valid value was found.
1941
1948
  */
1942
1949
  this.Period = null;
1943
1950
 
1951
+ /**
1952
+ * Cloud product sub-identifier. If the log topic is created by another cloud product, this field returns the name of the cloud product and its log type, such as `TKE-Audit` or `TKE-Event`. Some products only return the cloud product identifier (`AssumerName`), without this field.
1953
+ Note: This field may return null, indicating that no valid values can be obtained.
1954
+ * @type {string || null}
1955
+ */
1956
+ this.SubAssumerName = null;
1957
+
1958
+ /**
1959
+ * Log topic description
1960
+ Note: This field may return null, indicating that no valid values can be obtained.
1961
+ * @type {string || null}
1962
+ */
1963
+ this.Describes = null;
1964
+
1944
1965
  }
1945
1966
 
1946
1967
  /**
@@ -1955,6 +1976,7 @@ Note: This field may return `null`, indicating that no valid value was found.
1955
1976
  this.TopicName = 'TopicName' in params ? params.TopicName : null;
1956
1977
  this.PartitionCount = 'PartitionCount' in params ? params.PartitionCount : null;
1957
1978
  this.Index = 'Index' in params ? params.Index : null;
1979
+ this.AssumerName = 'AssumerName' in params ? params.AssumerName : null;
1958
1980
  this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
1959
1981
  this.Status = 'Status' in params ? params.Status : null;
1960
1982
 
@@ -1970,6 +1992,8 @@ Note: This field may return `null`, indicating that no valid value was found.
1970
1992
  this.MaxSplitPartitions = 'MaxSplitPartitions' in params ? params.MaxSplitPartitions : null;
1971
1993
  this.StorageType = 'StorageType' in params ? params.StorageType : null;
1972
1994
  this.Period = 'Period' in params ? params.Period : null;
1995
+ this.SubAssumerName = 'SubAssumerName' in params ? params.SubAssumerName : null;
1996
+ this.Describes = 'Describes' in params ? params.Describes : null;
1973
1997
 
1974
1998
  }
1975
1999
  }
@@ -3801,7 +3825,7 @@ class CreateTopicRequest extends AbstractModel {
3801
3825
  this.StorageType = null;
3802
3826
 
3803
3827
  /**
3804
- * Lifecycle in days. Value range: 1-3600 (3640 indicates permanent retention)
3828
+ * Lifecycle in days. Value range: 13600 (STANDARD storage); 7–3600 (IA storage). `3640` indicates permanent retention.
3805
3829
  * @type {number || null}
3806
3830
  */
3807
3831
  this.Period = null;
@@ -4330,6 +4354,13 @@ class LogsetInfo extends AbstractModel {
4330
4354
  */
4331
4355
  this.CreateTime = null;
4332
4356
 
4357
+ /**
4358
+ * Cloud product identifier. If the logset is created by another cloud product, this field returns the name of the cloud product, such as `CDN` or `TKE`.
4359
+ Note: This field may return null, indicating that no valid values can be obtained.
4360
+ * @type {string || null}
4361
+ */
4362
+ this.AssumerName = null;
4363
+
4333
4364
  /**
4334
4365
  * Tag bound to logset
4335
4366
  Note: this field may return `null`, indicating that no valid values can be obtained.
@@ -4344,7 +4375,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
4344
4375
  this.TopicCount = null;
4345
4376
 
4346
4377
  /**
4347
- * If `AssumerUin` is not empty, it indicates the service provider who creates the logset
4378
+ * If `AssumerName` is not empty, it indicates the service provider who creates the logset.
4348
4379
  * @type {string || null}
4349
4380
  */
4350
4381
  this.RoleName = null;
@@ -4361,6 +4392,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
4361
4392
  this.LogsetId = 'LogsetId' in params ? params.LogsetId : null;
4362
4393
  this.LogsetName = 'LogsetName' in params ? params.LogsetName : null;
4363
4394
  this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
4395
+ this.AssumerName = 'AssumerName' in params ? params.AssumerName : null;
4364
4396
 
4365
4397
  if (params.Tags) {
4366
4398
  this.Tags = new Array();
@@ -5733,6 +5765,13 @@ class ConfigInfo extends AbstractModel {
5733
5765
  */
5734
5766
  this.ConfigId = null;
5735
5767
 
5768
+ /**
5769
+ * Name of the collection rule configuration
5770
+ Note: This field may return null, indicating that no valid values can be obtained.
5771
+ * @type {string || null}
5772
+ */
5773
+ this.Name = null;
5774
+
5736
5775
  /**
5737
5776
  * Log formatting method
5738
5777
  Note: this field may return `null`, indicating that no valid values can be obtained.
@@ -5804,6 +5843,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
5804
5843
  return;
5805
5844
  }
5806
5845
  this.ConfigId = 'ConfigId' in params ? params.ConfigId : null;
5846
+ this.Name = 'Name' in params ? params.Name : null;
5807
5847
  this.LogFormat = 'LogFormat' in params ? params.LogFormat : null;
5808
5848
  this.Path = 'Path' in params ? params.Path : null;
5809
5849
  this.LogType = 'LogType' in params ? params.LogType : null;
@@ -7447,6 +7487,16 @@ The two response methods differ slightly in terms of encoding format. You are ad
7447
7487
  */
7448
7488
  this.UseNewAnalysis = null;
7449
7489
 
7490
+ /**
7491
+ * Indicates whether to sample raw logs before statistical analysis (`Query` includes SQL statements).
7492
+ `0`: Auto-sample.
7493
+ `0–1`: Sample by the specified sample rate, such as `0.02`.
7494
+ `1`: Precise analysis without sampling.
7495
+ Default value: `1`
7496
+ * @type {number || null}
7497
+ */
7498
+ this.SamplingRate = null;
7499
+
7450
7500
  }
7451
7501
 
7452
7502
  /**
@@ -7464,6 +7514,7 @@ The two response methods differ slightly in terms of encoding format. You are ad
7464
7514
  this.Context = 'Context' in params ? params.Context : null;
7465
7515
  this.Sort = 'Sort' in params ? params.Sort : null;
7466
7516
  this.UseNewAnalysis = 'UseNewAnalysis' in params ? params.UseNewAnalysis : null;
7517
+ this.SamplingRate = 'SamplingRate' in params ? params.SamplingRate : null;
7467
7518
 
7468
7519
  }
7469
7520
  }
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.592";
1
+ const sdkVersion = "3.0.593";
2
2
  module.exports = sdkVersion
@@ -42,6 +42,7 @@ const CloneAccountResponse = models.CloneAccountResponse;
42
42
  const IsolateDedicatedDBInstanceRequest = models.IsolateDedicatedDBInstanceRequest;
43
43
  const ModifyAccountDescriptionResponse = models.ModifyAccountDescriptionResponse;
44
44
  const DestroyDCDBInstanceRequest = models.DestroyDCDBInstanceRequest;
45
+ const CreateDCDBInstanceResponse = models.CreateDCDBInstanceResponse;
45
46
  const BriefNodeInfo = models.BriefNodeInfo;
46
47
  const ModifyDBInstancesProjectResponse = models.ModifyDBInstancesProjectResponse;
47
48
  const DescribeDCDBInstanceNodeInfoRequest = models.DescribeDCDBInstanceNodeInfoRequest;
@@ -78,6 +79,7 @@ const CopyAccountPrivilegesRequest = models.CopyAccountPrivilegesRequest;
78
79
  const SecurityGroup = models.SecurityGroup;
79
80
  const DescribeDatabaseTableRequest = models.DescribeDatabaseTableRequest;
80
81
  const DescribeDCDBInstanceNodeInfoResponse = models.DescribeDCDBInstanceNodeInfoResponse;
82
+ const KillSessionRequest = models.KillSessionRequest;
81
83
  const TerminateDedicatedDBInstanceRequest = models.TerminateDedicatedDBInstanceRequest;
82
84
  const DescribeDatabaseObjectsResponse = models.DescribeDatabaseObjectsResponse;
83
85
  const ModifyDBInstanceNameRequest = models.ModifyDBInstanceNameRequest;
@@ -98,6 +100,7 @@ const DcnDetailItem = models.DcnDetailItem;
98
100
  const DescribeDBSyncModeRequest = models.DescribeDBSyncModeRequest;
99
101
  const CloseDBExtranetAccessResponse = models.CloseDBExtranetAccessResponse;
100
102
  const ModifyAccountDescriptionRequest = models.ModifyAccountDescriptionRequest;
103
+ const KillSessionResponse = models.KillSessionResponse;
101
104
  const SlowLogData = models.SlowLogData;
102
105
  const DescribeDatabasesResponse = models.DescribeDatabasesResponse;
103
106
  const DescribeOrdersRequest = models.DescribeOrdersRequest;
@@ -108,6 +111,7 @@ const ResourceTag = models.ResourceTag;
108
111
  const DeleteAccountRequest = models.DeleteAccountRequest;
109
112
  const DescribeDCDBInstancesResponse = models.DescribeDCDBInstancesResponse;
110
113
  const DescribeFlowRequest = models.DescribeFlowRequest;
114
+ const CreateDCDBInstanceRequest = models.CreateDCDBInstanceRequest;
111
115
  const DatabaseProcedure = models.DatabaseProcedure;
112
116
  const ModifyDBSyncModeRequest = models.ModifyDBSyncModeRequest;
113
117
  const CreateAccountResponse = models.CreateAccountResponse;
@@ -345,6 +349,17 @@ Note: accounts with the same username but different hosts are different accounts
345
349
  this.request("ModifyInstanceVip", req, resp, cb);
346
350
  }
347
351
 
352
+ /**
353
+ * This API is used to kill the specified session.
354
+ * @param {KillSessionRequest} req
355
+ * @param {function(string, KillSessionResponse):void} cb
356
+ * @public
357
+ */
358
+ KillSession(req, cb) {
359
+ let resp = new KillSessionResponse();
360
+ this.request("KillSession", req, resp, cb);
361
+ }
362
+
348
363
  /**
349
364
  * This API is used to get the list of various logs of a database, including cold backups, binlogs, errlogs, and slowlogs.
350
365
  * @param {DescribeDBLogFilesRequest} req
@@ -534,6 +549,17 @@ Note: Accounts with the same username but different hosts are different accounts
534
549
  this.request("DescribeDatabases", req, resp, cb);
535
550
  }
536
551
 
552
+ /**
553
+ * 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.
554
+ * @param {CreateDCDBInstanceRequest} req
555
+ * @param {function(string, CreateDCDBInstanceResponse):void} cb
556
+ * @public
557
+ */
558
+ CreateDCDBInstance(req, cb) {
559
+ let resp = new CreateDCDBInstanceResponse();
560
+ this.request("CreateDCDBInstance", req, resp, cb);
561
+ }
562
+
537
563
  /**
538
564
  * This API is used to terminate a pay-as-you-go instance.
539
565
  * @param {DestroyHourDCDBInstanceRequest} req
@@ -1141,6 +1141,50 @@ class DestroyDCDBInstanceRequest extends AbstractModel {
1141
1141
  }
1142
1142
  }
1143
1143
 
1144
+ /**
1145
+ * CreateDCDBInstance response structure.
1146
+ * @class
1147
+ */
1148
+ class CreateDCDBInstanceResponse extends AbstractModel {
1149
+ constructor(){
1150
+ super();
1151
+
1152
+ /**
1153
+ * Long order ID, which is used to call the `DescribeOrders` API.
1154
+ The parameter can be used to either query order details or call the user account APIs to make another payment when this payment fails.
1155
+ * @type {string || null}
1156
+ */
1157
+ this.DealName = null;
1158
+
1159
+ /**
1160
+ * IDs of the instances you have purchased in this order. If no instance IDs are returned, you can query them with the `DescribeOrders` API. You can also use the `DescribeDBInstances` API to check whether an instance has been created successfully.
1161
+ Note: This field may return null, indicating that no valid values can be obtained.
1162
+ * @type {Array.<string> || null}
1163
+ */
1164
+ this.InstanceIds = null;
1165
+
1166
+ /**
1167
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1168
+ * @type {string || null}
1169
+ */
1170
+ this.RequestId = null;
1171
+
1172
+ }
1173
+
1174
+ /**
1175
+ * @private
1176
+ */
1177
+ deserialize(params) {
1178
+ if (!params) {
1179
+ return;
1180
+ }
1181
+ this.DealName = 'DealName' in params ? params.DealName : null;
1182
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
1183
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1184
+
1185
+ }
1186
+ }
1187
+
1144
1188
  /**
1145
1189
  * Node information of a sharded database
1146
1190
  * @class
@@ -3390,6 +3434,55 @@ class DescribeDCDBInstanceNodeInfoResponse extends AbstractModel {
3390
3434
  }
3391
3435
  }
3392
3436
 
3437
+ /**
3438
+ * KillSession request structure.
3439
+ * @class
3440
+ */
3441
+ class KillSessionRequest extends AbstractModel {
3442
+ constructor(){
3443
+ super();
3444
+
3445
+ /**
3446
+ * Instance ID
3447
+ * @type {string || null}
3448
+ */
3449
+ this.InstanceId = null;
3450
+
3451
+ /**
3452
+ * List of session IDs
3453
+ * @type {Array.<number> || null}
3454
+ */
3455
+ this.SessionId = null;
3456
+
3457
+ /**
3458
+ * Shard ID. Either `ShardId` or `ShardSerialId` is required.
3459
+ * @type {string || null}
3460
+ */
3461
+ this.ShardId = null;
3462
+
3463
+ /**
3464
+ * Shard sequence ID. Either `ShardId` or `ShardSerialId` is required.
3465
+ * @type {string || null}
3466
+ */
3467
+ this.ShardSerialId = null;
3468
+
3469
+ }
3470
+
3471
+ /**
3472
+ * @private
3473
+ */
3474
+ deserialize(params) {
3475
+ if (!params) {
3476
+ return;
3477
+ }
3478
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
3479
+ this.SessionId = 'SessionId' in params ? params.SessionId : null;
3480
+ this.ShardId = 'ShardId' in params ? params.ShardId : null;
3481
+ this.ShardSerialId = 'ShardSerialId' in params ? params.ShardSerialId : null;
3482
+
3483
+ }
3484
+ }
3485
+
3393
3486
  /**
3394
3487
  * TerminateDedicatedDBInstance request structure.
3395
3488
  * @class
@@ -4378,6 +4471,41 @@ class ModifyAccountDescriptionRequest extends AbstractModel {
4378
4471
  }
4379
4472
  }
4380
4473
 
4474
+ /**
4475
+ * KillSession response structure.
4476
+ * @class
4477
+ */
4478
+ class KillSessionResponse extends AbstractModel {
4479
+ constructor(){
4480
+ super();
4481
+
4482
+ /**
4483
+ * Task ID
4484
+ * @type {number || null}
4485
+ */
4486
+ this.TaskId = null;
4487
+
4488
+ /**
4489
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4490
+ * @type {string || null}
4491
+ */
4492
+ this.RequestId = null;
4493
+
4494
+ }
4495
+
4496
+ /**
4497
+ * @private
4498
+ */
4499
+ deserialize(params) {
4500
+ if (!params) {
4501
+ return;
4502
+ }
4503
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
4504
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4505
+
4506
+ }
4507
+ }
4508
+
4381
4509
  /**
4382
4510
  * Information of a slow query that has been logged
4383
4511
  * @class
@@ -4930,6 +5058,205 @@ class DescribeFlowRequest extends AbstractModel {
4930
5058
  }
4931
5059
  }
4932
5060
 
5061
+ /**
5062
+ * CreateDCDBInstance request structure.
5063
+ * @class
5064
+ */
5065
+ class CreateDCDBInstanceRequest extends AbstractModel {
5066
+ constructor(){
5067
+ super();
5068
+
5069
+ /**
5070
+ * AZs to deploy shard nodes. You can specify up to two AZs. When the shard specification is 1-source-2-replica, two of the nodes are deployed in the first AZ.
5071
+ The current purchasable AZ needs be pulled through `DescribeDCDBSaleInfo` API.
5072
+ * @type {Array.<string> || null}
5073
+ */
5074
+ this.Zones = null;
5075
+
5076
+ /**
5077
+ * Validity period in months
5078
+ * @type {number || null}
5079
+ */
5080
+ this.Period = null;
5081
+
5082
+ /**
5083
+ * Shard memory size in GB, which can be obtained
5084
+ by querying the instance specification through `DescribeShardSpec` API.
5085
+ * @type {number || null}
5086
+ */
5087
+ this.ShardMemory = null;
5088
+
5089
+ /**
5090
+ * Shard storage size in GB, which can be obtained
5091
+ by querying the instance specification through `DescribeShardSpec` API.
5092
+ * @type {number || null}
5093
+ */
5094
+ this.ShardStorage = null;
5095
+
5096
+ /**
5097
+ * Number of nodes in a single shard, which can be obtained
5098
+ by querying the instance specification through `DescribeShardSpec` API.
5099
+ * @type {number || null}
5100
+ */
5101
+ this.ShardNodeCount = null;
5102
+
5103
+ /**
5104
+ * The number of shards in the instance. Value range: 2-8. You can increase up to 64 shards by upgrading your instance.
5105
+ * @type {number || null}
5106
+ */
5107
+ this.ShardCount = null;
5108
+
5109
+ /**
5110
+ * The number of instances to be purchased
5111
+ * @type {number || null}
5112
+ */
5113
+ this.Count = null;
5114
+
5115
+ /**
5116
+ * Project ID, which can be obtained through the `DescribeProjects` API. If this parameter is not passed in, the instance will be associated with the default project.
5117
+ * @type {number || null}
5118
+ */
5119
+ this.ProjectId = null;
5120
+
5121
+ /**
5122
+ * VPC ID. If this parameter is left empty or not passed in, the instance will be created on the classic network.
5123
+ * @type {string || null}
5124
+ */
5125
+ this.VpcId = null;
5126
+
5127
+ /**
5128
+ * VPC subnet ID, which is required when `VpcId` is specified.
5129
+ * @type {string || null}
5130
+ */
5131
+ this.SubnetId = null;
5132
+
5133
+ /**
5134
+ * Database engine version. Valid values: 8.0.18, 10.1.9, 5.7.17.
5135
+ 8.0.18 - MySQL 8.0.18;
5136
+ 10.1.9: MariaDB 10.1.9;
5137
+ 5.7.17: Percona 5.7.17.
5138
+ If this parameter is left empty, `5.7.17` will be used.
5139
+ * @type {string || null}
5140
+ */
5141
+ this.DbVersionId = null;
5142
+
5143
+ /**
5144
+ * Whether to automatically use vouchers. This option is disabled by default.
5145
+ * @type {boolean || null}
5146
+ */
5147
+ this.AutoVoucher = null;
5148
+
5149
+ /**
5150
+ * Voucher ID list. Currently, you can specify only one voucher.
5151
+ * @type {Array.<string> || null}
5152
+ */
5153
+ this.VoucherIds = null;
5154
+
5155
+ /**
5156
+ * Security group ID
5157
+ * @type {string || null}
5158
+ */
5159
+ this.SecurityGroupId = null;
5160
+
5161
+ /**
5162
+ * Custom name of the instance
5163
+ * @type {string || null}
5164
+ */
5165
+ this.InstanceName = null;
5166
+
5167
+ /**
5168
+ * Whether IPv6 is supported
5169
+ * @type {number || null}
5170
+ */
5171
+ this.Ipv6Flag = null;
5172
+
5173
+ /**
5174
+ * Array of tag key-value pairs
5175
+ * @type {Array.<ResourceTag> || null}
5176
+ */
5177
+ this.ResourceTags = null;
5178
+
5179
+ /**
5180
+ * List of parameters. Valid values: `character_set_server` (character set; required); `lower_case_table_names` (table name case sensitivity; required; `0`: case-sensitive; `1`: case-insensitive); `innodb_page_size` (InnoDB data page size; default size: 16 KB); `sync_mode` (sync mode; `0`: async; `1`: strong sync; `2`: downgradable strong sync; default value: `2`).
5181
+ * @type {Array.<DBParamValue> || null}
5182
+ */
5183
+ this.InitParams = null;
5184
+
5185
+ /**
5186
+ * DCN source region
5187
+ * @type {string || null}
5188
+ */
5189
+ this.DcnRegion = null;
5190
+
5191
+ /**
5192
+ * DCN source instance ID
5193
+ * @type {string || null}
5194
+ */
5195
+ this.DcnInstanceId = null;
5196
+
5197
+ /**
5198
+ * Renewal mode. Valid values: `0` (Manual renewal, which is the default mode), `1` (Auto-renewal), `2` (Manual renewal, which is specified by users). If no renewal is required, set it to `0`.
5199
+ * @type {number || null}
5200
+ */
5201
+ this.AutoRenewFlag = null;
5202
+
5203
+ /**
5204
+ * Security group IDs in array. This parameter is compatible with the old parameter `SecurityGroupId`.
5205
+ * @type {Array.<string> || null}
5206
+ */
5207
+ this.SecurityGroupIds = null;
5208
+
5209
+ }
5210
+
5211
+ /**
5212
+ * @private
5213
+ */
5214
+ deserialize(params) {
5215
+ if (!params) {
5216
+ return;
5217
+ }
5218
+ this.Zones = 'Zones' in params ? params.Zones : null;
5219
+ this.Period = 'Period' in params ? params.Period : null;
5220
+ this.ShardMemory = 'ShardMemory' in params ? params.ShardMemory : null;
5221
+ this.ShardStorage = 'ShardStorage' in params ? params.ShardStorage : null;
5222
+ this.ShardNodeCount = 'ShardNodeCount' in params ? params.ShardNodeCount : null;
5223
+ this.ShardCount = 'ShardCount' in params ? params.ShardCount : null;
5224
+ this.Count = 'Count' in params ? params.Count : null;
5225
+ this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
5226
+ this.VpcId = 'VpcId' in params ? params.VpcId : null;
5227
+ this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
5228
+ this.DbVersionId = 'DbVersionId' in params ? params.DbVersionId : null;
5229
+ this.AutoVoucher = 'AutoVoucher' in params ? params.AutoVoucher : null;
5230
+ this.VoucherIds = 'VoucherIds' in params ? params.VoucherIds : null;
5231
+ this.SecurityGroupId = 'SecurityGroupId' in params ? params.SecurityGroupId : null;
5232
+ this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
5233
+ this.Ipv6Flag = 'Ipv6Flag' in params ? params.Ipv6Flag : null;
5234
+
5235
+ if (params.ResourceTags) {
5236
+ this.ResourceTags = new Array();
5237
+ for (let z in params.ResourceTags) {
5238
+ let obj = new ResourceTag();
5239
+ obj.deserialize(params.ResourceTags[z]);
5240
+ this.ResourceTags.push(obj);
5241
+ }
5242
+ }
5243
+
5244
+ if (params.InitParams) {
5245
+ this.InitParams = new Array();
5246
+ for (let z in params.InitParams) {
5247
+ let obj = new DBParamValue();
5248
+ obj.deserialize(params.InitParams[z]);
5249
+ this.InitParams.push(obj);
5250
+ }
5251
+ }
5252
+ this.DcnRegion = 'DcnRegion' in params ? params.DcnRegion : null;
5253
+ this.DcnInstanceId = 'DcnInstanceId' in params ? params.DcnInstanceId : null;
5254
+ this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
5255
+ this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
5256
+
5257
+ }
5258
+ }
5259
+
4933
5260
  /**
4934
5261
  * Database stored procedure information
4935
5262
  * @class
@@ -6047,6 +6374,7 @@ module.exports = {
6047
6374
  IsolateDedicatedDBInstanceRequest: IsolateDedicatedDBInstanceRequest,
6048
6375
  ModifyAccountDescriptionResponse: ModifyAccountDescriptionResponse,
6049
6376
  DestroyDCDBInstanceRequest: DestroyDCDBInstanceRequest,
6377
+ CreateDCDBInstanceResponse: CreateDCDBInstanceResponse,
6050
6378
  BriefNodeInfo: BriefNodeInfo,
6051
6379
  ModifyDBInstancesProjectResponse: ModifyDBInstancesProjectResponse,
6052
6380
  DescribeDCDBInstanceNodeInfoRequest: DescribeDCDBInstanceNodeInfoRequest,
@@ -6083,6 +6411,7 @@ module.exports = {
6083
6411
  SecurityGroup: SecurityGroup,
6084
6412
  DescribeDatabaseTableRequest: DescribeDatabaseTableRequest,
6085
6413
  DescribeDCDBInstanceNodeInfoResponse: DescribeDCDBInstanceNodeInfoResponse,
6414
+ KillSessionRequest: KillSessionRequest,
6086
6415
  TerminateDedicatedDBInstanceRequest: TerminateDedicatedDBInstanceRequest,
6087
6416
  DescribeDatabaseObjectsResponse: DescribeDatabaseObjectsResponse,
6088
6417
  ModifyDBInstanceNameRequest: ModifyDBInstanceNameRequest,
@@ -6103,6 +6432,7 @@ module.exports = {
6103
6432
  DescribeDBSyncModeRequest: DescribeDBSyncModeRequest,
6104
6433
  CloseDBExtranetAccessResponse: CloseDBExtranetAccessResponse,
6105
6434
  ModifyAccountDescriptionRequest: ModifyAccountDescriptionRequest,
6435
+ KillSessionResponse: KillSessionResponse,
6106
6436
  SlowLogData: SlowLogData,
6107
6437
  DescribeDatabasesResponse: DescribeDatabasesResponse,
6108
6438
  DescribeOrdersRequest: DescribeOrdersRequest,
@@ -6113,6 +6443,7 @@ module.exports = {
6113
6443
  DeleteAccountRequest: DeleteAccountRequest,
6114
6444
  DescribeDCDBInstancesResponse: DescribeDCDBInstancesResponse,
6115
6445
  DescribeFlowRequest: DescribeFlowRequest,
6446
+ CreateDCDBInstanceRequest: CreateDCDBInstanceRequest,
6116
6447
  DatabaseProcedure: DatabaseProcedure,
6117
6448
  ModifyDBSyncModeRequest: ModifyDBSyncModeRequest,
6118
6449
  CreateAccountResponse: CreateAccountResponse,