tencentcloud-sdk-nodejs-intl-en 3.0.523 → 3.0.526

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.523",
3
+ "version": "3.0.526",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -330,7 +330,7 @@ class AntiddosClient extends AbstractClient {
330
330
  }
331
331
 
332
332
  /**
333
- * This API is used to obtain a CC precise protection policy.
333
+ * This API is used to obtain the list of CC precise protection policies.
334
334
  * @param {DescribeCCPrecisionPlyListRequest} req
335
335
  * @param {function(string, DescribeCCPrecisionPlyListResponse):void} cb
336
336
  * @public
@@ -441,7 +441,7 @@ class AntiddosClient extends AbstractClient {
441
441
  }
442
442
 
443
443
  /**
444
- * This API is used to obtain a layer-4 access control list.
444
+ * This API is used to obtain the layer-4 access control list.
445
445
  * @param {DescribeCcBlackWhiteIpListRequest} req
446
446
  * @param {function(string, DescribeCcBlackWhiteIpListResponse):void} cb
447
447
  * @public
@@ -919,7 +919,7 @@ class DescribeListBGPInstancesRequest extends AbstractModel {
919
919
  this.Limit = null;
920
920
 
921
921
  /**
922
- * IP filter
922
+ * Filters by IP.
923
923
  * @type {string || null}
924
924
  */
925
925
  this.FilterIp = null;
@@ -931,13 +931,13 @@ class DescribeListBGPInstancesRequest extends AbstractModel {
931
931
  this.FilterInstanceId = null;
932
932
 
933
933
  /**
934
- * Region filter. For example, `ap-guangzhou`.
934
+ * Filters by region. For example, `ap-guangzhou`.
935
935
  * @type {string || null}
936
936
  */
937
937
  this.FilterRegion = null;
938
938
 
939
939
  /**
940
- * Name filter
940
+ * Filters by name.
941
941
  * @type {string || null}
942
942
  */
943
943
  this.FilterName = null;
@@ -955,11 +955,29 @@ class DescribeListBGPInstancesRequest extends AbstractModel {
955
955
  this.FilterStatus = null;
956
956
 
957
957
  /**
958
- * Filters by binding status. `bounding`: the instance is bound; `failed`: the binding failed.
958
+ * Filters by binding status. `bounding`: The instance is bound; `failed`: The binding failed.
959
959
  * @type {string || null}
960
960
  */
961
961
  this.FilterBoundStatus = null;
962
962
 
963
+ /**
964
+ * Array of instance IDs
965
+ * @type {Array.<string> || null}
966
+ */
967
+ this.FilterInstanceIdList = null;
968
+
969
+ /**
970
+ * Filters by Enterprise edition
971
+ * @type {number || null}
972
+ */
973
+ this.FilterEnterpriseFlag = null;
974
+
975
+ /**
976
+ * Filters by tag
977
+ * @type {TagFilter || null}
978
+ */
979
+ this.FilterTag = null;
980
+
963
981
  }
964
982
 
965
983
  /**
@@ -978,6 +996,14 @@ class DescribeListBGPInstancesRequest extends AbstractModel {
978
996
  this.FilterLine = 'FilterLine' in params ? params.FilterLine : null;
979
997
  this.FilterStatus = 'FilterStatus' in params ? params.FilterStatus : null;
980
998
  this.FilterBoundStatus = 'FilterBoundStatus' in params ? params.FilterBoundStatus : null;
999
+ this.FilterInstanceIdList = 'FilterInstanceIdList' in params ? params.FilterInstanceIdList : null;
1000
+ this.FilterEnterpriseFlag = 'FilterEnterpriseFlag' in params ? params.FilterEnterpriseFlag : null;
1001
+
1002
+ if (params.FilterTag) {
1003
+ let obj = new TagFilter();
1004
+ obj.deserialize(params.FilterTag)
1005
+ this.FilterTag = obj;
1006
+ }
981
1007
 
982
1008
  }
983
1009
  }
@@ -1895,7 +1921,7 @@ class DescribeListBGPIPInstancesRequest extends AbstractModel {
1895
1921
  this.FilterTag = null;
1896
1922
 
1897
1923
  /**
1898
- *
1924
+ * Filters by package type.
1899
1925
  * @type {Array.<string> || null}
1900
1926
  */
1901
1927
  this.FilterPackType = null;
@@ -2186,7 +2212,7 @@ class BoundIpInfo extends AbstractModel {
2186
2212
  this.InstanceId = null;
2187
2213
 
2188
2214
  /**
2189
- * Sub-product category. Valid values: `cvm` (CVM), `lb` (Load balancer), `eni` (ENI), `vpngw` (VPN gateway), `natgw` (NAT gateway), `waf` (WAF), `fpc` (financial products), `gaap` (GAAP), `eip` (BM EIP) and `other` (hosted IP). This field is required when you perform binding.
2215
+ * Sub-product category. Valid values: `cvm` (CVM), `lb` (Load balancer), `eni` (ENI), `vpngw` (VPN gateway), `natgw` (NAT gateway), `waf` (WAF), `fpc` (financial products), `gaap` (GAAP), `eip` (BM EIP) and `other` (managed IP). This field is required when you perform binding.
2190
2216
  * @type {string || null}
2191
2217
  */
2192
2218
  this.DeviceType = null;
@@ -3997,7 +4023,9 @@ Note: This field may return `null`, indicating that no valid value can be obtain
3997
4023
  this.TagInfoList = null;
3998
4024
 
3999
4025
  /**
4000
- *
4026
+ * All-out package details of the instance
4027
+ When an all-out package is not used by the instance, this field is `null`.
4028
+ Note: This field may return `null`, indicating that no valid value can be obtained.
4001
4029
  * @type {AnycastOutPackRelation || null}
4002
4030
  */
4003
4031
  this.AnycastOutPackRelation = null;
@@ -5510,7 +5538,7 @@ Note: For custom protocol ranges, only protocol number is supported. Multiple ra
5510
5538
  }
5511
5539
 
5512
5540
  /**
5513
- *
5541
+ * Details of the Anycast package
5514
5542
  * @class
5515
5543
  */
5516
5544
  class AnycastOutPackRelation extends AbstractModel {
@@ -5518,25 +5546,29 @@ class AnycastOutPackRelation extends AbstractModel {
5518
5546
  super();
5519
5547
 
5520
5548
  /**
5521
- *
5549
+ * Application bandwidth (in Mbps).
5550
+ Note: This field may return null, indicating that no valid values can be obtained.
5522
5551
  * @type {number || null}
5523
5552
  */
5524
5553
  this.NormalBandwidth = null;
5525
5554
 
5526
5555
  /**
5527
- *
5556
+ * Number of forwarding rules
5557
+ Note: This field may return null, indicating that no valid values can be obtained.
5528
5558
  * @type {number || null}
5529
5559
  */
5530
5560
  this.ForwardRulesLimit = null;
5531
5561
 
5532
5562
  /**
5533
- *
5563
+ * Auto-renewal flag
5564
+ Note: This field may return null, indicating that no valid values can be obtained.
5534
5565
  * @type {number || null}
5535
5566
  */
5536
5567
  this.AutoRenewFlag = null;
5537
5568
 
5538
5569
  /**
5539
- *
5570
+ * Expiration date
5571
+ Note: This field may return null, indicating that no valid values can be obtained.
5540
5572
  * @type {string || null}
5541
5573
  */
5542
5574
  this.CurDeadline = null;
@@ -6552,15 +6584,15 @@ class BGPInstanceSpecification extends AbstractModel {
6552
6584
  this.ProtectCountLimit = null;
6553
6585
 
6554
6586
  /**
6555
- * Number of protection IPs
6587
+ * Number of protected IPs
6556
6588
  * @type {number || null}
6557
6589
  */
6558
6590
  this.ProtectIPNumberLimit = null;
6559
6591
 
6560
6592
  /**
6561
- * Auto-renewal status. Valid values:
6562
- `0`: disabled
6563
- `1`: enabled
6593
+ * Auto-renewal status. Values:
6594
+ `0`: Disabled
6595
+ `1`: Enabled
6564
6596
  ]
6565
6597
  * @type {number || null}
6566
6598
  */
@@ -6568,17 +6600,46 @@ class BGPInstanceSpecification extends AbstractModel {
6568
6600
 
6569
6601
  /**
6570
6602
  * Protection type of Anti-DDoS Pro. Valid values: `0` (general protection) and `1` (Lighthouse-based protection).
6571
- Note: This field may return `null`, indicating that no valid values can be obtained.
6603
+ Note: This field may return null, indicating that no valid values can be obtained.
6572
6604
  * @type {number || null}
6573
6605
  */
6574
6606
  this.UnionPackFlag = null;
6575
6607
 
6576
6608
  /**
6577
- *
6609
+ * Application bandwidth
6610
+ Note: This field may return null, indicating that no valid values can be obtained.
6578
6611
  * @type {number || null}
6579
6612
  */
6580
6613
  this.ServiceBandWidth = null;
6581
6614
 
6615
+ /**
6616
+ * Whether it’s an Anti-DDoS Pro Premium edition. Values: `0` (General edition); `1` (Premium edition).
6617
+ Note: This field may return null, indicating that no valid values can be obtained.
6618
+ * @type {number || null}
6619
+ */
6620
+ this.BattleEditionFlag = null;
6621
+
6622
+ /**
6623
+ * Whether it’s an Anti-DDoS Pro Standard edition. Values: `0` (General edition); `1` (Standard edition).
6624
+ Note: This field may return null, indicating that no valid values can be obtained.
6625
+ * @type {number || null}
6626
+ */
6627
+ this.ChannelEditionFlag = null;
6628
+
6629
+ /**
6630
+ * Whether it’s an Anti-DDoS Pro Enterprise edition. Values: `0` (General edition); `1` (Enterprise edition).
6631
+ Note: This field may return null, indicating that no valid values can be obtained.
6632
+ * @type {number || null}
6633
+ */
6634
+ this.EnterpriseFlag = null;
6635
+
6636
+ /**
6637
+ * Elastic bandwidth threshold of the Anti-DDoS Pro Enterprise edition.
6638
+ Note: This field may return null, indicating that no valid values can be obtained.
6639
+ * @type {number || null}
6640
+ */
6641
+ this.ElasticLimit = null;
6642
+
6582
6643
  }
6583
6644
 
6584
6645
  /**
@@ -6594,6 +6655,10 @@ Note: This field may return `null`, indicating that no valid values can be obtai
6594
6655
  this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
6595
6656
  this.UnionPackFlag = 'UnionPackFlag' in params ? params.UnionPackFlag : null;
6596
6657
  this.ServiceBandWidth = 'ServiceBandWidth' in params ? params.ServiceBandWidth : null;
6658
+ this.BattleEditionFlag = 'BattleEditionFlag' in params ? params.BattleEditionFlag : null;
6659
+ this.ChannelEditionFlag = 'ChannelEditionFlag' in params ? params.ChannelEditionFlag : null;
6660
+ this.EnterpriseFlag = 'EnterpriseFlag' in params ? params.EnterpriseFlag : null;
6661
+ this.ElasticLimit = 'ElasticLimit' in params ? params.ElasticLimit : null;
6597
6662
 
6598
6663
  }
6599
6664
  }
@@ -8090,7 +8155,7 @@ class DescribeListBGPInstancesResponse extends AbstractModel {
8090
8155
  super();
8091
8156
 
8092
8157
  /**
8093
- * Total number of lists
8158
+ * Total number of Anti-DDoS Pro instances
8094
8159
  * @type {number || null}
8095
8160
  */
8096
8161
  this.Total = null;
@@ -8336,7 +8401,7 @@ class CreateCcBlackWhiteIpListRequest extends AbstractModel {
8336
8401
  }
8337
8402
 
8338
8403
  /**
8339
- * Anti-DDoS Pro instance details
8404
+ * Details of the Anti-DDoS Pro instance
8340
8405
  * @class
8341
8406
  */
8342
8407
  class BGPInstance extends AbstractModel {
@@ -8344,43 +8409,43 @@ class BGPInstance extends AbstractModel {
8344
8409
  super();
8345
8410
 
8346
8411
  /**
8347
- * Anti-DDoS instance details
8412
+ * Details of the Anti-DDoS Pro instance
8348
8413
  * @type {InstanceRelation || null}
8349
8414
  */
8350
8415
  this.InstanceDetail = null;
8351
8416
 
8352
8417
  /**
8353
- * Anti-DDoS instance specifications
8418
+ * Specifications of the Anti-DDoS Pro instance
8354
8419
  * @type {BGPInstanceSpecification || null}
8355
8420
  */
8356
8421
  this.SpecificationLimit = null;
8357
8422
 
8358
8423
  /**
8359
- * Anti-DDoS instance usage statistics
8424
+ * Usage statistics of the Anti-DDoS Pro instance
8360
8425
  * @type {BGPInstanceUsages || null}
8361
8426
  */
8362
8427
  this.Usage = null;
8363
8428
 
8364
8429
  /**
8365
- * Region of the Anti-DDoS instance
8430
+ * Region of the Anti-DDoS Pro instance
8366
8431
  * @type {RegionInfo || null}
8367
8432
  */
8368
8433
  this.Region = null;
8369
8434
 
8370
8435
  /**
8371
- * Status of the Anti-DDoS instance. Valid values:
8372
- `idle`: running
8373
- `attacking`: under attacks
8374
- `blocking`: blocked
8375
- `creating`: creating
8376
- `deblocking`: unblocked
8377
- `isolate`: isolated
8436
+ * Status of the Anti-DDoS Pro instance. Valid values:
8437
+ `idle`: The instance is running normally.
8438
+ `attacking`: The instance is under attack.
8439
+ `blocking`: The instance is blocked.
8440
+ `creating`: The instance is being created.
8441
+ `deblocking`: Unblocking the instance
8442
+ `isolate`: The instance is being isolated.
8378
8443
  * @type {string || null}
8379
8444
  */
8380
8445
  this.Status = null;
8381
8446
 
8382
8447
  /**
8383
- * Purchase Time
8448
+ * Purchase time
8384
8449
  * @type {string || null}
8385
8450
  */
8386
8451
  this.CreatedTime = null;
@@ -8392,14 +8457,14 @@ class BGPInstance extends AbstractModel {
8392
8457
  this.ExpiredTime = null;
8393
8458
 
8394
8459
  /**
8395
- * Name of the Anti-DDoS instance
8460
+ * Name of the Anti-DDoS Pro instance
8396
8461
  * @type {string || null}
8397
8462
  */
8398
8463
  this.Name = null;
8399
8464
 
8400
8465
  /**
8401
- * Package details of the Anti-DDoS instance.
8402
- Note: This field is `null` for an Anti-DDoS instance without using a package.
8466
+ * Details of the package to which the Anti-DDoS Pro instance belongs.
8467
+ When the package provided is not used by the instance, this field is `null`.
8403
8468
  Note: This field may return `null`, indicating that no valid value can be obtained.
8404
8469
  * @type {PackInfo || null}
8405
8470
  */
@@ -8413,9 +8478,9 @@ Note: This field may return `null`, indicating that no valid value can be obtain
8413
8478
 
8414
8479
  /**
8415
8480
  * Binding status of the Anti-DDoS Pro instance
8416
- `idle`: the instance is bound.
8417
- `bounding`: the instance is in binding.
8418
- `failed`: the binding failed.
8481
+ `idle`: The instance is bound.
8482
+ `bounding`: Binding the instance.
8483
+ `failed`: Failed to bind
8419
8484
  ]
8420
8485
  * @type {string || null}
8421
8486
  */
@@ -8428,11 +8493,23 @@ Note: This field may return `null`, indicating that no valid value can be obtain
8428
8493
  this.DDoSLevel = null;
8429
8494
 
8430
8495
  /**
8431
- * CC protection switch
8496
+ * Status of CC protection
8432
8497
  * @type {number || null}
8433
8498
  */
8434
8499
  this.CCEnable = null;
8435
8500
 
8501
+ /**
8502
+ * Tags associated with the resource
8503
+ * @type {Array.<TagInfo> || null}
8504
+ */
8505
+ this.TagInfoList = null;
8506
+
8507
+ /**
8508
+ * New edition of Anti-DDoS Pro
8509
+ * @type {number || null}
8510
+ */
8511
+ this.IpCountNewFlag = null;
8512
+
8436
8513
  }
8437
8514
 
8438
8515
  /**
@@ -8489,6 +8566,16 @@ Note: This field may return `null`, indicating that no valid value can be obtain
8489
8566
  this.DDoSLevel = 'DDoSLevel' in params ? params.DDoSLevel : null;
8490
8567
  this.CCEnable = 'CCEnable' in params ? params.CCEnable : null;
8491
8568
 
8569
+ if (params.TagInfoList) {
8570
+ this.TagInfoList = new Array();
8571
+ for (let z in params.TagInfoList) {
8572
+ let obj = new TagInfo();
8573
+ obj.deserialize(params.TagInfoList[z]);
8574
+ this.TagInfoList.push(obj);
8575
+ }
8576
+ }
8577
+ this.IpCountNewFlag = 'IpCountNewFlag' in params ? params.IpCountNewFlag : null;
8578
+
8492
8579
  }
8493
8580
  }
8494
8581
 
@@ -4675,6 +4675,12 @@ class ModifyInstanceAttributesRequest extends AbstractModel {
4675
4675
  */
4676
4676
  this.DynamicDiskConfig = null;
4677
4677
 
4678
+ /**
4679
+ * The size of a single message in bytes at the instance level.
4680
+ * @type {number || null}
4681
+ */
4682
+ this.MaxMessageByte = null;
4683
+
4678
4684
  }
4679
4685
 
4680
4686
  /**
@@ -4707,6 +4713,7 @@ class ModifyInstanceAttributesRequest extends AbstractModel {
4707
4713
  obj.deserialize(params.DynamicDiskConfig)
4708
4714
  this.DynamicDiskConfig = obj;
4709
4715
  }
4716
+ this.MaxMessageByte = 'MaxMessageByte' in params ? params.MaxMessageByte : null;
4710
4717
 
4711
4718
  }
4712
4719
  }
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.523";
1
+ const sdkVersion = "3.0.526";
2
2
  module.exports = sdkVersion
@@ -25,6 +25,7 @@ const DescribeAccountsRequest = models.DescribeAccountsRequest;
25
25
  const ModifyMaintainPeriodConfigRequest = models.ModifyMaintainPeriodConfigRequest;
26
26
  const DescribeRollbackTimeRangeResponse = models.DescribeRollbackTimeRangeResponse;
27
27
  const ModifyBackupNameResponse = models.ModifyBackupNameResponse;
28
+ const SwitchClusterZoneResponse = models.SwitchClusterZoneResponse;
28
29
  const QueryFilter = models.QueryFilter;
29
30
  const DescribeBinlogDownloadUrlRequest = models.DescribeBinlogDownloadUrlRequest;
30
31
  const CreateAccountsResponse = models.CreateAccountsResponse;
@@ -34,7 +35,8 @@ const DescribeMaintainPeriodRequest = models.DescribeMaintainPeriodRequest;
34
35
  const DescribeBinlogsResponse = models.DescribeBinlogsResponse;
35
36
  const DescribeInstancesResponse = models.DescribeInstancesResponse;
36
37
  const ClusterInstanceDetail = models.ClusterInstanceDetail;
37
- const Account = models.Account;
38
+ const AddClusterSlaveZoneResponse = models.AddClusterSlaveZoneResponse;
39
+ const DescribeClusterParamsResponse = models.DescribeClusterParamsResponse;
38
40
  const IsolateInstanceResponse = models.IsolateInstanceResponse;
39
41
  const ModifyInstanceNameResponse = models.ModifyInstanceNameResponse;
40
42
  const DescribeParamTemplatesRequest = models.DescribeParamTemplatesRequest;
@@ -44,6 +46,7 @@ const SetRenewFlagRequest = models.SetRenewFlagRequest;
44
46
  const CynosdbInstanceGrp = models.CynosdbInstanceGrp;
45
47
  const SlowQueriesItem = models.SlowQueriesItem;
46
48
  const ActivateInstanceRequest = models.ActivateInstanceRequest;
49
+ const AddClusterSlaveZoneRequest = models.AddClusterSlaveZoneRequest;
47
50
  const DescribeClustersRequest = models.DescribeClustersRequest;
48
51
  const DescribeInstanceDetailResponse = models.DescribeInstanceDetailResponse;
49
52
  const ModifyDBInstanceSecurityGroupsResponse = models.ModifyDBInstanceSecurityGroupsResponse;
@@ -53,10 +56,12 @@ const ResumeServerlessResponse = models.ResumeServerlessResponse;
53
56
  const CreateAccountsRequest = models.CreateAccountsRequest;
54
57
  const IsolateInstanceRequest = models.IsolateInstanceRequest;
55
58
  const ExportInstanceSlowQueriesResponse = models.ExportInstanceSlowQueriesResponse;
59
+ const SwitchClusterZoneRequest = models.SwitchClusterZoneRequest;
56
60
  const DescribeDBSecurityGroupsRequest = models.DescribeDBSecurityGroupsRequest;
57
61
  const DescribeClusterDetailRequest = models.DescribeClusterDetailRequest;
58
62
  const Tag = models.Tag;
59
63
  const DescribeProjectSecurityGroupsResponse = models.DescribeProjectSecurityGroupsResponse;
64
+ const RemoveClusterSlaveZoneResponse = models.RemoveClusterSlaveZoneResponse;
60
65
  const PauseServerlessResponse = models.PauseServerlessResponse;
61
66
  const OfflineClusterRequest = models.OfflineClusterRequest;
62
67
  const NewAccount = models.NewAccount;
@@ -64,6 +69,8 @@ const BackupFileInfo = models.BackupFileInfo;
64
69
  const DescribeBinlogDownloadUrlResponse = models.DescribeBinlogDownloadUrlResponse;
65
70
  const DescribeBackupListRequest = models.DescribeBackupListRequest;
66
71
  const CynosdbInstance = models.CynosdbInstance;
72
+ const ModifyClusterSlaveZoneResponse = models.ModifyClusterSlaveZoneResponse;
73
+ const RemoveClusterSlaveZoneRequest = models.RemoveClusterSlaveZoneRequest;
67
74
  const IsolateClusterResponse = models.IsolateClusterResponse;
68
75
  const CreateClustersRequest = models.CreateClustersRequest;
69
76
  const DescribeClustersResponse = models.DescribeClustersResponse;
@@ -73,6 +80,7 @@ const DescribeParamTemplatesResponse = models.DescribeParamTemplatesResponse;
73
80
  const AddInstancesResponse = models.AddInstancesResponse;
74
81
  const Addr = models.Addr;
75
82
  const ParamTemplateListInfo = models.ParamTemplateListInfo;
83
+ const ParamInfo = models.ParamInfo;
76
84
  const DescribeProjectSecurityGroupsRequest = models.DescribeProjectSecurityGroupsRequest;
77
85
  const ModifyClusterParamResponse = models.ModifyClusterParamResponse;
78
86
  const SecurityGroup = models.SecurityGroup;
@@ -96,6 +104,7 @@ const OfflineClusterResponse = models.OfflineClusterResponse;
96
104
  const InstanceSpec = models.InstanceSpec;
97
105
  const InquirePriceCreateResponse = models.InquirePriceCreateResponse;
98
106
  const SetRenewFlagResponse = models.SetRenewFlagResponse;
107
+ const Account = models.Account;
99
108
  const UpgradeInstanceRequest = models.UpgradeInstanceRequest;
100
109
  const DescribeMaintainPeriodResponse = models.DescribeMaintainPeriodResponse;
101
110
  const DescribeBackupListResponse = models.DescribeBackupListResponse;
@@ -106,6 +115,7 @@ const DescribeRollbackTimeValidityRequest = models.DescribeRollbackTimeValidityR
106
115
  const IsolateClusterRequest = models.IsolateClusterRequest;
107
116
  const DescribeClusterInstanceGrpsResponse = models.DescribeClusterInstanceGrpsResponse;
108
117
  const AddInstancesRequest = models.AddInstancesRequest;
118
+ const ModifyClusterSlaveZoneRequest = models.ModifyClusterSlaveZoneRequest;
109
119
  const CynosdbInstanceDetail = models.CynosdbInstanceDetail;
110
120
  const CynosdbClusterDetail = models.CynosdbClusterDetail;
111
121
  const DescribeInstanceDetailRequest = models.DescribeInstanceDetailRequest;
@@ -114,8 +124,10 @@ const ModifyBackupNameRequest = models.ModifyBackupNameRequest;
114
124
  const DescribeBinlogSaveDaysResponse = models.DescribeBinlogSaveDaysResponse;
115
125
  const ModifyClusterParamRequest = models.ModifyClusterParamRequest;
116
126
  const DescribeAccountsResponse = models.DescribeAccountsResponse;
127
+ const RollbackTimeRange = models.RollbackTimeRange;
117
128
  const OfflineInstanceRequest = models.OfflineInstanceRequest;
118
129
  const TradePrice = models.TradePrice;
130
+ const DescribeClusterParamsRequest = models.DescribeClusterParamsRequest;
119
131
  const DescribeInstanceSpecsResponse = models.DescribeInstanceSpecsResponse;
120
132
  const OfflineInstanceResponse = models.OfflineInstanceResponse;
121
133
  const ParamItem = models.ParamItem;
@@ -124,6 +136,7 @@ const ModifyBackupConfigRequest = models.ModifyBackupConfigRequest;
124
136
  const DescribeInstanceSlowQueriesRequest = models.DescribeInstanceSlowQueriesRequest;
125
137
  const DescribeBinlogsRequest = models.DescribeBinlogsRequest;
126
138
  const ModifyBackupConfigResponse = models.ModifyBackupConfigResponse;
139
+ const ZoneStockInfo = models.ZoneStockInfo;
127
140
  const InquirePriceRenewResponse = models.InquirePriceRenewResponse;
128
141
 
129
142
 
@@ -182,14 +195,14 @@ class CynosdbClient extends AbstractClient {
182
195
  }
183
196
 
184
197
  /**
185
- * This API is used to get the backup configuration information of the specified cluster, including the full backup time range and backup file retention period.
186
- * @param {DescribeBackupConfigRequest} req
187
- * @param {function(string, DescribeBackupConfigResponse):void} cb
198
+ * This API is used to query instance specifications.
199
+ * @param {DescribeInstanceSpecsRequest} req
200
+ * @param {function(string, DescribeInstanceSpecsResponse):void} cb
188
201
  * @public
189
202
  */
190
- DescribeBackupConfig(req, cb) {
191
- let resp = new DescribeBackupConfigResponse();
192
- this.request("DescribeBackupConfig", req, resp, cb);
203
+ DescribeInstanceSpecs(req, cb) {
204
+ let resp = new DescribeInstanceSpecsResponse();
205
+ this.request("DescribeInstanceSpecs", req, resp, cb);
193
206
  }
194
207
 
195
208
  /**
@@ -203,6 +216,17 @@ class CynosdbClient extends AbstractClient {
203
216
  this.request("DescribeParamTemplates", req, resp, cb);
204
217
  }
205
218
 
219
+ /**
220
+ * This API is used to set auto-renewal for an instance.
221
+ * @param {SetRenewFlagRequest} req
222
+ * @param {function(string, SetRenewFlagResponse):void} cb
223
+ * @public
224
+ */
225
+ SetRenewFlag(req, cb) {
226
+ let resp = new SetRenewFlagResponse();
227
+ this.request("SetRenewFlag", req, resp, cb);
228
+ }
229
+
206
230
  /**
207
231
  * This API is used to query instance groups.
208
232
  * @param {DescribeClusterInstanceGrpsRequest} req
@@ -214,6 +238,17 @@ class CynosdbClient extends AbstractClient {
214
238
  this.request("DescribeClusterInstanceGrps", req, resp, cb);
215
239
  }
216
240
 
241
+ /**
242
+ * This API is used to add the replica AZ.
243
+ * @param {AddClusterSlaveZoneRequest} req
244
+ * @param {function(string, AddClusterSlaveZoneResponse):void} cb
245
+ * @public
246
+ */
247
+ AddClusterSlaveZone(req, cb) {
248
+ let resp = new AddClusterSlaveZoneResponse();
249
+ this.request("AddClusterSlaveZone", req, resp, cb);
250
+ }
251
+
217
252
  /**
218
253
  * This API is used to deactivate a cluster.
219
254
  * @param {OfflineClusterRequest} req
@@ -302,6 +337,28 @@ class CynosdbClient extends AbstractClient {
302
337
  this.request("ModifyMaintainPeriodConfig", req, resp, cb);
303
338
  }
304
339
 
340
+ /**
341
+ * This API is used to modify the replica AZ.
342
+ * @param {ModifyClusterSlaveZoneRequest} req
343
+ * @param {function(string, ModifyClusterSlaveZoneResponse):void} cb
344
+ * @public
345
+ */
346
+ ModifyClusterSlaveZone(req, cb) {
347
+ let resp = new ModifyClusterSlaveZoneResponse();
348
+ this.request("ModifyClusterSlaveZone", req, resp, cb);
349
+ }
350
+
351
+ /**
352
+ * This API is used to query the parameters of a cluster.
353
+ * @param {DescribeClusterParamsRequest} req
354
+ * @param {function(string, DescribeClusterParamsResponse):void} cb
355
+ * @public
356
+ */
357
+ DescribeClusterParams(req, cb) {
358
+ let resp = new DescribeClusterParamsResponse();
359
+ this.request("DescribeClusterParams", req, resp, cb);
360
+ }
361
+
305
362
  /**
306
363
  * This API is used to deactivate an instance.
307
364
  * @param {OfflineInstanceRequest} req
@@ -380,14 +437,14 @@ class CynosdbClient extends AbstractClient {
380
437
  }
381
438
 
382
439
  /**
383
- * This API is used to set auto-renewal for an instance.
384
- * @param {SetRenewFlagRequest} req
385
- * @param {function(string, SetRenewFlagResponse):void} cb
440
+ * This API is used to delete the replica AZ.
441
+ * @param {RemoveClusterSlaveZoneRequest} req
442
+ * @param {function(string, RemoveClusterSlaveZoneResponse):void} cb
386
443
  * @public
387
444
  */
388
- SetRenewFlag(req, cb) {
389
- let resp = new SetRenewFlagResponse();
390
- this.request("SetRenewFlag", req, resp, cb);
445
+ RemoveClusterSlaveZone(req, cb) {
446
+ let resp = new RemoveClusterSlaveZoneResponse();
447
+ this.request("RemoveClusterSlaveZone", req, resp, cb);
391
448
  }
392
449
 
393
450
  /**
@@ -424,14 +481,14 @@ class CynosdbClient extends AbstractClient {
424
481
  }
425
482
 
426
483
  /**
427
- * This API is used to query instance specifications.
428
- * @param {DescribeInstanceSpecsRequest} req
429
- * @param {function(string, DescribeInstanceSpecsResponse):void} cb
484
+ * This API is used to get the backup configuration information of the specified cluster, including the full backup time range and backup file retention period.
485
+ * @param {DescribeBackupConfigRequest} req
486
+ * @param {function(string, DescribeBackupConfigResponse):void} cb
430
487
  * @public
431
488
  */
432
- DescribeInstanceSpecs(req, cb) {
433
- let resp = new DescribeInstanceSpecsResponse();
434
- this.request("DescribeInstanceSpecs", req, resp, cb);
489
+ DescribeBackupConfig(req, cb) {
490
+ let resp = new DescribeBackupConfigResponse();
491
+ this.request("DescribeBackupConfig", req, resp, cb);
435
492
  }
436
493
 
437
494
  /**
@@ -588,6 +645,17 @@ class CynosdbClient extends AbstractClient {
588
645
  this.request("ExportInstanceSlowQueries", req, resp, cb);
589
646
  }
590
647
 
648
+ /**
649
+ * This API is used to switch to the replica AZ.
650
+ * @param {SwitchClusterZoneRequest} req
651
+ * @param {function(string, SwitchClusterZoneResponse):void} cb
652
+ * @public
653
+ */
654
+ SwitchClusterZone(req, cb) {
655
+ let resp = new SwitchClusterZoneResponse();
656
+ this.request("SwitchClusterZone", req, resp, cb);
657
+ }
658
+
591
659
  /**
592
660
  * This API is used to query whether rollback is possible based on the specified time and cluster.
593
661
  * @param {DescribeRollbackTimeValidityRequest} req