tencentcloud-sdk-nodejs-intl-en 3.0.324 → 3.0.328

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.
@@ -264,6 +264,63 @@ class SetLoadBalancerSecurityGroupsResponse extends AbstractModel {
264
264
  }
265
265
  }
266
266
 
267
+ /**
268
+ * Object bound to the layer-7 listener rule
269
+ * @class
270
+ */
271
+ class RulesItems extends AbstractModel {
272
+ constructor(){
273
+ super();
274
+
275
+ /**
276
+ * Rule ID.
277
+ * @type {string || null}
278
+ */
279
+ this.LocationId = null;
280
+
281
+ /**
282
+ * Domain name.
283
+ * @type {string || null}
284
+ */
285
+ this.Domain = null;
286
+
287
+ /**
288
+ * Uri
289
+ * @type {string || null}
290
+ */
291
+ this.Url = null;
292
+
293
+ /**
294
+ * Object bound to the real server.
295
+ * @type {Array.<LbRsTargets> || null}
296
+ */
297
+ this.Targets = null;
298
+
299
+ }
300
+
301
+ /**
302
+ * @private
303
+ */
304
+ deserialize(params) {
305
+ if (!params) {
306
+ return;
307
+ }
308
+ this.LocationId = 'LocationId' in params ? params.LocationId : null;
309
+ this.Domain = 'Domain' in params ? params.Domain : null;
310
+ this.Url = 'Url' in params ? params.Url : null;
311
+
312
+ if (params.Targets) {
313
+ this.Targets = new Array();
314
+ for (let z in params.Targets) {
315
+ let obj = new LbRsTargets();
316
+ obj.deserialize(params.Targets[z]);
317
+ this.Targets.push(obj);
318
+ }
319
+ }
320
+
321
+ }
322
+ }
323
+
267
324
  /**
268
325
  * Reserved field which can be ignored generally.
269
326
  * @class
@@ -483,7 +540,9 @@ Note: A primary AZ carries traffic, while a secondary AZ does not carry traffic
483
540
  this.ExclusiveCluster = null;
484
541
 
485
542
  /**
486
- *
543
+ * Creates an LCU-supported CLB instance
544
+ <ul><li>To create an LCU-supported CLB, this field is required and the value is `SLA`. LCU-supports CLBs adopt the pay-as-you-go model and their performance is guaranteed.</li>
545
+ <li>It’s not required for a shared CLB instance.</li></ul>
487
546
  * @type {string || null}
488
547
  */
489
548
  this.SlaType = null;
@@ -525,6 +584,12 @@ Note: A secondary AZ will load traffic if the primary AZ has failures. The API `
525
584
  */
526
585
  this.EipAddressId = null;
527
586
 
587
+ /**
588
+ * Whether to allow CLB traffic to the target group. `true`: allows CLB traffic to the target group and verifies security groups only on CLB; `false`: denies CLB traffic to the target group and verifies security groups on both CLB and backend instances.
589
+ * @type {boolean || null}
590
+ */
591
+ this.LoadBalancerPassToTarget = null;
592
+
528
593
  }
529
594
 
530
595
  /**
@@ -583,6 +648,7 @@ Note: A secondary AZ will load traffic if the primary AZ has failures. The API `
583
648
  this.ClusterTag = 'ClusterTag' in params ? params.ClusterTag : null;
584
649
  this.SlaveZoneId = 'SlaveZoneId' in params ? params.SlaveZoneId : null;
585
650
  this.EipAddressId = 'EipAddressId' in params ? params.EipAddressId : null;
651
+ this.LoadBalancerPassToTarget = 'LoadBalancerPassToTarget' in params ? params.LoadBalancerPassToTarget : null;
586
652
 
587
653
  }
588
654
  }
@@ -1253,6 +1319,88 @@ Note: This field may return null, indicating that no valid values can be obtaine
1253
1319
  }
1254
1320
  }
1255
1321
 
1322
+ /**
1323
+ * Querying the listener type
1324
+ * @class
1325
+ */
1326
+ class ListenerItem extends AbstractModel {
1327
+ constructor(){
1328
+ super();
1329
+
1330
+ /**
1331
+ * Listener ID.
1332
+ * @type {string || null}
1333
+ */
1334
+ this.ListenerId = null;
1335
+
1336
+ /**
1337
+ * Listener protocol.
1338
+ * @type {string || null}
1339
+ */
1340
+ this.Protocol = null;
1341
+
1342
+ /**
1343
+ * Listener port.
1344
+ * @type {number || null}
1345
+ */
1346
+ this.Port = null;
1347
+
1348
+ /**
1349
+ * Bound rule.
1350
+ Note: this field may return `null`, indicating that no valid values can be obtained.
1351
+ * @type {Array.<RulesItems> || null}
1352
+ */
1353
+ this.Rules = null;
1354
+
1355
+ /**
1356
+ * Object bound to the layer-4 listener.
1357
+ Note: this field may return `null`, indicating that no valid values can be obtained.
1358
+ * @type {Array.<LbRsTargets> || null}
1359
+ */
1360
+ this.Targets = null;
1361
+
1362
+ /**
1363
+ * End port of the listener.
1364
+ Note: this field may return `null`, indicating that no valid values can be obtained.
1365
+ * @type {number || null}
1366
+ */
1367
+ this.EndPort = null;
1368
+
1369
+ }
1370
+
1371
+ /**
1372
+ * @private
1373
+ */
1374
+ deserialize(params) {
1375
+ if (!params) {
1376
+ return;
1377
+ }
1378
+ this.ListenerId = 'ListenerId' in params ? params.ListenerId : null;
1379
+ this.Protocol = 'Protocol' in params ? params.Protocol : null;
1380
+ this.Port = 'Port' in params ? params.Port : null;
1381
+
1382
+ if (params.Rules) {
1383
+ this.Rules = new Array();
1384
+ for (let z in params.Rules) {
1385
+ let obj = new RulesItems();
1386
+ obj.deserialize(params.Rules[z]);
1387
+ this.Rules.push(obj);
1388
+ }
1389
+ }
1390
+
1391
+ if (params.Targets) {
1392
+ this.Targets = new Array();
1393
+ for (let z in params.Targets) {
1394
+ let obj = new LbRsTargets();
1395
+ obj.deserialize(params.Targets[z]);
1396
+ this.Targets.push(obj);
1397
+ }
1398
+ }
1399
+ this.EndPort = 'EndPort' in params ? params.EndPort : null;
1400
+
1401
+ }
1402
+ }
1403
+
1256
1404
  /**
1257
1405
  * Modifies the data type of a node weight
1258
1406
  * @class
@@ -2498,6 +2646,42 @@ class ModifyLoadBalancerAttributesRequest extends AbstractModel {
2498
2646
  }
2499
2647
  }
2500
2648
 
2649
+ /**
2650
+ * DescribeLBListeners request structure.
2651
+ * @class
2652
+ */
2653
+ class DescribeLBListenersRequest extends AbstractModel {
2654
+ constructor(){
2655
+ super();
2656
+
2657
+ /**
2658
+ * List of private network IPs to be queried.
2659
+ * @type {Array.<LbRsItem> || null}
2660
+ */
2661
+ this.Backends = null;
2662
+
2663
+ }
2664
+
2665
+ /**
2666
+ * @private
2667
+ */
2668
+ deserialize(params) {
2669
+ if (!params) {
2670
+ return;
2671
+ }
2672
+
2673
+ if (params.Backends) {
2674
+ this.Backends = new Array();
2675
+ for (let z in params.Backends) {
2676
+ let obj = new LbRsItem();
2677
+ obj.deserialize(params.Backends[z]);
2678
+ this.Backends.push(obj);
2679
+ }
2680
+ }
2681
+
2682
+ }
2683
+ }
2684
+
2501
2685
  /**
2502
2686
  * Redirect target, i.e., the real server bound to a CLB
2503
2687
  * @class
@@ -3257,6 +3441,12 @@ They represent weighted round robin and least connections, respectively. Default
3257
3441
  */
3258
3442
  this.DeregisterTargetRst = null;
3259
3443
 
3444
+ /**
3445
+ * Session persistence type. `NORMAL`: default session persistence type (L4/L7 session persistence); `QUIC_CID`: session persistence by QUIC connection ID. The `QUIC_CID` value can only be configured in UDP listeners.
3446
+ * @type {string || null}
3447
+ */
3448
+ this.SessionType = null;
3449
+
3260
3450
  }
3261
3451
 
3262
3452
  /**
@@ -3286,6 +3476,7 @@ They represent weighted round robin and least connections, respectively. Default
3286
3476
  this.SniSwitch = 'SniSwitch' in params ? params.SniSwitch : null;
3287
3477
  this.KeepaliveEnable = 'KeepaliveEnable' in params ? params.KeepaliveEnable : null;
3288
3478
  this.DeregisterTargetRst = 'DeregisterTargetRst' in params ? params.DeregisterTargetRst : null;
3479
+ this.SessionType = 'SessionType' in params ? params.SessionType : null;
3289
3480
 
3290
3481
  }
3291
3482
  }
@@ -3503,6 +3694,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
3503
3694
  */
3504
3695
  this.HttpVersion = null;
3505
3696
 
3697
+ /**
3698
+ * Specifies the source IP for health check. `0`: use the CLB VIP as the source IP; `1`: IP range starting with 100.64 serving as the source IP. Default: `0`.
3699
+ Note: this field may return `null`, indicating that no valid values can be obtained.
3700
+ * @type {number || null}
3701
+ */
3702
+ this.SourceIpType = null;
3703
+
3506
3704
  }
3507
3705
 
3508
3706
  /**
@@ -3527,6 +3725,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
3527
3725
  this.RecvContext = 'RecvContext' in params ? params.RecvContext : null;
3528
3726
  this.CheckType = 'CheckType' in params ? params.CheckType : null;
3529
3727
  this.HttpVersion = 'HttpVersion' in params ? params.HttpVersion : null;
3728
+ this.SourceIpType = 'SourceIpType' in params ? params.SourceIpType : null;
3530
3729
 
3531
3730
  }
3532
3731
  }
@@ -5216,6 +5415,41 @@ class ModifyTargetGroupInstancesPortResponse extends AbstractModel {
5216
5415
  }
5217
5416
  }
5218
5417
 
5418
+ /**
5419
+ * Querying the input data types
5420
+ * @class
5421
+ */
5422
+ class LbRsItem extends AbstractModel {
5423
+ constructor(){
5424
+ super();
5425
+
5426
+ /**
5427
+ * VPC ID
5428
+ * @type {string || null}
5429
+ */
5430
+ this.VpcId = null;
5431
+
5432
+ /**
5433
+ * Private network IP to be queried, which can be of the CVM or ENI.
5434
+ * @type {string || null}
5435
+ */
5436
+ this.PrivateIp = null;
5437
+
5438
+ }
5439
+
5440
+ /**
5441
+ * @private
5442
+ */
5443
+ deserialize(params) {
5444
+ if (!params) {
5445
+ return;
5446
+ }
5447
+ this.VpcId = 'VpcId' in params ? params.VpcId : null;
5448
+ this.PrivateIp = 'PrivateIp' in params ? params.PrivateIp : null;
5449
+
5450
+ }
5451
+ }
5452
+
5219
5453
  /**
5220
5454
  * Information of the real server bound to a forwarding rule under an HTTP/HTTPS listener
5221
5455
  * @class
@@ -6815,6 +7049,64 @@ Note: this field may return `null`, indicating that no valid values can be obtai
6815
7049
  }
6816
7050
  }
6817
7051
 
7052
+ /**
7053
+ * Querying the output data types
7054
+ * @class
7055
+ */
7056
+ class LbRsTargets extends AbstractModel {
7057
+ constructor(){
7058
+ super();
7059
+
7060
+ /**
7061
+ * Private network IP type, which can be `cvm` or `eni`.
7062
+ * @type {string || null}
7063
+ */
7064
+ this.Type = null;
7065
+
7066
+ /**
7067
+ * Private network IP of the real server.
7068
+ * @type {string || null}
7069
+ */
7070
+ this.PrivateIp = null;
7071
+
7072
+ /**
7073
+ * Port bound to the real server.
7074
+ * @type {number || null}
7075
+ */
7076
+ this.Port = null;
7077
+
7078
+ /**
7079
+ * VPC ID of the real server.
7080
+ Note: this field may return `null`, indicating that no valid values can be obtained.
7081
+ * @type {number || null}
7082
+ */
7083
+ this.VpcId = null;
7084
+
7085
+ /**
7086
+ * Weight of the real server.
7087
+ Note: this field may return `null`, indicating that no valid values can be obtained.
7088
+ * @type {number || null}
7089
+ */
7090
+ this.Weight = null;
7091
+
7092
+ }
7093
+
7094
+ /**
7095
+ * @private
7096
+ */
7097
+ deserialize(params) {
7098
+ if (!params) {
7099
+ return;
7100
+ }
7101
+ this.Type = 'Type' in params ? params.Type : null;
7102
+ this.PrivateIp = 'PrivateIp' in params ? params.PrivateIp : null;
7103
+ this.Port = 'Port' in params ? params.Port : null;
7104
+ this.VpcId = 'VpcId' in params ? params.VpcId : null;
7105
+ this.Weight = 'Weight' in params ? params.Weight : null;
7106
+
7107
+ }
7108
+ }
7109
+
6818
7110
  /**
6819
7111
  * BatchModifyTargetWeight request structure.
6820
7112
  * @class
@@ -7410,6 +7702,12 @@ class CreateLoadBalancerSnatIpsRequest extends AbstractModel {
7410
7702
  */
7411
7703
  this.SnatIps = null;
7412
7704
 
7705
+ /**
7706
+ * Number of SNAT IPs to be added. This parameter is used in conjunction with `SnatIps`. Note that if `Ip` is specified in `SnapIps`, this parameter is not available.
7707
+ * @type {number || null}
7708
+ */
7709
+ this.Number = null;
7710
+
7413
7711
  }
7414
7712
 
7415
7713
  /**
@@ -7429,6 +7727,7 @@ class CreateLoadBalancerSnatIpsRequest extends AbstractModel {
7429
7727
  this.SnatIps.push(obj);
7430
7728
  }
7431
7729
  }
7730
+ this.Number = 'Number' in params ? params.Number : null;
7432
7731
 
7433
7732
  }
7434
7733
  }
@@ -8169,6 +8468,63 @@ Note: this field may return null, indicating that no valid values can be obtaine
8169
8468
  }
8170
8469
  }
8171
8470
 
8471
+ /**
8472
+ * Querying the binding relation of the CLB instance
8473
+ * @class
8474
+ */
8475
+ class LBItem extends AbstractModel {
8476
+ constructor(){
8477
+ super();
8478
+
8479
+ /**
8480
+ * String ID of the CLB instance.
8481
+ * @type {string || null}
8482
+ */
8483
+ this.LoadBalancerId = null;
8484
+
8485
+ /**
8486
+ * VIP of the CLB instance.
8487
+ * @type {string || null}
8488
+ */
8489
+ this.Vip = null;
8490
+
8491
+ /**
8492
+ * Listener rule.
8493
+ * @type {Array.<ListenerItem> || null}
8494
+ */
8495
+ this.Listeners = null;
8496
+
8497
+ /**
8498
+ * Region of the CLB instance
8499
+ * @type {string || null}
8500
+ */
8501
+ this.Region = null;
8502
+
8503
+ }
8504
+
8505
+ /**
8506
+ * @private
8507
+ */
8508
+ deserialize(params) {
8509
+ if (!params) {
8510
+ return;
8511
+ }
8512
+ this.LoadBalancerId = 'LoadBalancerId' in params ? params.LoadBalancerId : null;
8513
+ this.Vip = 'Vip' in params ? params.Vip : null;
8514
+
8515
+ if (params.Listeners) {
8516
+ this.Listeners = new Array();
8517
+ for (let z in params.Listeners) {
8518
+ let obj = new ListenerItem();
8519
+ obj.deserialize(params.Listeners[z]);
8520
+ this.Listeners.push(obj);
8521
+ }
8522
+ }
8523
+ this.Region = 'Region' in params ? params.Region : null;
8524
+
8525
+ }
8526
+ }
8527
+
8172
8528
  /**
8173
8529
  * DeleteLoadBalancerListeners response structure.
8174
8530
  * @class
@@ -8544,6 +8900,49 @@ class DescribeLoadBalancersResponse extends AbstractModel {
8544
8900
  }
8545
8901
  }
8546
8902
 
8903
+ /**
8904
+ * DescribeLBListeners response structure.
8905
+ * @class
8906
+ */
8907
+ class DescribeLBListenersResponse extends AbstractModel {
8908
+ constructor(){
8909
+ super();
8910
+
8911
+ /**
8912
+ * Listener rule associated with the real server.
8913
+ * @type {Array.<LBItem> || null}
8914
+ */
8915
+ this.LoadBalancers = null;
8916
+
8917
+ /**
8918
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
8919
+ * @type {string || null}
8920
+ */
8921
+ this.RequestId = null;
8922
+
8923
+ }
8924
+
8925
+ /**
8926
+ * @private
8927
+ */
8928
+ deserialize(params) {
8929
+ if (!params) {
8930
+ return;
8931
+ }
8932
+
8933
+ if (params.LoadBalancers) {
8934
+ this.LoadBalancers = new Array();
8935
+ for (let z in params.LoadBalancers) {
8936
+ let obj = new LBItem();
8937
+ obj.deserialize(params.LoadBalancers[z]);
8938
+ this.LoadBalancers.push(obj);
8939
+ }
8940
+ }
8941
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
8942
+
8943
+ }
8944
+ }
8945
+
8547
8946
  /**
8548
8947
  * DeleteListener response structure.
8549
8948
  * @class
@@ -9594,6 +9993,7 @@ module.exports = {
9594
9993
  DescribeTargetGroupListRequest: DescribeTargetGroupListRequest,
9595
9994
  BatchDeregisterTargetsResponse: BatchDeregisterTargetsResponse,
9596
9995
  SetLoadBalancerSecurityGroupsResponse: SetLoadBalancerSecurityGroupsResponse,
9996
+ RulesItems: RulesItems,
9597
9997
  ExtraInfo: ExtraInfo,
9598
9998
  BatchModifyTargetWeightResponse: BatchModifyTargetWeightResponse,
9599
9999
  SetSecurityGroupForLoadbalancersRequest: SetSecurityGroupForLoadbalancersRequest,
@@ -9611,6 +10011,7 @@ module.exports = {
9611
10011
  DescribeTargetGroupInstancesRequest: DescribeTargetGroupInstancesRequest,
9612
10012
  AssociateTargetGroupsRequest: AssociateTargetGroupsRequest,
9613
10013
  ClassicalTarget: ClassicalTarget,
10014
+ ListenerItem: ListenerItem,
9614
10015
  RsWeightRule: RsWeightRule,
9615
10016
  DeregisterTargetsFromClassicalLBRequest: DeregisterTargetsFromClassicalLBRequest,
9616
10017
  SetSecurityGroupForLoadbalancersResponse: SetSecurityGroupForLoadbalancersResponse,
@@ -9640,6 +10041,7 @@ module.exports = {
9640
10041
  DescribeTaskStatusResponse: DescribeTaskStatusResponse,
9641
10042
  BatchRegisterTargetsResponse: BatchRegisterTargetsResponse,
9642
10043
  ModifyLoadBalancerAttributesRequest: ModifyLoadBalancerAttributesRequest,
10044
+ DescribeLBListenersRequest: DescribeLBListenersRequest,
9643
10045
  Target: Target,
9644
10046
  DescribeLoadBalancerTrafficRequest: DescribeLoadBalancerTrafficRequest,
9645
10047
  DescribeBlockIPListRequest: DescribeBlockIPListRequest,
@@ -9688,6 +10090,7 @@ module.exports = {
9688
10090
  CreateTopicResponse: CreateTopicResponse,
9689
10091
  CreateRuleRequest: CreateRuleRequest,
9690
10092
  ModifyTargetGroupInstancesPortResponse: ModifyTargetGroupInstancesPortResponse,
10093
+ LbRsItem: LbRsItem,
9691
10094
  RuleTargets: RuleTargets,
9692
10095
  BatchDeregisterTargetsRequest: BatchDeregisterTargetsRequest,
9693
10096
  DeregisterTargetGroupInstancesRequest: DeregisterTargetGroupInstancesRequest,
@@ -9713,6 +10116,7 @@ module.exports = {
9713
10116
  ModifyTargetWeightRequest: ModifyTargetWeightRequest,
9714
10117
  DescribeLoadBalancersDetailResponse: DescribeLoadBalancersDetailResponse,
9715
10118
  LoadBalancerDetail: LoadBalancerDetail,
10119
+ LbRsTargets: LbRsTargets,
9716
10120
  BatchModifyTargetWeightRequest: BatchModifyTargetWeightRequest,
9717
10121
  DeleteRewriteResponse: DeleteRewriteResponse,
9718
10122
  BatchTarget: BatchTarget,
@@ -9743,6 +10147,7 @@ module.exports = {
9743
10147
  CreateLoadBalancerResponse: CreateLoadBalancerResponse,
9744
10148
  DescribeRewriteResponse: DescribeRewriteResponse,
9745
10149
  Quota: Quota,
10150
+ LBItem: LBItem,
9746
10151
  DeleteLoadBalancerListenersResponse: DeleteLoadBalancerListenersResponse,
9747
10152
  DescribeListenersRequest: DescribeListenersRequest,
9748
10153
  DeleteLoadBalancerSnatIpsRequest: DeleteLoadBalancerSnatIpsRequest,
@@ -9751,6 +10156,7 @@ module.exports = {
9751
10156
  RewriteLocationMap: RewriteLocationMap,
9752
10157
  ModifyTargetPortRequest: ModifyTargetPortRequest,
9753
10158
  DescribeLoadBalancersResponse: DescribeLoadBalancersResponse,
10159
+ DescribeLBListenersResponse: DescribeLBListenersResponse,
9754
10160
  DeleteListenerResponse: DeleteListenerResponse,
9755
10161
  DeleteLoadBalancerSnatIpsResponse: DeleteLoadBalancerSnatIpsResponse,
9756
10162
  CertificateOutput: CertificateOutput,
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.324";
1
+ const sdkVersion = "3.0.328";
2
2
  module.exports = sdkVersion
@@ -69,7 +69,8 @@ const DescribeProxyGroupDetailsRequest = models.DescribeProxyGroupDetailsRequest
69
69
  const CloseProxiesRequest = models.CloseProxiesRequest;
70
70
  const DescribeListenerRealServersResponse = models.DescribeListenerRealServersResponse;
71
71
  const DescribeProxyDetailRequest = models.DescribeProxyDetailRequest;
72
- const ModifyTCPListenerAttributeRequest = models.ModifyTCPListenerAttributeRequest;
72
+ const IPDetail = models.IPDetail;
73
+ const ProxyStatus = models.ProxyStatus;
73
74
  const DeleteDomainRequest = models.DeleteDomainRequest;
74
75
  const OpenSecurityPolicyResponse = models.OpenSecurityPolicyResponse;
75
76
  const ModifyCertificateAttributesResponse = models.ModifyCertificateAttributesResponse;
@@ -116,7 +117,7 @@ const TagPair = models.TagPair;
116
117
  const CreateSecurityRulesRequest = models.CreateSecurityRulesRequest;
117
118
  const DescribeCertificatesRequest = models.DescribeCertificatesRequest;
118
119
  const DescribeProxiesStatusRequest = models.DescribeProxiesStatusRequest;
119
- const ProxyStatus = models.ProxyStatus;
120
+ const ModifyTCPListenerAttributeRequest = models.ModifyTCPListenerAttributeRequest;
120
121
  const DeleteSecurityPolicyResponse = models.DeleteSecurityPolicyResponse;
121
122
  const CreateDomainResponse = models.CreateDomainResponse;
122
123
  const ModifyProxiesProjectResponse = models.ModifyProxiesProjectResponse;