tencentcloud-sdk-nodejs-intl-en 3.0.351 → 3.0.355

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.
@@ -396,12 +396,6 @@ class CreateInstancesRequest extends AbstractModel {
396
396
  */
397
397
  this.SpecCode = null;
398
398
 
399
- /**
400
- * PostgreSQL kernel version. Valid values: `9.3.5`, `9.5.4`, `10.4`, `11.8`, `12.4`.
401
- * @type {string || null}
402
- */
403
- this.DBVersion = null;
404
-
405
399
  /**
406
400
  * Instance storage capacity in GB
407
401
  * @type {number || null}
@@ -450,6 +444,12 @@ class CreateInstancesRequest extends AbstractModel {
450
444
  */
451
445
  this.ProjectId = null;
452
446
 
447
+ /**
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`.
449
+ * @type {string || null}
450
+ */
451
+ this.DBVersion = null;
452
+
453
453
  /**
454
454
  * Instance billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID_BY_HOUR` (pay-as-you-go).
455
455
  * @type {string || null}
@@ -516,6 +516,18 @@ class CreateInstancesRequest extends AbstractModel {
516
516
  */
517
517
  this.SecurityGroupIds = null;
518
518
 
519
+ /**
520
+ *
521
+ * @type {string || null}
522
+ */
523
+ this.DBMajorVersion = null;
524
+
525
+ /**
526
+ *
527
+ * @type {string || null}
528
+ */
529
+ this.DBKernelVersion = null;
530
+
519
531
  }
520
532
 
521
533
  /**
@@ -526,7 +538,6 @@ class CreateInstancesRequest extends AbstractModel {
526
538
  return;
527
539
  }
528
540
  this.SpecCode = 'SpecCode' in params ? params.SpecCode : null;
529
- this.DBVersion = 'DBVersion' in params ? params.DBVersion : null;
530
541
  this.Storage = 'Storage' in params ? params.Storage : null;
531
542
  this.InstanceCount = 'InstanceCount' in params ? params.InstanceCount : null;
532
543
  this.Period = 'Period' in params ? params.Period : null;
@@ -535,6 +546,7 @@ class CreateInstancesRequest extends AbstractModel {
535
546
  this.AdminName = 'AdminName' in params ? params.AdminName : null;
536
547
  this.AdminPassword = 'AdminPassword' in params ? params.AdminPassword : null;
537
548
  this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
549
+ this.DBVersion = 'DBVersion' in params ? params.DBVersion : null;
538
550
  this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
539
551
  this.AutoVoucher = 'AutoVoucher' in params ? params.AutoVoucher : null;
540
552
  this.VoucherIds = 'VoucherIds' in params ? params.VoucherIds : null;
@@ -554,6 +566,8 @@ class CreateInstancesRequest extends AbstractModel {
554
566
  }
555
567
  }
556
568
  this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
569
+ this.DBMajorVersion = 'DBMajorVersion' in params ? params.DBMajorVersion : null;
570
+ this.DBKernelVersion = 'DBKernelVersion' in params ? params.DBKernelVersion : null;
557
571
 
558
572
  }
559
573
  }
@@ -1117,11 +1131,25 @@ class DBInstanceNetInfo extends AbstractModel {
1117
1131
  this.NetType = null;
1118
1132
 
1119
1133
  /**
1120
- * Network connection status
1134
+ * Network connection status. Valid values: `initing` (never enabled before), `opened` (enabled), `closed` (disabled), `opening` (enabling), `closing` (disabling)
1121
1135
  * @type {string || null}
1122
1136
  */
1123
1137
  this.Status = null;
1124
1138
 
1139
+ /**
1140
+ * VPC ID
1141
+ Note: this field may return `null`, indicating that no valid values can be obtained.
1142
+ * @type {string || null}
1143
+ */
1144
+ this.VpcId = null;
1145
+
1146
+ /**
1147
+ * Subnet ID
1148
+ Note: this field may return `null`, indicating that no valid values can be obtained.
1149
+ * @type {string || null}
1150
+ */
1151
+ this.SubnetId = null;
1152
+
1125
1153
  }
1126
1154
 
1127
1155
  /**
@@ -1136,6 +1164,8 @@ class DBInstanceNetInfo extends AbstractModel {
1136
1164
  this.Port = 'Port' in params ? params.Port : null;
1137
1165
  this.NetType = 'NetType' in params ? params.NetType : null;
1138
1166
  this.Status = 'Status' in params ? params.Status : null;
1167
+ this.VpcId = 'VpcId' in params ? params.VpcId : null;
1168
+ this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
1139
1169
 
1140
1170
  }
1141
1171
  }
@@ -2376,7 +2406,7 @@ class SetAutoRenewFlagResponse extends AbstractModel {
2376
2406
  }
2377
2407
 
2378
2408
  /**
2379
- * Network information.
2409
+ * Network information. (This parameter structure has been deprecated. Please use `DBInstanceNetInfo` to query network information.)
2380
2410
  * @class
2381
2411
  */
2382
2412
  class NetworkAccess extends AbstractModel {
@@ -2384,14 +2414,14 @@ class NetworkAccess extends AbstractModel {
2384
2414
  super();
2385
2415
 
2386
2416
  /**
2387
- * Network resource ID, instance ID or RO group ID (this field has been deprecated)
2417
+ * Network resource ID, instance ID, or RO group ID
2388
2418
  Note: this field may return `null`, indicating that no valid values can be obtained.
2389
2419
  * @type {string || null}
2390
2420
  */
2391
2421
  this.ResourceId = null;
2392
2422
 
2393
2423
  /**
2394
- * Resource type. Valid values: `1` (instance), `2` (RO group) (this field has been deprecated)
2424
+ * Resource type. Valid values: `1` (instance), `2` (RO group)
2395
2425
  Note: this field may return `null`, indicating that no valid values can be obtained.
2396
2426
  * @type {number || null}
2397
2427
  */
@@ -2640,7 +2670,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
2640
2670
  this.DBInstanceNetInfo = null;
2641
2671
 
2642
2672
  /**
2643
- * Network access list of the RO group
2673
+ * Network access list of the RO group (this field has been deprecated)
2644
2674
  Note: this field may return `null`, indicating that no valid values can be obtained.
2645
2675
  * @type {Array.<NetworkAccess> || null}
2646
2676
  */
@@ -4592,7 +4622,7 @@ class DBInstance extends AbstractModel {
4592
4622
  this.DBInstanceName = null;
4593
4623
 
4594
4624
  /**
4595
- * Instance status. Valid values: `applying`, `init` (to be initialized), `initing` (initializing), `running`, `limited run`, `isolated`, `recycling`, `recycled`, `job running`, `offline`, `migrating`, `expanding`, `waitSwitch` (waiting for switch), `switching`, `readonly`, `restarting`
4625
+ * Instance status. Valid values: `applying`, `init` (to be initialized), `initing` (initializing), `running`, `limited run`, `isolated`, `recycling`, `recycled`, `job running`, `offline`, `migrating`, `expanding`, `waitSwitch` (waiting for switch), `switching`, `readonly`, `restarting`, `network changing`
4596
4626
  * @type {string || null}
4597
4627
  */
4598
4628
  this.DBInstanceStatus = null;
@@ -4754,12 +4784,18 @@ Note: this field may return `null`, indicating that no valid values can be obtai
4754
4784
  this.DBKernelVersion = null;
4755
4785
 
4756
4786
  /**
4757
- * Network access list of the instance
4787
+ * Network access list of the instance (this field has been deprecated)
4758
4788
  Note: this field may return `null`, indicating that no valid values can be obtained.
4759
4789
  * @type {Array.<NetworkAccess> || null}
4760
4790
  */
4761
4791
  this.NetworkAccessList = null;
4762
4792
 
4793
+ /**
4794
+ *
4795
+ * @type {string || null}
4796
+ */
4797
+ this.DBMajorVersion = null;
4798
+
4763
4799
  }
4764
4800
 
4765
4801
  /**
@@ -4827,6 +4863,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
4827
4863
  this.NetworkAccessList.push(obj);
4828
4864
  }
4829
4865
  }
4866
+ this.DBMajorVersion = 'DBMajorVersion' in params ? params.DBMajorVersion : null;
4830
4867
 
4831
4868
  }
4832
4869
  }