tencentcloud-sdk-nodejs-intl-en 3.0.359 → 3.0.363

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.
@@ -30,12 +30,6 @@ class CreateDBInstancesRequest extends AbstractModel {
30
30
  */
31
31
  this.SpecCode = null;
32
32
 
33
- /**
34
- * PostgreSQL kernel version. Valid values: `9.3.5`, `9.5.4`, `10.4`, `11.8`, `12.4`.
35
- * @type {string || null}
36
- */
37
- this.DBVersion = null;
38
-
39
33
  /**
40
34
  * Instance capacity size in GB.
41
35
  * @type {number || null}
@@ -66,6 +60,12 @@ class CreateDBInstancesRequest extends AbstractModel {
66
60
  */
67
61
  this.ProjectId = null;
68
62
 
63
+ /**
64
+ * PostgreSQL version number. If it is specified, an instance running the latest kernel of PostgreSQL `DBVersion` will be created.
65
+ * @type {string || null}
66
+ */
67
+ this.DBVersion = null;
68
+
69
69
  /**
70
70
  * Instance billing type.
71
71
  * @type {string || null}
@@ -132,6 +132,18 @@ class CreateDBInstancesRequest extends AbstractModel {
132
132
  */
133
133
  this.SecurityGroupIds = null;
134
134
 
135
+ /**
136
+ * PostgreSQL major version number. Valid values: `10`, `11`, `12`, `13`. If it is specified, an instance running the latest kernel of PostgreSQL `DBMajorVersion` will be created.
137
+ * @type {string || null}
138
+ */
139
+ this.DBMajorVersion = null;
140
+
141
+ /**
142
+ * PostgreSQL kernel version number. If it is specified, an instance running kernel `DBKernelVersion` will be created.
143
+ * @type {string || null}
144
+ */
145
+ this.DBKernelVersion = null;
146
+
135
147
  }
136
148
 
137
149
  /**
@@ -142,12 +154,12 @@ class CreateDBInstancesRequest extends AbstractModel {
142
154
  return;
143
155
  }
144
156
  this.SpecCode = 'SpecCode' in params ? params.SpecCode : null;
145
- this.DBVersion = 'DBVersion' in params ? params.DBVersion : null;
146
157
  this.Storage = 'Storage' in params ? params.Storage : null;
147
158
  this.InstanceCount = 'InstanceCount' in params ? params.InstanceCount : null;
148
159
  this.Period = 'Period' in params ? params.Period : null;
149
160
  this.Zone = 'Zone' in params ? params.Zone : null;
150
161
  this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
162
+ this.DBVersion = 'DBVersion' in params ? params.DBVersion : null;
151
163
  this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
152
164
  this.AutoVoucher = 'AutoVoucher' in params ? params.AutoVoucher : null;
153
165
  this.VoucherIds = 'VoucherIds' in params ? params.VoucherIds : null;
@@ -167,6 +179,8 @@ class CreateDBInstancesRequest extends AbstractModel {
167
179
  }
168
180
  }
169
181
  this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
182
+ this.DBMajorVersion = 'DBMajorVersion' in params ? params.DBMajorVersion : null;
183
+ this.DBKernelVersion = 'DBKernelVersion' in params ? params.DBKernelVersion : null;
170
184
 
171
185
  }
172
186
  }
@@ -445,7 +459,7 @@ class CreateInstancesRequest extends AbstractModel {
445
459
  this.ProjectId = null;
446
460
 
447
461
  /**
448
- * PostgreSQL major version. Valid values: `9.3`, `9.5`, `10`, `11`, `12`, `13`, `9.3.5`, `9.5.4`, `10.4`, `11.8`, `12.4`.
462
+ * PostgreSQL version number. If it is specified, an instance running the latest kernel of PostgreSQL `DBVersion` will be created.
449
463
  * @type {string || null}
450
464
  */
451
465
  this.DBVersion = null;
@@ -517,17 +531,23 @@ class CreateInstancesRequest extends AbstractModel {
517
531
  this.SecurityGroupIds = null;
518
532
 
519
533
  /**
520
- *
534
+ * PostgreSQL major version number. Valid values: `10`, `11`, `12`, `13`. If it is specified, an instance running the latest kernel of PostgreSQL `DBMajorVersion` will be created.
521
535
  * @type {string || null}
522
536
  */
523
537
  this.DBMajorVersion = null;
524
538
 
525
539
  /**
526
- *
540
+ * PostgreSQL kernel version number. If it is specified, an instance running kernel `DBKernelVersion` will be created.
527
541
  * @type {string || null}
528
542
  */
529
543
  this.DBKernelVersion = null;
530
544
 
545
+ /**
546
+ *
547
+ * @type {Array.<DBNode> || null}
548
+ */
549
+ this.DBNodeSet = null;
550
+
531
551
  }
532
552
 
533
553
  /**
@@ -569,6 +589,15 @@ class CreateInstancesRequest extends AbstractModel {
569
589
  this.DBMajorVersion = 'DBMajorVersion' in params ? params.DBMajorVersion : null;
570
590
  this.DBKernelVersion = 'DBKernelVersion' in params ? params.DBKernelVersion : null;
571
591
 
592
+ if (params.DBNodeSet) {
593
+ this.DBNodeSet = new Array();
594
+ for (let z in params.DBNodeSet) {
595
+ let obj = new DBNode();
596
+ obj.deserialize(params.DBNodeSet[z]);
597
+ this.DBNodeSet.push(obj);
598
+ }
599
+ }
600
+
572
601
  }
573
602
  }
574
603
 
@@ -587,7 +616,7 @@ class SpecItemInfo extends AbstractModel {
587
616
  this.SpecCode = null;
588
617
 
589
618
  /**
590
- * PostgreSQL kernel version number
619
+ * PostgerSQL version number
591
620
  * @type {string || null}
592
621
  */
593
622
  this.Version = null;
@@ -640,6 +669,20 @@ class SpecItemInfo extends AbstractModel {
640
669
  */
641
670
  this.Type = null;
642
671
 
672
+ /**
673
+ * PostgreSQL major version number
674
+ Note: this field may return `null`, indicating that no valid values can be obtained.
675
+ * @type {string || null}
676
+ */
677
+ this.MajorVersion = null;
678
+
679
+ /**
680
+ * PostgreSQL kernel version number
681
+ Note: this field may return `null`, indicating that no valid values can be obtained.
682
+ * @type {string || null}
683
+ */
684
+ this.KernelVersion = null;
685
+
643
686
  }
644
687
 
645
688
  /**
@@ -659,6 +702,8 @@ class SpecItemInfo extends AbstractModel {
659
702
  this.Qps = 'Qps' in params ? params.Qps : null;
660
703
  this.Pid = 'Pid' in params ? params.Pid : null;
661
704
  this.Type = 'Type' in params ? params.Type : null;
705
+ this.MajorVersion = 'MajorVersion' in params ? params.MajorVersion : null;
706
+ this.KernelVersion = 'KernelVersion' in params ? params.KernelVersion : null;
662
707
 
663
708
  }
664
709
  }
@@ -3551,6 +3596,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
3551
3596
  */
3552
3597
  this.DBKernelVersion = null;
3553
3598
 
3599
+ /**
3600
+ * Database major version number
3601
+ Note: this field may return `null`, indicating that no valid values can be obtained.
3602
+ * @type {string || null}
3603
+ */
3604
+ this.DBMajorVersion = null;
3605
+
3554
3606
  }
3555
3607
 
3556
3608
  /**
@@ -3600,6 +3652,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
3600
3652
  }
3601
3653
  }
3602
3654
  this.DBKernelVersion = 'DBKernelVersion' in params ? params.DBKernelVersion : null;
3655
+ this.DBMajorVersion = 'DBMajorVersion' in params ? params.DBMajorVersion : null;
3603
3656
 
3604
3657
  }
3605
3658
  }
@@ -4670,7 +4723,7 @@ class DBInstance extends AbstractModel {
4670
4723
  this.DBCharset = null;
4671
4724
 
4672
4725
  /**
4673
- * PostgreSQL major version
4726
+ * PostgreSQL version number
4674
4727
  * @type {string || null}
4675
4728
  */
4676
4729
  this.DBVersion = null;
@@ -4791,11 +4844,18 @@ Note: this field may return `null`, indicating that no valid values can be obtai
4791
4844
  this.NetworkAccessList = null;
4792
4845
 
4793
4846
  /**
4794
- *
4847
+ * PostgreSQL major version number
4848
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4795
4849
  * @type {string || null}
4796
4850
  */
4797
4851
  this.DBMajorVersion = null;
4798
4852
 
4853
+ /**
4854
+ *
4855
+ * @type {Array.<DBNode> || null}
4856
+ */
4857
+ this.DBNodeSet = null;
4858
+
4799
4859
  }
4800
4860
 
4801
4861
  /**
@@ -4865,6 +4925,15 @@ Note: this field may return `null`, indicating that no valid values can be obtai
4865
4925
  }
4866
4926
  this.DBMajorVersion = 'DBMajorVersion' in params ? params.DBMajorVersion : null;
4867
4927
 
4928
+ if (params.DBNodeSet) {
4929
+ this.DBNodeSet = new Array();
4930
+ for (let z in params.DBNodeSet) {
4931
+ let obj = new DBNode();
4932
+ obj.deserialize(params.DBNodeSet[z]);
4933
+ this.DBNodeSet.push(obj);
4934
+ }
4935
+ }
4936
+
4868
4937
  }
4869
4938
  }
4870
4939
 
@@ -5215,6 +5284,41 @@ class RemoveDBInstanceFromReadOnlyGroupRequest extends AbstractModel {
5215
5284
  }
5216
5285
  }
5217
5286
 
5287
+ /**
5288
+ *
5289
+ * @class
5290
+ */
5291
+ class DBNode extends AbstractModel {
5292
+ constructor(){
5293
+ super();
5294
+
5295
+ /**
5296
+ *
5297
+ * @type {string || null}
5298
+ */
5299
+ this.Role = null;
5300
+
5301
+ /**
5302
+ *
5303
+ * @type {string || null}
5304
+ */
5305
+ this.Zone = null;
5306
+
5307
+ }
5308
+
5309
+ /**
5310
+ * @private
5311
+ */
5312
+ deserialize(params) {
5313
+ if (!params) {
5314
+ return;
5315
+ }
5316
+ this.Role = 'Role' in params ? params.Role : null;
5317
+ this.Zone = 'Zone' in params ? params.Zone : null;
5318
+
5319
+ }
5320
+ }
5321
+
5218
5322
  /**
5219
5323
  * ModifyDBInstanceName response structure.
5220
5324
  * @class
@@ -7333,6 +7437,7 @@ module.exports = {
7333
7437
  OpenDBExtranetAccessRequest: OpenDBExtranetAccessRequest,
7334
7438
  SlowlogDetail: SlowlogDetail,
7335
7439
  RemoveDBInstanceFromReadOnlyGroupRequest: RemoveDBInstanceFromReadOnlyGroupRequest,
7440
+ DBNode: DBNode,
7336
7441
  ModifyDBInstanceNameResponse: ModifyDBInstanceNameResponse,
7337
7442
  CloseDBExtranetAccessResponse: CloseDBExtranetAccessResponse,
7338
7443
  CreateReadOnlyDBInstanceRequest: CreateReadOnlyDBInstanceRequest,
@@ -107,6 +107,7 @@ const ModifyDBInstanceParametersResponse = models.ModifyDBInstanceParametersResp
107
107
  const OpenDBExtranetAccessRequest = models.OpenDBExtranetAccessRequest;
108
108
  const SlowlogDetail = models.SlowlogDetail;
109
109
  const RemoveDBInstanceFromReadOnlyGroupRequest = models.RemoveDBInstanceFromReadOnlyGroupRequest;
110
+ const DBNode = models.DBNode;
110
111
  const ModifyDBInstanceNameResponse = models.ModifyDBInstanceNameResponse;
111
112
  const CloseDBExtranetAccessResponse = models.CloseDBExtranetAccessResponse;
112
113
  const CreateReadOnlyDBInstanceRequest = models.CreateReadOnlyDBInstanceRequest;