tencentcloud-sdk-nodejs-intl-en 3.0.1238 → 3.0.1240

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.
@@ -529,6 +529,41 @@ class RestoreInstanceRequest extends AbstractModel {
529
529
  }
530
530
  }
531
531
 
532
+ /**
533
+ * AZ information on the secondary node.
534
+ * @class
535
+ */
536
+ class DrZoneInfo extends AbstractModel {
537
+ constructor(){
538
+ super();
539
+
540
+ /**
541
+ * Resource ID of the secondary node.
542
+ * @type {string || null}
543
+ */
544
+ this.DrInstanceId = null;
545
+
546
+ /**
547
+ * AZ of the secondary node.
548
+ * @type {string || null}
549
+ */
550
+ this.Zone = null;
551
+
552
+ }
553
+
554
+ /**
555
+ * @private
556
+ */
557
+ deserialize(params) {
558
+ if (!params) {
559
+ return;
560
+ }
561
+ this.DrInstanceId = 'DrInstanceId' in params ? params.DrInstanceId : null;
562
+ this.Zone = 'Zone' in params ? params.Zone : null;
563
+
564
+ }
565
+ }
566
+
532
567
  /**
533
568
  * CreateBasicDBInstances response structure.
534
569
  * @class
@@ -538,7 +573,7 @@ class CreateBasicDBInstancesResponse extends AbstractModel {
538
573
  super();
539
574
 
540
575
  /**
541
- *
576
+ * Order name.
542
577
  * @type {string || null}
543
578
  */
544
579
  this.DealName = null;
@@ -1251,24 +1286,30 @@ class StartInstanceXEventResponse extends AbstractModel {
1251
1286
  }
1252
1287
 
1253
1288
  /**
1254
- * Migration progress details
1289
+ * DescribeCollationTimeZone response structure.
1255
1290
  * @class
1256
1291
  */
1257
- class MigrateDetail extends AbstractModel {
1292
+ class DescribeCollationTimeZoneResponse extends AbstractModel {
1258
1293
  constructor(){
1259
1294
  super();
1260
1295
 
1261
1296
  /**
1262
- * Name of current step
1263
- * @type {string || null}
1297
+ * System character set collation list.
1298
+ * @type {Array.<string> || null}
1264
1299
  */
1265
- this.StepName = null;
1300
+ this.Collation = null;
1266
1301
 
1267
1302
  /**
1268
- * Progress of current step in %
1269
- * @type {number || null}
1303
+ * System time zone list.
1304
+ * @type {Array.<string> || null}
1270
1305
  */
1271
- this.Progress = null;
1306
+ this.TimeZone = null;
1307
+
1308
+ /**
1309
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1310
+ * @type {string || null}
1311
+ */
1312
+ this.RequestId = null;
1272
1313
 
1273
1314
  }
1274
1315
 
@@ -1279,8 +1320,9 @@ class MigrateDetail extends AbstractModel {
1279
1320
  if (!params) {
1280
1321
  return;
1281
1322
  }
1282
- this.StepName = 'StepName' in params ? params.StepName : null;
1283
- this.Progress = 'Progress' in params ? params.Progress : null;
1323
+ this.Collation = 'Collation' in params ? params.Collation : null;
1324
+ this.TimeZone = 'TimeZone' in params ? params.TimeZone : null;
1325
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1284
1326
 
1285
1327
  }
1286
1328
  }
@@ -1335,18 +1377,24 @@ class CreateIncrementalMigrationRequest extends AbstractModel {
1335
1377
  }
1336
1378
 
1337
1379
  /**
1338
- * RunMigration request structure.
1380
+ * DescribeSpecSellStatus response structure.
1339
1381
  * @class
1340
1382
  */
1341
- class RunMigrationRequest extends AbstractModel {
1383
+ class DescribeSpecSellStatusResponse extends AbstractModel {
1342
1384
  constructor(){
1343
1385
  super();
1344
1386
 
1345
1387
  /**
1346
- * Migration task ID
1347
- * @type {number || null}
1388
+ * Status set of specifications in different regions.
1389
+ * @type {Array.<SpecSellStatus> || null}
1348
1390
  */
1349
- this.MigrateId = null;
1391
+ this.DescribeSpecSellStatusSet = null;
1392
+
1393
+ /**
1394
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1395
+ * @type {string || null}
1396
+ */
1397
+ this.RequestId = null;
1350
1398
 
1351
1399
  }
1352
1400
 
@@ -1357,7 +1405,16 @@ class RunMigrationRequest extends AbstractModel {
1357
1405
  if (!params) {
1358
1406
  return;
1359
1407
  }
1360
- this.MigrateId = 'MigrateId' in params ? params.MigrateId : null;
1408
+
1409
+ if (params.DescribeSpecSellStatusSet) {
1410
+ this.DescribeSpecSellStatusSet = new Array();
1411
+ for (let z in params.DescribeSpecSellStatusSet) {
1412
+ let obj = new SpecSellStatus();
1413
+ obj.deserialize(params.DescribeSpecSellStatusSet[z]);
1414
+ this.DescribeSpecSellStatusSet.push(obj);
1415
+ }
1416
+ }
1417
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1361
1418
 
1362
1419
  }
1363
1420
  }
@@ -2722,19 +2779,19 @@ class ModifyDBInstanceNetworkRequest extends AbstractModel {
2722
2779
  super();
2723
2780
 
2724
2781
  /**
2725
- * Instance ID
2782
+ * Instance ID.
2726
2783
  * @type {string || null}
2727
2784
  */
2728
2785
  this.InstanceId = null;
2729
2786
 
2730
2787
  /**
2731
- * ID of the new VPC
2788
+ * ID of the new VPC.
2732
2789
  * @type {string || null}
2733
2790
  */
2734
2791
  this.NewVpcId = null;
2735
2792
 
2736
2793
  /**
2737
- * ID of the new subnet
2794
+ * ID of the new subnet.
2738
2795
  * @type {string || null}
2739
2796
  */
2740
2797
  this.NewSubnetId = null;
@@ -2746,17 +2803,24 @@ class ModifyDBInstanceNetworkRequest extends AbstractModel {
2746
2803
  this.OldIpRetainTime = null;
2747
2804
 
2748
2805
  /**
2749
- * New VIP
2806
+ * New VIP.
2750
2807
  * @type {string || null}
2751
2808
  */
2752
2809
  this.Vip = null;
2753
2810
 
2754
2811
  /**
2755
- *
2812
+ * Target node. 0 - modify the primary node network; 1 - modify the secondary node network. The default value is 0.
2813
+
2756
2814
  * @type {number || null}
2757
2815
  */
2758
2816
  this.DRNetwork = null;
2759
2817
 
2818
+ /**
2819
+ * Secondary server resource ID. It is required when DRNetwork = 1.
2820
+ * @type {string || null}
2821
+ */
2822
+ this.DrInstanceId = null;
2823
+
2760
2824
  }
2761
2825
 
2762
2826
  /**
@@ -2772,6 +2836,7 @@ class ModifyDBInstanceNetworkRequest extends AbstractModel {
2772
2836
  this.OldIpRetainTime = 'OldIpRetainTime' in params ? params.OldIpRetainTime : null;
2773
2837
  this.Vip = 'Vip' in params ? params.Vip : null;
2774
2838
  this.DRNetwork = 'DRNetwork' in params ? params.DRNetwork : null;
2839
+ this.DrInstanceId = 'DrInstanceId' in params ? params.DrInstanceId : null;
2775
2840
 
2776
2841
  }
2777
2842
  }
@@ -3133,6 +3198,159 @@ class ResetAccountPasswordResponse extends AbstractModel {
3133
3198
  }
3134
3199
  }
3135
3200
 
3201
+ /**
3202
+ *
3203
+ * @class
3204
+ */
3205
+ class ZoneStatus extends AbstractModel {
3206
+ constructor(){
3207
+ super();
3208
+
3209
+ /**
3210
+ *
3211
+ * @type {string || null}
3212
+ */
3213
+ this.Zone = null;
3214
+
3215
+ /**
3216
+ *
3217
+ * @type {string || null}
3218
+ */
3219
+ this.Region = null;
3220
+
3221
+ /**
3222
+ *
3223
+ * @type {number || null}
3224
+ */
3225
+ this.Status = null;
3226
+
3227
+ }
3228
+
3229
+ /**
3230
+ * @private
3231
+ */
3232
+ deserialize(params) {
3233
+ if (!params) {
3234
+ return;
3235
+ }
3236
+ this.Zone = 'Zone' in params ? params.Zone : null;
3237
+ this.Region = 'Region' in params ? params.Region : null;
3238
+ this.Status = 'Status' in params ? params.Status : null;
3239
+
3240
+ }
3241
+ }
3242
+
3243
+ /**
3244
+ *
3245
+ * @class
3246
+ */
3247
+ class SpecSellStatus extends AbstractModel {
3248
+ constructor(){
3249
+ super();
3250
+
3251
+ /**
3252
+ *
3253
+ * @type {string || null}
3254
+ */
3255
+ this.Id = null;
3256
+
3257
+ /**
3258
+ *
3259
+ * @type {number || null}
3260
+ */
3261
+ this.SpecId = null;
3262
+
3263
+ /**
3264
+ *
3265
+ * @type {string || null}
3266
+ */
3267
+ this.PayModeStatus = null;
3268
+
3269
+ /**
3270
+ *
3271
+ * @type {string || null}
3272
+ */
3273
+ this.InstanceType = null;
3274
+
3275
+ /**
3276
+ *
3277
+ * @type {string || null}
3278
+ */
3279
+ this.MultiZonesStatus = null;
3280
+
3281
+ /**
3282
+ *
3283
+ * @type {string || null}
3284
+ */
3285
+ this.Architecture = null;
3286
+
3287
+ /**
3288
+ *
3289
+ * @type {string || null}
3290
+ */
3291
+ this.Style = null;
3292
+
3293
+ /**
3294
+ *
3295
+ * @type {string || null}
3296
+ */
3297
+ this.Version = null;
3298
+
3299
+ /**
3300
+ *
3301
+ * @type {Array.<ZoneStatus> || null}
3302
+ */
3303
+ this.ZoneStatusSet = null;
3304
+
3305
+ /**
3306
+ *
3307
+ * @type {Price || null}
3308
+ */
3309
+ this.Price = null;
3310
+
3311
+ /**
3312
+ *
3313
+ * @type {number || null}
3314
+ */
3315
+ this.Status = null;
3316
+
3317
+ }
3318
+
3319
+ /**
3320
+ * @private
3321
+ */
3322
+ deserialize(params) {
3323
+ if (!params) {
3324
+ return;
3325
+ }
3326
+ this.Id = 'Id' in params ? params.Id : null;
3327
+ this.SpecId = 'SpecId' in params ? params.SpecId : null;
3328
+ this.PayModeStatus = 'PayModeStatus' in params ? params.PayModeStatus : null;
3329
+ this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
3330
+ this.MultiZonesStatus = 'MultiZonesStatus' in params ? params.MultiZonesStatus : null;
3331
+ this.Architecture = 'Architecture' in params ? params.Architecture : null;
3332
+ this.Style = 'Style' in params ? params.Style : null;
3333
+ this.Version = 'Version' in params ? params.Version : null;
3334
+
3335
+ if (params.ZoneStatusSet) {
3336
+ this.ZoneStatusSet = new Array();
3337
+ for (let z in params.ZoneStatusSet) {
3338
+ let obj = new ZoneStatus();
3339
+ obj.deserialize(params.ZoneStatusSet[z]);
3340
+ this.ZoneStatusSet.push(obj);
3341
+ }
3342
+ }
3343
+
3344
+ if (params.Price) {
3345
+ let obj = new Price();
3346
+ obj.deserialize(params.Price)
3347
+ this.Price = obj;
3348
+ }
3349
+ this.Status = 'Status' in params ? params.Status : null;
3350
+
3351
+ }
3352
+ }
3353
+
3136
3354
  /**
3137
3355
  * Migration task type
3138
3356
  * @class
@@ -3611,6 +3829,34 @@ class DBCreateInfo extends AbstractModel {
3611
3829
  }
3612
3830
  }
3613
3831
 
3832
+ /**
3833
+ * RunMigration request structure.
3834
+ * @class
3835
+ */
3836
+ class RunMigrationRequest extends AbstractModel {
3837
+ constructor(){
3838
+ super();
3839
+
3840
+ /**
3841
+ * Migration task ID
3842
+ * @type {number || null}
3843
+ */
3844
+ this.MigrateId = null;
3845
+
3846
+ }
3847
+
3848
+ /**
3849
+ * @private
3850
+ */
3851
+ deserialize(params) {
3852
+ if (!params) {
3853
+ return;
3854
+ }
3855
+ this.MigrateId = 'MigrateId' in params ? params.MigrateId : null;
3856
+
3857
+ }
3858
+ }
3859
+
3614
3860
  /**
3615
3861
  * InquiryPriceCreateDBInstances request structure.
3616
3862
  * @class
@@ -4279,18 +4525,25 @@ class MigrationStep extends AbstractModel {
4279
4525
  }
4280
4526
 
4281
4527
  /**
4282
- * ModifyAccountRemark response structure.
4528
+ * DescribeCollationTimeZone request structure.
4283
4529
  * @class
4284
4530
  */
4285
- class ModifyAccountRemarkResponse extends AbstractModel {
4531
+ class DescribeCollationTimeZoneRequest extends AbstractModel {
4286
4532
  constructor(){
4287
4533
  super();
4288
4534
 
4289
4535
  /**
4290
- * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
4536
+ * Host type of the purchased instance. PM: physical server; CLOUD_PREMIUM: CVM with Premium Cloud Disk;
4537
+ CLOUD_SSD: CVM with Cloud SSD; CLOUD_HSSD: CVM with Enhanced SSD; CLOUD_TSSD: CVM with Tremendous SSD; CLOUD_BSSD: CVM with Balanced SSD; CLOUD_BASIC: CVM with cloud disk. PM is set as the default value.
4291
4538
  * @type {string || null}
4292
4539
  */
4293
- this.RequestId = null;
4540
+ this.MachineType = null;
4541
+
4542
+ /**
4543
+ * Version number of the purchased instance.
4544
+ * @type {string || null}
4545
+ */
4546
+ this.DBVersion = null;
4294
4547
 
4295
4548
  }
4296
4549
 
@@ -4301,7 +4554,8 @@ class ModifyAccountRemarkResponse extends AbstractModel {
4301
4554
  if (!params) {
4302
4555
  return;
4303
4556
  }
4304
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
4557
+ this.MachineType = 'MachineType' in params ? params.MachineType : null;
4558
+ this.DBVersion = 'DBVersion' in params ? params.DBVersion : null;
4305
4559
 
4306
4560
  }
4307
4561
  }
@@ -4558,6 +4812,12 @@ class UpgradeDBInstanceRequest extends AbstractModel {
4558
4812
  */
4559
4813
  this.WaitSwitch = null;
4560
4814
 
4815
+ /**
4816
+ * Secondary node AZ of the multi-node architecture instance. The default value is null. It should be specified when modifying the AZ of the specified secondary node needs to be performed during configuration adjustment. When MultiZones = MultiZones, the AZs of the primary nodes and secondary nodes cannot all be the same. The collection of AZs of the secondary node can include 2-5 AZs.
4817
+ * @type {Array.<DrZoneInfo> || null}
4818
+ */
4819
+ this.DrZones = null;
4820
+
4561
4821
  }
4562
4822
 
4563
4823
  /**
@@ -4578,6 +4838,15 @@ class UpgradeDBInstanceRequest extends AbstractModel {
4578
4838
  this.MultiZones = 'MultiZones' in params ? params.MultiZones : null;
4579
4839
  this.WaitSwitch = 'WaitSwitch' in params ? params.WaitSwitch : null;
4580
4840
 
4841
+ if (params.DrZones) {
4842
+ this.DrZones = new Array();
4843
+ for (let z in params.DrZones) {
4844
+ let obj = new DrZoneInfo();
4845
+ obj.deserialize(params.DrZones[z]);
4846
+ this.DrZones.push(obj);
4847
+ }
4848
+ }
4849
+
4581
4850
  }
4582
4851
  }
4583
4852
 
@@ -5603,7 +5872,7 @@ class DescribeInstanceByOrdersResponse extends AbstractModel {
5603
5872
  super();
5604
5873
 
5605
5874
  /**
5606
- *
5875
+ * Resource ID set.
5607
5876
  * @type {Array.<DealInstance> || null}
5608
5877
  */
5609
5878
  this.DealInstance = null;
@@ -6094,6 +6363,69 @@ class InstanceDBDetail extends AbstractModel {
6094
6363
  }
6095
6364
  }
6096
6365
 
6366
+ /**
6367
+ * DescribeSpecSellStatus request structure.
6368
+ * @class
6369
+ */
6370
+ class DescribeSpecSellStatusRequest extends AbstractModel {
6371
+ constructor(){
6372
+ super();
6373
+
6374
+ /**
6375
+ * AZ ID. For example, ap-guangzhou-3.
6376
+ * @type {string || null}
6377
+ */
6378
+ this.Zone = null;
6379
+
6380
+ /**
6381
+ * Instance specification ID, which can be obtained by calling the DescribeProductConfig API.
6382
+ * @type {Array.<number> || null}
6383
+ */
6384
+ this.SpecIdSet = null;
6385
+
6386
+ /**
6387
+ * Database version, which can be obtained by calling the DescribeProductConfig API.
6388
+ * @type {string || null}
6389
+ */
6390
+ this.DBVersion = null;
6391
+
6392
+ /**
6393
+ * Product ID, which can be obtained by calling the DescribeProductConfig API.
6394
+ * @type {number || null}
6395
+ */
6396
+ this.Pid = null;
6397
+
6398
+ /**
6399
+ * Payment mode. POST: pay-as-you-go; PRE: monthly subscription.
6400
+ * @type {string || null}
6401
+ */
6402
+ this.PayMode = null;
6403
+
6404
+ /**
6405
+ * Currency. CNY; USD.
6406
+ * @type {string || null}
6407
+ */
6408
+ this.Currency = null;
6409
+
6410
+ }
6411
+
6412
+ /**
6413
+ * @private
6414
+ */
6415
+ deserialize(params) {
6416
+ if (!params) {
6417
+ return;
6418
+ }
6419
+ this.Zone = 'Zone' in params ? params.Zone : null;
6420
+ this.SpecIdSet = 'SpecIdSet' in params ? params.SpecIdSet : null;
6421
+ this.DBVersion = 'DBVersion' in params ? params.DBVersion : null;
6422
+ this.Pid = 'Pid' in params ? params.Pid : null;
6423
+ this.PayMode = 'PayMode' in params ? params.PayMode : null;
6424
+ this.Currency = 'Currency' in params ? params.Currency : null;
6425
+
6426
+ }
6427
+ }
6428
+
6097
6429
  /**
6098
6430
  * DescribeBackupFiles request structure.
6099
6431
  * @class
@@ -6202,19 +6534,19 @@ class InquiryPriceUpgradeDBInstanceRequest extends AbstractModel {
6202
6534
  super();
6203
6535
 
6204
6536
  /**
6205
- * Instance ID in the format of mssql-njj2mtpl
6537
+ * Instance ID in the format of mssql-njj2mtpl.
6206
6538
  * @type {string || null}
6207
6539
  */
6208
6540
  this.InstanceId = null;
6209
6541
 
6210
6542
  /**
6211
- * Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size
6543
+ * Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size.
6212
6544
  * @type {number || null}
6213
6545
  */
6214
6546
  this.Memory = null;
6215
6547
 
6216
6548
  /**
6217
- * Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity
6549
+ * Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity.
6218
6550
  * @type {number || null}
6219
6551
  */
6220
6552
  this.Storage = null;
@@ -8193,137 +8525,143 @@ class CreateBasicDBInstancesRequest extends AbstractModel {
8193
8525
  super();
8194
8526
 
8195
8527
  /**
8196
- *
8528
+ * Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the `DescribeZones` API.
8197
8529
  * @type {string || null}
8198
8530
  */
8199
8531
  this.Zone = null;
8200
8532
 
8201
8533
  /**
8202
- *
8534
+ * Number of CPU cores.
8203
8535
  * @type {number || null}
8204
8536
  */
8205
8537
  this.Cpu = null;
8206
8538
 
8207
8539
  /**
8208
- *
8540
+ * Instance memory size in GB.
8209
8541
  * @type {number || null}
8210
8542
  */
8211
8543
  this.Memory = null;
8212
8544
 
8213
8545
  /**
8214
- *
8546
+ * Instance storage capacity in GB.
8215
8547
  * @type {number || null}
8216
8548
  */
8217
8549
  this.Storage = null;
8218
8550
 
8219
8551
  /**
8220
- *
8552
+ * VPC subnet ID in the format of subnet-bdoe83fa.
8221
8553
  * @type {string || null}
8222
8554
  */
8223
8555
  this.SubnetId = null;
8224
8556
 
8225
8557
  /**
8226
- *
8558
+ * VPC ID in the format of vpc-dsp338hz.
8227
8559
  * @type {string || null}
8228
8560
  */
8229
8561
  this.VpcId = null;
8230
8562
 
8231
8563
  /**
8232
- *
8564
+ * Host type of purchased instances. CLOUD_PREMIUM: Premium Disk for virtual machines; CLOUD_SSD: Cloud SSD for virtual machines; CLOUD_HSSD: Enhanced SSD for virtual machines; CLOUD_BSSD: Balanced SSD for virtual machines.
8233
8565
  * @type {string || null}
8234
8566
  */
8235
8567
  this.MachineType = null;
8236
8568
 
8237
8569
  /**
8238
- *
8570
+ * Billing mode. Valid value: POSTPAID (pay-as-you-go).
8239
8571
  * @type {string || null}
8240
8572
  */
8241
8573
  this.InstanceChargeType = null;
8242
8574
 
8243
8575
  /**
8244
- *
8576
+ * Project ID.
8245
8577
  * @type {number || null}
8246
8578
  */
8247
8579
  this.ProjectId = null;
8248
8580
 
8249
8581
  /**
8250
- *
8582
+ * Number of instances purchased this time. Default value: 1. Maximum value: 10.
8251
8583
  * @type {number || null}
8252
8584
  */
8253
8585
  this.GoodsNum = null;
8254
8586
 
8255
8587
  /**
8256
- *
8588
+ * SQL Server version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The available version varies by region, and you can pull the version information by calling the `DescribeProductConfig` API.
8257
8589
  * @type {string || null}
8258
8590
  */
8259
8591
  this.DBVersion = null;
8260
8592
 
8261
8593
  /**
8262
- *
8594
+ * Length of purchase of instance. The default value is 1, indicating one month. The value cannot exceed 48.
8263
8595
  * @type {number || null}
8264
8596
  */
8265
8597
  this.Period = null;
8266
8598
 
8267
8599
  /**
8268
- *
8600
+ * Security group list, which contains security group IDs in the format of sg-xxx.
8269
8601
  * @type {Array.<string> || null}
8270
8602
  */
8271
8603
  this.SecurityGroupList = null;
8272
8604
 
8273
8605
  /**
8274
- *
8606
+ * Auto-renewal flag. 0: normal renewal, 1: auto-renewal. Default value: 1.
8275
8607
  * @type {number || null}
8276
8608
  */
8277
8609
  this.AutoRenewFlag = null;
8278
8610
 
8279
8611
  /**
8280
- *
8612
+ * Whether to automatically use voucher. 0: no, 1: yes. Default value: no.
8281
8613
  * @type {number || null}
8282
8614
  */
8283
8615
  this.AutoVoucher = null;
8284
8616
 
8285
8617
  /**
8286
- *
8618
+ * Array of voucher IDs (currently, only one voucher can be used per order).
8287
8619
  * @type {Array.<string> || null}
8288
8620
  */
8289
8621
  this.VoucherIds = null;
8290
8622
 
8291
8623
  /**
8292
- *
8624
+ * Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
8293
8625
  * @type {Array.<number> || null}
8294
8626
  */
8295
8627
  this.Weekly = null;
8296
8628
 
8297
8629
  /**
8298
- *
8630
+ * Configuration of the maintenance window, which specifies the start time of daily maintenance.
8299
8631
  * @type {string || null}
8300
8632
  */
8301
8633
  this.StartTime = null;
8302
8634
 
8303
8635
  /**
8304
- *
8636
+ * Configuration of the maintenance window, which specifies the maintenance duration in hours.
8305
8637
  * @type {number || null}
8306
8638
  */
8307
8639
  this.Span = null;
8308
8640
 
8309
8641
  /**
8310
- *
8642
+ * Tags associated with the instances to be created.
8311
8643
  * @type {Array.<ResourceTag> || null}
8312
8644
  */
8313
8645
  this.ResourceTags = null;
8314
8646
 
8315
8647
  /**
8316
- *
8648
+ * Collation of system character sets. Default value: `Chinese_PRC_CI_AS`.
8317
8649
  * @type {string || null}
8318
8650
  */
8319
8651
  this.Collation = null;
8320
8652
 
8321
8653
  /**
8322
- *
8654
+ * System time zone. Default value: `China Standard Time`.
8323
8655
  * @type {string || null}
8324
8656
  */
8325
8657
  this.TimeZone = null;
8326
8658
 
8659
+ /**
8660
+ * Disk encryption identifier, 0-unencrypted, 1-encrypted.
8661
+ * @type {number || null}
8662
+ */
8663
+ this.DiskEncryptFlag = null;
8664
+
8327
8665
  }
8328
8666
 
8329
8667
  /**
@@ -8363,6 +8701,7 @@ class CreateBasicDBInstancesRequest extends AbstractModel {
8363
8701
  }
8364
8702
  this.Collation = 'Collation' in params ? params.Collation : null;
8365
8703
  this.TimeZone = 'TimeZone' in params ? params.TimeZone : null;
8704
+ this.DiskEncryptFlag = 'DiskEncryptFlag' in params ? params.DiskEncryptFlag : null;
8366
8705
 
8367
8706
  }
8368
8707
  }
@@ -8514,6 +8853,41 @@ class StartBackupMigrationRequest extends AbstractModel {
8514
8853
  }
8515
8854
  }
8516
8855
 
8856
+ /**
8857
+ * Migration progress details
8858
+ * @class
8859
+ */
8860
+ class MigrateDetail extends AbstractModel {
8861
+ constructor(){
8862
+ super();
8863
+
8864
+ /**
8865
+ * Name of current step
8866
+ * @type {string || null}
8867
+ */
8868
+ this.StepName = null;
8869
+
8870
+ /**
8871
+ * Progress of current step in %
8872
+ * @type {number || null}
8873
+ */
8874
+ this.Progress = null;
8875
+
8876
+ }
8877
+
8878
+ /**
8879
+ * @private
8880
+ */
8881
+ deserialize(params) {
8882
+ if (!params) {
8883
+ return;
8884
+ }
8885
+ this.StepName = 'StepName' in params ? params.StepName : null;
8886
+ this.Progress = 'Progress' in params ? params.Progress : null;
8887
+
8888
+ }
8889
+ }
8890
+
8517
8891
  /**
8518
8892
  * DescribeDBInstancesAttribute response structure.
8519
8893
  * @class
@@ -9942,13 +10316,13 @@ class InquiryPriceUpgradeDBInstanceResponse extends AbstractModel {
9942
10316
  super();
9943
10317
 
9944
10318
  /**
9945
- * Price before discount. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD
10319
+ * Price before discount. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD.
9946
10320
  * @type {number || null}
9947
10321
  */
9948
10322
  this.OriginalPrice = null;
9949
10323
 
9950
10324
  /**
9951
- * The actual price to be paid. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD
10325
+ * The actual price to be paid. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD.
9952
10326
  * @type {number || null}
9953
10327
  */
9954
10328
  this.Price = null;
@@ -10171,7 +10545,7 @@ class UpgradeDBInstanceResponse extends AbstractModel {
10171
10545
  super();
10172
10546
 
10173
10547
  /**
10174
- * Order name
10548
+ * Order name.
10175
10549
  * @type {string || null}
10176
10550
  */
10177
10551
  this.DealName = null;
@@ -10362,6 +10736,55 @@ class Parameter extends AbstractModel {
10362
10736
  }
10363
10737
  }
10364
10738
 
10739
+ /**
10740
+ *
10741
+ * @class
10742
+ */
10743
+ class Price extends AbstractModel {
10744
+ constructor(){
10745
+ super();
10746
+
10747
+ /**
10748
+ *
10749
+ * @type {number || null}
10750
+ */
10751
+ this.PrepaidPrice = null;
10752
+
10753
+ /**
10754
+ *
10755
+ * @type {string || null}
10756
+ */
10757
+ this.PrepaidPriceUnit = null;
10758
+
10759
+ /**
10760
+ *
10761
+ * @type {number || null}
10762
+ */
10763
+ this.PostpaidPrice = null;
10764
+
10765
+ /**
10766
+ *
10767
+ * @type {string || null}
10768
+ */
10769
+ this.PostpaidPriceUnit = null;
10770
+
10771
+ }
10772
+
10773
+ /**
10774
+ * @private
10775
+ */
10776
+ deserialize(params) {
10777
+ if (!params) {
10778
+ return;
10779
+ }
10780
+ this.PrepaidPrice = 'PrepaidPrice' in params ? params.PrepaidPrice : null;
10781
+ this.PrepaidPriceUnit = 'PrepaidPriceUnit' in params ? params.PrepaidPriceUnit : null;
10782
+ this.PostpaidPrice = 'PostpaidPrice' in params ? params.PostpaidPrice : null;
10783
+ this.PostpaidPriceUnit = 'PostpaidPriceUnit' in params ? params.PostpaidPriceUnit : null;
10784
+
10785
+ }
10786
+ }
10787
+
10365
10788
  /**
10366
10789
  * CreateAccount response structure.
10367
10790
  * @class
@@ -11978,6 +12401,34 @@ class MigrateTarget extends AbstractModel {
11978
12401
  }
11979
12402
  }
11980
12403
 
12404
+ /**
12405
+ * ModifyAccountRemark response structure.
12406
+ * @class
12407
+ */
12408
+ class ModifyAccountRemarkResponse extends AbstractModel {
12409
+ constructor(){
12410
+ super();
12411
+
12412
+ /**
12413
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
12414
+ * @type {string || null}
12415
+ */
12416
+ this.RequestId = null;
12417
+
12418
+ }
12419
+
12420
+ /**
12421
+ * @private
12422
+ */
12423
+ deserialize(params) {
12424
+ if (!params) {
12425
+ return;
12426
+ }
12427
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
12428
+
12429
+ }
12430
+ }
12431
+
11981
12432
  /**
11982
12433
  * CreateDBInstances response structure.
11983
12434
  * @class
@@ -12175,6 +12626,7 @@ module.exports = {
12175
12626
  ModifyDBEncryptAttributesResponse: ModifyDBEncryptAttributesResponse,
12176
12627
  ModifyBackupStrategyRequest: ModifyBackupStrategyRequest,
12177
12628
  RestoreInstanceRequest: RestoreInstanceRequest,
12629
+ DrZoneInfo: DrZoneInfo,
12178
12630
  CreateBasicDBInstancesResponse: CreateBasicDBInstancesResponse,
12179
12631
  DescribeAccountsRequest: DescribeAccountsRequest,
12180
12632
  DescribeMaintenanceSpanResponse: DescribeMaintenanceSpanResponse,
@@ -12192,9 +12644,9 @@ module.exports = {
12192
12644
  SlaveZones: SlaveZones,
12193
12645
  ModifyIncrementalMigrationRequest: ModifyIncrementalMigrationRequest,
12194
12646
  StartInstanceXEventResponse: StartInstanceXEventResponse,
12195
- MigrateDetail: MigrateDetail,
12647
+ DescribeCollationTimeZoneResponse: DescribeCollationTimeZoneResponse,
12196
12648
  CreateIncrementalMigrationRequest: CreateIncrementalMigrationRequest,
12197
- RunMigrationRequest: RunMigrationRequest,
12649
+ DescribeSpecSellStatusResponse: DescribeSpecSellStatusResponse,
12198
12650
  DescribeDBInstanceInterResponse: DescribeDBInstanceInterResponse,
12199
12651
  CreateBusinessIntelligenceFileResponse: CreateBusinessIntelligenceFileResponse,
12200
12652
  OpenInterCommunicationRequest: OpenInterCommunicationRequest,
@@ -12229,6 +12681,8 @@ module.exports = {
12229
12681
  BusinessIntelligenceFile: BusinessIntelligenceFile,
12230
12682
  DescribeFlowStatusRequest: DescribeFlowStatusRequest,
12231
12683
  ResetAccountPasswordResponse: ResetAccountPasswordResponse,
12684
+ ZoneStatus: ZoneStatus,
12685
+ SpecSellStatus: SpecSellStatus,
12232
12686
  MigrateTask: MigrateTask,
12233
12687
  SpecInfo: SpecInfo,
12234
12688
  DescribeOrdersResponse: DescribeOrdersResponse,
@@ -12236,6 +12690,7 @@ module.exports = {
12236
12690
  OpenInterCommunicationResponse: OpenInterCommunicationResponse,
12237
12691
  ModifyAccountPrivilegeResponse: ModifyAccountPrivilegeResponse,
12238
12692
  DBCreateInfo: DBCreateInfo,
12693
+ RunMigrationRequest: RunMigrationRequest,
12239
12694
  InquiryPriceCreateDBInstancesRequest: InquiryPriceCreateDBInstancesRequest,
12240
12695
  ModifyMigrationResponse: ModifyMigrationResponse,
12241
12696
  DescribeZonesResponse: DescribeZonesResponse,
@@ -12244,7 +12699,7 @@ module.exports = {
12244
12699
  CreateCloudReadOnlyDBInstancesRequest: CreateCloudReadOnlyDBInstancesRequest,
12245
12700
  ModifyInstanceEncryptAttributesResponse: ModifyInstanceEncryptAttributesResponse,
12246
12701
  MigrationStep: MigrationStep,
12247
- ModifyAccountRemarkResponse: ModifyAccountRemarkResponse,
12702
+ DescribeCollationTimeZoneRequest: DescribeCollationTimeZoneRequest,
12248
12703
  Events: Events,
12249
12704
  DescribeMigrationsResponse: DescribeMigrationsResponse,
12250
12705
  DescribeBackupFilesResponse: DescribeBackupFilesResponse,
@@ -12283,6 +12738,7 @@ module.exports = {
12283
12738
  CreateDBRequest: CreateDBRequest,
12284
12739
  EventConfig: EventConfig,
12285
12740
  InstanceDBDetail: InstanceDBDetail,
12741
+ DescribeSpecSellStatusRequest: DescribeSpecSellStatusRequest,
12286
12742
  DescribeBackupFilesRequest: DescribeBackupFilesRequest,
12287
12743
  RenameRestoreDatabase: RenameRestoreDatabase,
12288
12744
  InquiryPriceUpgradeDBInstanceRequest: InquiryPriceUpgradeDBInstanceRequest,
@@ -12319,6 +12775,7 @@ module.exports = {
12319
12775
  CosUploadBackupFile: CosUploadBackupFile,
12320
12776
  ModifyDBNameRequest: ModifyDBNameRequest,
12321
12777
  StartBackupMigrationRequest: StartBackupMigrationRequest,
12778
+ MigrateDetail: MigrateDetail,
12322
12779
  DescribeDBInstancesAttributeResponse: DescribeDBInstancesAttributeResponse,
12323
12780
  Backup: Backup,
12324
12781
  DescribeRestoreTimeRangeResponse: DescribeRestoreTimeRangeResponse,
@@ -12355,6 +12812,7 @@ module.exports = {
12355
12812
  ModifyMigrationRequest: ModifyMigrationRequest,
12356
12813
  CrossBackupAddr: CrossBackupAddr,
12357
12814
  Parameter: Parameter,
12815
+ Price: Price,
12358
12816
  CreateAccountResponse: CreateAccountResponse,
12359
12817
  DescribeBackupUploadSizeRequest: DescribeBackupUploadSizeRequest,
12360
12818
  DeleteDBResponse: DeleteDBResponse,
@@ -12385,6 +12843,7 @@ module.exports = {
12385
12843
  DescribeIncrementalMigrationResponse: DescribeIncrementalMigrationResponse,
12386
12844
  ModifyDBRemarkResponse: ModifyDBRemarkResponse,
12387
12845
  MigrateTarget: MigrateTarget,
12846
+ ModifyAccountRemarkResponse: ModifyAccountRemarkResponse,
12388
12847
  CreateDBInstancesResponse: CreateDBInstancesResponse,
12389
12848
  ModifyBackupMigrationRequest: ModifyBackupMigrationRequest,
12390
12849
  DeleteAccountResponse: DeleteAccountResponse,