tencentcloud-sdk-nodejs-intl-en 3.0.284 → 3.0.285

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.
@@ -19,6 +19,7 @@ const AbstractClient = require('../../common/abstract_client')
19
19
  const TopicDetail = models.TopicDetail;
20
20
  const DeleteAclRequest = models.DeleteAclRequest;
21
21
  const GroupInfoMember = models.GroupInfoMember;
22
+ const BatchCreateAclRequest = models.BatchCreateAclRequest;
22
23
  const DeleteUserRequest = models.DeleteUserRequest;
23
24
  const PartitionOffset = models.PartitionOffset;
24
25
  const DescribeACLRequest = models.DescribeACLRequest;
@@ -67,7 +68,7 @@ const CreateTopicRequest = models.CreateTopicRequest;
67
68
  const DeleteAclResponse = models.DeleteAclResponse;
68
69
  const DynamicRetentionTime = models.DynamicRetentionTime;
69
70
  const DescribeTopicSubscribeGroupRequest = models.DescribeTopicSubscribeGroupRequest;
70
- const DescribeRouteRequest = models.DescribeRouteRequest;
71
+ const InstanceDetailResponse = models.InstanceDetailResponse;
71
72
  const FetchMessageByOffsetRequest = models.FetchMessageByOffsetRequest;
72
73
  const TopicInSyncReplicaInfo = models.TopicInSyncReplicaInfo;
73
74
  const DescribeRegionRequest = models.DescribeRegionRequest;
@@ -104,11 +105,12 @@ const InstanceAttributesResponse = models.InstanceAttributesResponse;
104
105
  const DescribeCkafkaZoneResponse = models.DescribeCkafkaZoneResponse;
105
106
  const Filter = models.Filter;
106
107
  const GroupOffsetResponse = models.GroupOffsetResponse;
108
+ const BatchCreateAclResponse = models.BatchCreateAclResponse;
107
109
  const CreateUserRequest = models.CreateUserRequest;
108
110
  const DeleteTopicIpWhiteListResponse = models.DeleteTopicIpWhiteListResponse;
109
111
  const DescribeInstancesDetailRequest = models.DescribeInstancesDetailRequest;
110
112
  const ModifyPasswordResponse = models.ModifyPasswordResponse;
111
- const InstanceDetailResponse = models.InstanceDetailResponse;
113
+ const DescribeRouteRequest = models.DescribeRouteRequest;
112
114
  const TopicInSyncReplicaResult = models.TopicInSyncReplicaResult;
113
115
  const GroupInfoResponse = models.GroupInfoResponse;
114
116
  const TopicAttributesResponse = models.TopicAttributesResponse;
@@ -123,6 +125,7 @@ const ConsumerRecord = models.ConsumerRecord;
123
125
  const ModifyGroupOffsetsRequest = models.ModifyGroupOffsetsRequest;
124
126
  const CreateTopicIpWhiteListRequest = models.CreateTopicIpWhiteListRequest;
125
127
  const Route = models.Route;
128
+ const AclRuleInfo = models.AclRuleInfo;
126
129
  const Acl = models.Acl;
127
130
  const TopicRetentionTimeConfigRsp = models.TopicRetentionTimeConfigRsp;
128
131
  const ModifyTopicAttributesRequest = models.ModifyTopicAttributesRequest;
@@ -413,6 +416,17 @@ class CkafkaClient extends AbstractClient {
413
416
  this.request("DescribeInstancesDetail", req, resp, cb);
414
417
  }
415
418
 
419
+ /**
420
+ * This API is used to create ACL policies in batches.
421
+ * @param {BatchCreateAclRequest} req
422
+ * @param {function(string, BatchCreateAclResponse):void} cb
423
+ * @public
424
+ */
425
+ BatchCreateAcl(req, cb) {
426
+ let resp = new BatchCreateAclResponse();
427
+ this.request("BatchCreateAcl", req, resp, cb);
428
+ }
429
+
416
430
  /**
417
431
  * This API is used to modify the delayed trigger time of route deletion.
418
432
  * @param {DeleteRouteTriggerTimeRequest} req
@@ -266,6 +266,63 @@ class GroupInfoMember extends AbstractModel {
266
266
  }
267
267
  }
268
268
 
269
+ /**
270
+ * BatchCreateAcl request structure.
271
+ * @class
272
+ */
273
+ class BatchCreateAclRequest extends AbstractModel {
274
+ constructor(){
275
+ super();
276
+
277
+ /**
278
+ * Instance ID.
279
+ * @type {string || null}
280
+ */
281
+ this.InstanceId = null;
282
+
283
+ /**
284
+ * ACL resource type. Default value: `2` (topic).
285
+ * @type {number || null}
286
+ */
287
+ this.ResourceType = null;
288
+
289
+ /**
290
+ * Resource list array.
291
+ * @type {Array.<string> || null}
292
+ */
293
+ this.ResourceNames = null;
294
+
295
+ /**
296
+ * ACL rule list.
297
+ * @type {Array.<AclRuleInfo> || null}
298
+ */
299
+ this.RuleList = null;
300
+
301
+ }
302
+
303
+ /**
304
+ * @private
305
+ */
306
+ deserialize(params) {
307
+ if (!params) {
308
+ return;
309
+ }
310
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
311
+ this.ResourceType = 'ResourceType' in params ? params.ResourceType : null;
312
+ this.ResourceNames = 'ResourceNames' in params ? params.ResourceNames : null;
313
+
314
+ if (params.RuleList) {
315
+ this.RuleList = new Array();
316
+ for (let z in params.RuleList) {
317
+ let obj = new AclRuleInfo();
318
+ obj.deserialize(params.RuleList[z]);
319
+ this.RuleList.push(obj);
320
+ }
321
+ }
322
+
323
+ }
324
+ }
325
+
269
326
  /**
270
327
  * DeleteUser request structure.
271
328
  * @class
@@ -2474,18 +2531,24 @@ class DescribeTopicSubscribeGroupRequest extends AbstractModel {
2474
2531
  }
2475
2532
 
2476
2533
  /**
2477
- * DescribeRoute request structure.
2534
+ * Returned result of instance details
2478
2535
  * @class
2479
2536
  */
2480
- class DescribeRouteRequest extends AbstractModel {
2537
+ class InstanceDetailResponse extends AbstractModel {
2481
2538
  constructor(){
2482
2539
  super();
2483
2540
 
2484
2541
  /**
2485
- * Unique instance ID
2486
- * @type {string || null}
2542
+ * Total number of eligible instances
2543
+ * @type {number || null}
2487
2544
  */
2488
- this.InstanceId = null;
2545
+ this.TotalCount = null;
2546
+
2547
+ /**
2548
+ * List of eligible instance details
2549
+ * @type {Array.<InstanceDetail> || null}
2550
+ */
2551
+ this.InstanceList = null;
2489
2552
 
2490
2553
  }
2491
2554
 
@@ -2496,7 +2559,16 @@ class DescribeRouteRequest extends AbstractModel {
2496
2559
  if (!params) {
2497
2560
  return;
2498
2561
  }
2499
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
2562
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
2563
+
2564
+ if (params.InstanceList) {
2565
+ this.InstanceList = new Array();
2566
+ for (let z in params.InstanceList) {
2567
+ let obj = new InstanceDetail();
2568
+ obj.deserialize(params.InstanceList[z]);
2569
+ this.InstanceList.push(obj);
2570
+ }
2571
+ }
2500
2572
 
2501
2573
  }
2502
2574
  }
@@ -4500,6 +4572,41 @@ Note: this field may return null, indicating that no valid values can be obtaine
4500
4572
  }
4501
4573
  }
4502
4574
 
4575
+ /**
4576
+ * BatchCreateAcl response structure.
4577
+ * @class
4578
+ */
4579
+ class BatchCreateAclResponse extends AbstractModel {
4580
+ constructor(){
4581
+ super();
4582
+
4583
+ /**
4584
+ * Status code.
4585
+ * @type {number || null}
4586
+ */
4587
+ this.Result = null;
4588
+
4589
+ /**
4590
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4591
+ * @type {string || null}
4592
+ */
4593
+ this.RequestId = null;
4594
+
4595
+ }
4596
+
4597
+ /**
4598
+ * @private
4599
+ */
4600
+ deserialize(params) {
4601
+ if (!params) {
4602
+ return;
4603
+ }
4604
+ this.Result = 'Result' in params ? params.Result : null;
4605
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4606
+
4607
+ }
4608
+ }
4609
+
4503
4610
  /**
4504
4611
  * CreateUser request structure.
4505
4612
  * @class
@@ -4701,24 +4808,18 @@ class ModifyPasswordResponse extends AbstractModel {
4701
4808
  }
4702
4809
 
4703
4810
  /**
4704
- * Returned result of instance details
4811
+ * DescribeRoute request structure.
4705
4812
  * @class
4706
4813
  */
4707
- class InstanceDetailResponse extends AbstractModel {
4814
+ class DescribeRouteRequest extends AbstractModel {
4708
4815
  constructor(){
4709
4816
  super();
4710
4817
 
4711
4818
  /**
4712
- * Total number of eligible instances
4713
- * @type {number || null}
4714
- */
4715
- this.TotalCount = null;
4716
-
4717
- /**
4718
- * List of eligible instance details
4719
- * @type {Array.<InstanceDetail> || null}
4819
+ * Unique instance ID
4820
+ * @type {string || null}
4720
4821
  */
4721
- this.InstanceList = null;
4822
+ this.InstanceId = null;
4722
4823
 
4723
4824
  }
4724
4825
 
@@ -4729,16 +4830,7 @@ class InstanceDetailResponse extends AbstractModel {
4729
4830
  if (!params) {
4730
4831
  return;
4731
4832
  }
4732
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
4733
-
4734
- if (params.InstanceList) {
4735
- this.InstanceList = new Array();
4736
- for (let z in params.InstanceList) {
4737
- let obj = new InstanceDetail();
4738
- obj.deserialize(params.InstanceList[z]);
4739
- this.InstanceList.push(obj);
4740
- }
4741
- }
4833
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
4742
4834
 
4743
4835
  }
4744
4836
  }
@@ -5509,6 +5601,55 @@ Note: this field may return null, indicating that no valid values can be obtaine
5509
5601
  }
5510
5602
  }
5511
5603
 
5604
+ /**
5605
+ * Four pieces of information of ACL rules: source IP address, destination IP address, source port, and destination port
5606
+ * @class
5607
+ */
5608
+ class AclRuleInfo extends AbstractModel {
5609
+ constructor(){
5610
+ super();
5611
+
5612
+ /**
5613
+ * ACL operation types. Enumerated values: `All` (all operations), `Read` (read), `Write` (write).
5614
+ * @type {string || null}
5615
+ */
5616
+ this.Operation = null;
5617
+
5618
+ /**
5619
+ * Permission types: `Deny`, `Allow`.
5620
+ * @type {string || null}
5621
+ */
5622
+ this.PermissionType = null;
5623
+
5624
+ /**
5625
+ * The default value is `*`, which means that any host can access the topic. Currently, CKafka does not support the host value being specified as * or IP range.
5626
+ * @type {string || null}
5627
+ */
5628
+ this.Host = null;
5629
+
5630
+ /**
5631
+ * The list of users allowed to access the topic. Default value: `User:*`, which means all users. The current user must be in the user list. Add the prefix `User:` before the user name (`User:A`, for example).
5632
+ * @type {string || null}
5633
+ */
5634
+ this.Principal = null;
5635
+
5636
+ }
5637
+
5638
+ /**
5639
+ * @private
5640
+ */
5641
+ deserialize(params) {
5642
+ if (!params) {
5643
+ return;
5644
+ }
5645
+ this.Operation = 'Operation' in params ? params.Operation : null;
5646
+ this.PermissionType = 'PermissionType' in params ? params.PermissionType : null;
5647
+ this.Host = 'Host' in params ? params.Host : null;
5648
+ this.Principal = 'Principal' in params ? params.Principal : null;
5649
+
5650
+ }
5651
+ }
5652
+
5512
5653
  /**
5513
5654
  * ACL object entity
5514
5655
  * @class
@@ -6382,6 +6523,7 @@ module.exports = {
6382
6523
  TopicDetail: TopicDetail,
6383
6524
  DeleteAclRequest: DeleteAclRequest,
6384
6525
  GroupInfoMember: GroupInfoMember,
6526
+ BatchCreateAclRequest: BatchCreateAclRequest,
6385
6527
  DeleteUserRequest: DeleteUserRequest,
6386
6528
  PartitionOffset: PartitionOffset,
6387
6529
  DescribeACLRequest: DescribeACLRequest,
@@ -6430,7 +6572,7 @@ module.exports = {
6430
6572
  DeleteAclResponse: DeleteAclResponse,
6431
6573
  DynamicRetentionTime: DynamicRetentionTime,
6432
6574
  DescribeTopicSubscribeGroupRequest: DescribeTopicSubscribeGroupRequest,
6433
- DescribeRouteRequest: DescribeRouteRequest,
6575
+ InstanceDetailResponse: InstanceDetailResponse,
6434
6576
  FetchMessageByOffsetRequest: FetchMessageByOffsetRequest,
6435
6577
  TopicInSyncReplicaInfo: TopicInSyncReplicaInfo,
6436
6578
  DescribeRegionRequest: DescribeRegionRequest,
@@ -6467,11 +6609,12 @@ module.exports = {
6467
6609
  DescribeCkafkaZoneResponse: DescribeCkafkaZoneResponse,
6468
6610
  Filter: Filter,
6469
6611
  GroupOffsetResponse: GroupOffsetResponse,
6612
+ BatchCreateAclResponse: BatchCreateAclResponse,
6470
6613
  CreateUserRequest: CreateUserRequest,
6471
6614
  DeleteTopicIpWhiteListResponse: DeleteTopicIpWhiteListResponse,
6472
6615
  DescribeInstancesDetailRequest: DescribeInstancesDetailRequest,
6473
6616
  ModifyPasswordResponse: ModifyPasswordResponse,
6474
- InstanceDetailResponse: InstanceDetailResponse,
6617
+ DescribeRouteRequest: DescribeRouteRequest,
6475
6618
  TopicInSyncReplicaResult: TopicInSyncReplicaResult,
6476
6619
  GroupInfoResponse: GroupInfoResponse,
6477
6620
  TopicAttributesResponse: TopicAttributesResponse,
@@ -6486,6 +6629,7 @@ module.exports = {
6486
6629
  ModifyGroupOffsetsRequest: ModifyGroupOffsetsRequest,
6487
6630
  CreateTopicIpWhiteListRequest: CreateTopicIpWhiteListRequest,
6488
6631
  Route: Route,
6632
+ AclRuleInfo: AclRuleInfo,
6489
6633
  Acl: Acl,
6490
6634
  TopicRetentionTimeConfigRsp: TopicRetentionTimeConfigRsp,
6491
6635
  ModifyTopicAttributesRequest: ModifyTopicAttributesRequest,
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.284";
1
+ const sdkVersion = "3.0.285";
2
2
  module.exports = sdkVersion
@@ -632,6 +632,12 @@ class AccessConfiguration extends AbstractModel {
632
632
  */
633
633
  this.Concurrent = null;
634
634
 
635
+ /**
636
+ * Network type. Valid values: `normal` (default), `cn2`
637
+ * @type {string || null}
638
+ */
639
+ this.NetworkType = null;
640
+
635
641
  }
636
642
 
637
643
  /**
@@ -644,6 +650,7 @@ class AccessConfiguration extends AbstractModel {
644
650
  this.AccessRegion = 'AccessRegion' in params ? params.AccessRegion : null;
645
651
  this.Bandwidth = 'Bandwidth' in params ? params.Bandwidth : null;
646
652
  this.Concurrent = 'Concurrent' in params ? params.Concurrent : null;
653
+ this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
647
654
 
648
655
  }
649
656
  }
@@ -2923,6 +2930,12 @@ class CreateProxyGroupRequest extends AbstractModel {
2923
2930
  */
2924
2931
  this.IPAddressVersion = null;
2925
2932
 
2933
+ /**
2934
+ * Package type of connection group. Valid values: `Thunder` (default) and `Accelerator`.
2935
+ * @type {string || null}
2936
+ */
2937
+ this.PackageType = null;
2938
+
2926
2939
  }
2927
2940
 
2928
2941
  /**
@@ -2954,6 +2967,7 @@ class CreateProxyGroupRequest extends AbstractModel {
2954
2967
  }
2955
2968
  }
2956
2969
  this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
2970
+ this.PackageType = 'PackageType' in params ? params.PackageType : null;
2957
2971
 
2958
2972
  }
2959
2973
  }
@@ -4275,6 +4289,20 @@ Note: This field may return `null`, indicating that no valid value can be obtain
4275
4289
  */
4276
4290
  this.UnhealthyThreshold = null;
4277
4291
 
4292
+ /**
4293
+ * Whether to enable the primary/secondary origin server mode for failover. Values: `1` (enabled); `0` (disabled). It’s not available if the origin type is `DOMAIN`.
4294
+ Note: This field may return `null`, indicating that no valid values can be obtained.
4295
+ * @type {number || null}
4296
+ */
4297
+ this.FailoverSwitch = null;
4298
+
4299
+ /**
4300
+ * Specifies whether to enable session persistence. Values: `0` (disable), `1` (enable)
4301
+ Note: This field may return `null`, indicating that no valid value can be obtained.
4302
+ * @type {number || null}
4303
+ */
4304
+ this.SessionPersist = null;
4305
+
4278
4306
  }
4279
4307
 
4280
4308
  /**
@@ -4309,6 +4337,8 @@ Note: This field may return `null`, indicating that no valid value can be obtain
4309
4337
  this.ClientIPMethod = 'ClientIPMethod' in params ? params.ClientIPMethod : null;
4310
4338
  this.HealthyThreshold = 'HealthyThreshold' in params ? params.HealthyThreshold : null;
4311
4339
  this.UnhealthyThreshold = 'UnhealthyThreshold' in params ? params.UnhealthyThreshold : null;
4340
+ this.FailoverSwitch = 'FailoverSwitch' in params ? params.FailoverSwitch : null;
4341
+ this.SessionPersist = 'SessionPersist' in params ? params.SessionPersist : null;
4312
4342
 
4313
4343
  }
4314
4344
  }
@@ -5349,6 +5379,12 @@ class DescribeAccessRegionsByDestRegionRequest extends AbstractModel {
5349
5379
  */
5350
5380
  this.IPAddressVersion = null;
5351
5381
 
5382
+ /**
5383
+ * Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
5384
+ * @type {string || null}
5385
+ */
5386
+ this.PackageType = null;
5387
+
5352
5388
  }
5353
5389
 
5354
5390
  /**
@@ -5360,6 +5396,7 @@ class DescribeAccessRegionsByDestRegionRequest extends AbstractModel {
5360
5396
  }
5361
5397
  this.DestRegion = 'DestRegion' in params ? params.DestRegion : null;
5362
5398
  this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
5399
+ this.PackageType = 'PackageType' in params ? params.PackageType : null;
5363
5400
 
5364
5401
  }
5365
5402
  }
@@ -6120,6 +6157,12 @@ The connection is to be replicated if this parameter is set.
6120
6157
  */
6121
6158
  this.IPAddressVersion = null;
6122
6159
 
6160
+ /**
6161
+ * Network type. Valid values: `normal` (default), `cn2`
6162
+ * @type {string || null}
6163
+ */
6164
+ this.NetworkType = null;
6165
+
6123
6166
  }
6124
6167
 
6125
6168
  /**
@@ -6149,6 +6192,7 @@ The connection is to be replicated if this parameter is set.
6149
6192
  this.ClonedProxyId = 'ClonedProxyId' in params ? params.ClonedProxyId : null;
6150
6193
  this.BillingType = 'BillingType' in params ? params.BillingType : null;
6151
6194
  this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
6195
+ this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
6152
6196
 
6153
6197
  }
6154
6198
  }
@@ -6694,6 +6738,13 @@ Note: This field may return `null`, indicating that no valid values can be obtai
6694
6738
  */
6695
6739
  this.IPAddressVersion = null;
6696
6740
 
6741
+ /**
6742
+ * Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
6743
+ Note: This field may return `null`, indicating that no valid values can be obtained.
6744
+ * @type {string || null}
6745
+ */
6746
+ this.PackageType = null;
6747
+
6697
6748
  }
6698
6749
 
6699
6750
  /**
@@ -6733,6 +6784,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
6733
6784
  this.Version = 'Version' in params ? params.Version : null;
6734
6785
  this.ClientIPMethod = 'ClientIPMethod' in params ? params.ClientIPMethod : null;
6735
6786
  this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
6787
+ this.PackageType = 'PackageType' in params ? params.PackageType : null;
6736
6788
 
6737
6789
  }
6738
6790
  }
@@ -7441,6 +7493,20 @@ Note: this field may return null, indicating that no valid values can be obtaine
7441
7493
  */
7442
7494
  this.DiscountFlowUnitPrice = null;
7443
7495
 
7496
+ /**
7497
+ * Dedicated BGP bandwidth price. Unit: USD/Mbps/day
7498
+ Note: this field may return `null`, indicating that no valid value can be obtained.
7499
+ * @type {number || null}
7500
+ */
7501
+ this.Cn2BandwidthPrice = null;
7502
+
7503
+ /**
7504
+ * Dedicated BGP bandwidth discount price. Unit: USD/Mbps/day
7505
+ Note: this field may return `null`, indicating that no valid value can be obtained.
7506
+ * @type {number || null}
7507
+ */
7508
+ this.Cn2BandwidthPriceWithDiscount = null;
7509
+
7444
7510
  /**
7445
7511
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
7446
7512
  * @type {string || null}
@@ -7470,6 +7536,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
7470
7536
  this.Currency = 'Currency' in params ? params.Currency : null;
7471
7537
  this.FlowUnitPrice = 'FlowUnitPrice' in params ? params.FlowUnitPrice : null;
7472
7538
  this.DiscountFlowUnitPrice = 'DiscountFlowUnitPrice' in params ? params.DiscountFlowUnitPrice : null;
7539
+ this.Cn2BandwidthPrice = 'Cn2BandwidthPrice' in params ? params.Cn2BandwidthPrice : null;
7540
+ this.Cn2BandwidthPriceWithDiscount = 'Cn2BandwidthPriceWithDiscount' in params ? params.Cn2BandwidthPriceWithDiscount : null;
7473
7541
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
7474
7542
 
7475
7543
  }
@@ -8001,6 +8069,15 @@ Other values: specified project
8001
8069
  */
8002
8070
  this.ProjectId = null;
8003
8071
 
8072
+ /**
8073
+ * Filter condition
8074
+ Each request can have a maximum of 5 filter conditions for `Filter.Values`.
8075
+ RealServerRegion - String - Required: No - Filter by origin server region. You can also check the value of `RegionId` returned by the `DescribeDestRegions` API.
8076
+ PackageType - String - Required: No - Filter by type of connection groups, which can be `Thunder` (general connection group) or `Accelerator` (game accelerator connection group).
8077
+ * @type {Array.<Filter> || null}
8078
+ */
8079
+ this.Filters = null;
8080
+
8004
8081
  /**
8005
8082
  * Tag list. If this field exists, the list of the resources with the tag will be pulled.
8006
8083
  It supports up to 5 tags. If there are two or more tags, the connection groups tagged any of them will be pulled.
@@ -8008,14 +8085,6 @@ It supports up to 5 tags. If there are two or more tags, the connection groups t
8008
8085
  */
8009
8086
  this.TagSet = null;
8010
8087
 
8011
- /**
8012
- * Filter conditions.
8013
- The limit on Filter.Values of each request is 5.
8014
- RealServerRegion - String - Required: No - Filter by origin server region; Refer to the RegionId in the results returned by DescribeDestRegions API.
8015
- * @type {Array.<Filter> || null}
8016
- */
8017
- this.Filters = null;
8018
-
8019
8088
  }
8020
8089
 
8021
8090
  /**
@@ -8029,15 +8098,6 @@ RealServerRegion - String - Required: No - Filter by origin server region; Refer
8029
8098
  this.Limit = 'Limit' in params ? params.Limit : null;
8030
8099
  this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
8031
8100
 
8032
- if (params.TagSet) {
8033
- this.TagSet = new Array();
8034
- for (let z in params.TagSet) {
8035
- let obj = new TagPair();
8036
- obj.deserialize(params.TagSet[z]);
8037
- this.TagSet.push(obj);
8038
- }
8039
- }
8040
-
8041
8101
  if (params.Filters) {
8042
8102
  this.Filters = new Array();
8043
8103
  for (let z in params.Filters) {
@@ -8047,6 +8107,15 @@ RealServerRegion - String - Required: No - Filter by origin server region; Refer
8047
8107
  }
8048
8108
  }
8049
8109
 
8110
+ if (params.TagSet) {
8111
+ this.TagSet = new Array();
8112
+ for (let z in params.TagSet) {
8113
+ let obj = new TagPair();
8114
+ obj.deserialize(params.TagSet[z]);
8115
+ this.TagSet.push(obj);
8116
+ }
8117
+ }
8118
+
8050
8119
  }
8051
8120
  }
8052
8121
 
@@ -9508,6 +9577,18 @@ class CheckProxyCreateRequest extends AbstractModel {
9508
9577
  */
9509
9578
  this.IPAddressVersion = null;
9510
9579
 
9580
+ /**
9581
+ * Network type. Valid values: `normal` (default), `cn2`
9582
+ * @type {string || null}
9583
+ */
9584
+ this.NetworkType = null;
9585
+
9586
+ /**
9587
+ * Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
9588
+ * @type {string || null}
9589
+ */
9590
+ this.PackageType = null;
9591
+
9511
9592
  }
9512
9593
 
9513
9594
  /**
@@ -9523,6 +9604,8 @@ class CheckProxyCreateRequest extends AbstractModel {
9523
9604
  this.Concurrent = 'Concurrent' in params ? params.Concurrent : null;
9524
9605
  this.GroupId = 'GroupId' in params ? params.GroupId : null;
9525
9606
  this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
9607
+ this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
9608
+ this.PackageType = 'PackageType' in params ? params.PackageType : null;
9526
9609
 
9527
9610
  }
9528
9611
  }
@@ -9541,6 +9624,12 @@ class DescribeRegionAndPriceRequest extends AbstractModel {
9541
9624
  */
9542
9625
  this.IPAddressVersion = null;
9543
9626
 
9627
+ /**
9628
+ * Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
9629
+ * @type {string || null}
9630
+ */
9631
+ this.PackageType = null;
9632
+
9544
9633
  }
9545
9634
 
9546
9635
  /**
@@ -9551,6 +9640,7 @@ class DescribeRegionAndPriceRequest extends AbstractModel {
9551
9640
  return;
9552
9641
  }
9553
9642
  this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
9643
+ this.PackageType = 'PackageType' in params ? params.PackageType : null;
9554
9644
 
9555
9645
  }
9556
9646
  }
@@ -10183,6 +10273,18 @@ class InquiryPriceCreateProxyRequest extends AbstractModel {
10183
10273
  */
10184
10274
  this.IPAddressVersion = null;
10185
10275
 
10276
+ /**
10277
+ * Network type. Valid values: `normal` (default), `cn2`
10278
+ * @type {string || null}
10279
+ */
10280
+ this.NetworkType = null;
10281
+
10282
+ /**
10283
+ * Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
10284
+ * @type {string || null}
10285
+ */
10286
+ this.PackageType = null;
10287
+
10186
10288
  }
10187
10289
 
10188
10290
  /**
@@ -10200,6 +10302,8 @@ class InquiryPriceCreateProxyRequest extends AbstractModel {
10200
10302
  this.Concurrent = 'Concurrent' in params ? params.Concurrent : null;
10201
10303
  this.BillingType = 'BillingType' in params ? params.BillingType : null;
10202
10304
  this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
10305
+ this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
10306
+ this.PackageType = 'PackageType' in params ? params.PackageType : null;
10203
10307
 
10204
10308
  }
10205
10309
  }
@@ -10352,6 +10456,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
10352
10456
  */
10353
10457
  this.CreateTime = null;
10354
10458
 
10459
+ /**
10460
+ * Specifies whether to enable session persistence. Values: `0` (disable), `1` (enable)
10461
+ Note: this field may return `null`, indicating that no valid values can be obtained.
10462
+ * @type {number || null}
10463
+ */
10464
+ this.SessionPersist = null;
10465
+
10355
10466
  }
10356
10467
 
10357
10468
  /**
@@ -10380,6 +10491,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
10380
10491
  }
10381
10492
  }
10382
10493
  this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
10494
+ this.SessionPersist = 'SessionPersist' in params ? params.SessionPersist : null;
10383
10495
 
10384
10496
  }
10385
10497
  }
@@ -10564,8 +10676,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
10564
10676
  this.ModifyConfigTime = null;
10565
10677
 
10566
10678
  /**
10567
- * Connection type. 104: SILVER connection.
10568
- Note: this field may return `null`, indicating that no valid values can be obtained.
10679
+ * Connection type
10680
+ Note: this field may return `null`, indicating that no valid value can be obtained.
10569
10681
  * @type {number || null}
10570
10682
  */
10571
10683
  this.ProxyType = null;
@@ -10584,6 +10696,20 @@ Note: This field may return `null`, indicating that no valid values can be obtai
10584
10696
  */
10585
10697
  this.IPAddressVersion = null;
10586
10698
 
10699
+ /**
10700
+ * Network type. Valid values: `normal`, `cn2`
10701
+ Note: this field may return `null`, indicating that no valid value can be obtained.
10702
+ * @type {string || null}
10703
+ */
10704
+ this.NetworkType = null;
10705
+
10706
+ /**
10707
+ * Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
10708
+ Note: this field may return `null`, indicating that no valid value can be obtained.
10709
+ * @type {string || null}
10710
+ */
10711
+ this.PackageType = null;
10712
+
10587
10713
  }
10588
10714
 
10589
10715
  /**
@@ -10639,6 +10765,8 @@ Note: This field may return `null`, indicating that no valid values can be obtai
10639
10765
  this.ProxyType = 'ProxyType' in params ? params.ProxyType : null;
10640
10766
  this.ClientIPMethod = 'ClientIPMethod' in params ? params.ClientIPMethod : null;
10641
10767
  this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
10768
+ this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
10769
+ this.PackageType = 'PackageType' in params ? params.PackageType : null;
10642
10770
 
10643
10771
  }
10644
10772
  }