tencentcloud-sdk-nodejs-intl-en 3.0.1378 → 3.0.1380
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 +1 -1
- package/tencentcloud/bi/v20220105/bi_client.js +158 -77
- package/tencentcloud/bi/v20220105/models.js +5210 -2981
- package/tencentcloud/clb/index.js +1 -1
- package/tencentcloud/clb/v20180317/clb_client.js +71 -44
- package/tencentcloud/clb/v20180317/models.js +517 -294
- package/tencentcloud/clb/v20230417/clb_client.js +213 -0
- package/tencentcloud/clb/v20230417/index.js +4 -0
- package/tencentcloud/clb/v20230417/models.js +3714 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +13 -0
- package/tencentcloud/cynosdb/v20190107/models.js +159 -83
|
@@ -82,13 +82,13 @@ class DescribeTargetGroupListResponse extends AbstractModel {
|
|
|
82
82
|
super();
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
|
-
* Number of displayed results
|
|
85
|
+
* <p>Number of displayed results.</p>
|
|
86
86
|
* @type {number || null}
|
|
87
87
|
*/
|
|
88
88
|
this.TotalCount = null;
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* <p>Collection of displayed target group information.</p>
|
|
92
92
|
* @type {Array.<TargetGroupInfo> || null}
|
|
93
93
|
*/
|
|
94
94
|
this.TargetGroupSet = null;
|
|
@@ -153,25 +153,25 @@ class DescribeTargetGroupListRequest extends AbstractModel {
|
|
|
153
153
|
super();
|
|
154
154
|
|
|
155
155
|
/**
|
|
156
|
-
* Target group ID array
|
|
156
|
+
* <p>Target group ID array.</p>
|
|
157
157
|
* @type {Array.<string> || null}
|
|
158
158
|
*/
|
|
159
159
|
this.TargetGroupIds = null;
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
|
-
* Filter array
|
|
162
|
+
* <p>Filter condition array. Support TargetGroupVpcId and TargetGroupName. Mutually exclusive with TargetGroupIds. Prioritize target group ID.</p>
|
|
163
163
|
* @type {Array.<Filter> || null}
|
|
164
164
|
*/
|
|
165
165
|
this.Filters = null;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
|
-
* Starting display offset
|
|
168
|
+
* <p>Starting display offset.</p>
|
|
169
169
|
* @type {number || null}
|
|
170
170
|
*/
|
|
171
171
|
this.Offset = null;
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
|
-
*
|
|
174
|
+
* <p>Number of entries displayed per page.</p><p>Value ranges from 0 to 100.</p><p>The default value is 20.</p>
|
|
175
175
|
* @type {number || null}
|
|
176
176
|
*/
|
|
177
177
|
this.Limit = null;
|
|
@@ -372,109 +372,109 @@ class ClassicalListener extends AbstractModel {
|
|
|
372
372
|
super();
|
|
373
373
|
|
|
374
374
|
/**
|
|
375
|
-
* CLB listener ID
|
|
375
|
+
* <p>CLB listener ID</p>
|
|
376
376
|
* @type {string || null}
|
|
377
377
|
*/
|
|
378
378
|
this.ListenerId = null;
|
|
379
379
|
|
|
380
380
|
/**
|
|
381
|
-
* CLB listener port
|
|
381
|
+
* <p>CLB listener port</p>
|
|
382
382
|
* @type {number || null}
|
|
383
383
|
*/
|
|
384
384
|
this.ListenerPort = null;
|
|
385
385
|
|
|
386
386
|
/**
|
|
387
|
-
*
|
|
387
|
+
* <p>listener backend forwarding port</p>
|
|
388
388
|
* @type {number || null}
|
|
389
389
|
*/
|
|
390
390
|
this.InstancePort = null;
|
|
391
391
|
|
|
392
392
|
/**
|
|
393
|
-
* Listener name
|
|
393
|
+
* <p>Listener name</p>
|
|
394
394
|
* @type {string || null}
|
|
395
395
|
*/
|
|
396
396
|
this.ListenerName = null;
|
|
397
397
|
|
|
398
398
|
/**
|
|
399
|
-
* Listener protocol type
|
|
399
|
+
* <p>Listener protocol type</p>
|
|
400
400
|
* @type {string || null}
|
|
401
401
|
*/
|
|
402
402
|
this.Protocol = null;
|
|
403
403
|
|
|
404
404
|
/**
|
|
405
|
-
* Session persistence time
|
|
405
|
+
* <p>Session persistence time</p>
|
|
406
406
|
* @type {number || null}
|
|
407
407
|
*/
|
|
408
408
|
this.SessionExpire = null;
|
|
409
409
|
|
|
410
410
|
/**
|
|
411
|
-
* Whether health check is enabled
|
|
411
|
+
* <p>Whether health check is enabled: 1 (enabled), 0 (disabled)</p>
|
|
412
412
|
* @type {number || null}
|
|
413
413
|
*/
|
|
414
414
|
this.HealthSwitch = null;
|
|
415
415
|
|
|
416
416
|
/**
|
|
417
|
-
* Response timeout
|
|
417
|
+
* <p>Response timeout</p><p>Unit: second</p>
|
|
418
418
|
* @type {number || null}
|
|
419
419
|
*/
|
|
420
420
|
this.TimeOut = null;
|
|
421
421
|
|
|
422
422
|
/**
|
|
423
|
-
* Check interval
|
|
423
|
+
* <p>Check interval</p><p>Unit: seconds</p>
|
|
424
424
|
* @type {number || null}
|
|
425
425
|
*/
|
|
426
426
|
this.IntervalTime = null;
|
|
427
427
|
|
|
428
428
|
/**
|
|
429
|
-
* Health threshold
|
|
429
|
+
* <p>Health threshold</p>
|
|
430
430
|
* @type {number || null}
|
|
431
431
|
*/
|
|
432
432
|
this.HealthNum = null;
|
|
433
433
|
|
|
434
434
|
/**
|
|
435
|
-
* Unhealthy threshold
|
|
435
|
+
* <p>Unhealthy threshold</p>
|
|
436
436
|
* @type {number || null}
|
|
437
437
|
*/
|
|
438
438
|
this.UnhealthNum = null;
|
|
439
439
|
|
|
440
440
|
/**
|
|
441
|
-
* Request balancing method for listeners of the classic public network CLB. An empty string or wrr indicates weighted round robin. ip_hash indicates consistent hashing based on the accessed source IP address. least_conn indicates least connections
|
|
441
|
+
* <p>Request balancing method for listeners of the classic public network CLB. An empty string or wrr indicates weighted round robin. ip_hash indicates consistent hashing based on the accessed source IP address. least_conn indicates least connections.</p>
|
|
442
442
|
* @type {string || null}
|
|
443
443
|
*/
|
|
444
444
|
this.HttpHash = null;
|
|
445
445
|
|
|
446
446
|
/**
|
|
447
|
-
* Health check return code
|
|
447
|
+
* <p>Health check return code of HTTP and HTTPS listeners for public network CLB. For details, see the explanation of this field in listener creation API.</p>
|
|
448
448
|
* @type {number || null}
|
|
449
449
|
*/
|
|
450
450
|
this.HttpCode = null;
|
|
451
451
|
|
|
452
452
|
/**
|
|
453
|
-
* Health check path
|
|
453
|
+
* <p>Health check path of HTTP and HTTPS listeners for public network CLB</p>
|
|
454
454
|
* @type {string || null}
|
|
455
455
|
*/
|
|
456
456
|
this.HttpCheckPath = null;
|
|
457
457
|
|
|
458
458
|
/**
|
|
459
|
-
* Authentication method
|
|
459
|
+
* <p>Authentication method of the HTTPS listener for public network CLB</p>
|
|
460
460
|
* @type {string || null}
|
|
461
461
|
*/
|
|
462
462
|
this.SSLMode = null;
|
|
463
463
|
|
|
464
464
|
/**
|
|
465
|
-
* Server certificate ID
|
|
465
|
+
* <p>Server certificate ID of the HTTPS listener for the public network CLB</p>
|
|
466
466
|
* @type {string || null}
|
|
467
467
|
*/
|
|
468
468
|
this.CertId = null;
|
|
469
469
|
|
|
470
470
|
/**
|
|
471
|
-
* Client certificate ID
|
|
471
|
+
* <p>Client certificate ID of the HTTPS listener for public network CLB</p>
|
|
472
472
|
* @type {string || null}
|
|
473
473
|
*/
|
|
474
474
|
this.CertCaId = null;
|
|
475
475
|
|
|
476
476
|
/**
|
|
477
|
-
* Listener status.
|
|
477
|
+
* <p>Listener status. 0 indicates creating in progress, 1 indicates running.</p>
|
|
478
478
|
* @type {number || null}
|
|
479
479
|
*/
|
|
480
480
|
this.Status = null;
|
|
@@ -591,21 +591,19 @@ class CreateLoadBalancerRequest extends AbstractModel {
|
|
|
591
591
|
super();
|
|
592
592
|
|
|
593
593
|
/**
|
|
594
|
-
*
|
|
595
|
-
OPEN: public network; INTERNAL: private network.
|
|
594
|
+
* <p>Network type of the Cloud Load Balancer instance:<br>OPEN: public network attribute, INTERNAL: private network attribute.</p>
|
|
596
595
|
* @type {string || null}
|
|
597
596
|
*/
|
|
598
597
|
this.LoadBalancerType = null;
|
|
599
598
|
|
|
600
599
|
/**
|
|
601
|
-
*
|
|
600
|
+
* <p>Type of the Cloud Load Balancer instance. 1: Common CLB instance. Currently only support passing in 1.</p>
|
|
602
601
|
* @type {number || null}
|
|
603
602
|
*/
|
|
604
603
|
this.Forward = null;
|
|
605
604
|
|
|
606
605
|
/**
|
|
607
|
-
*
|
|
608
|
-
Note: if the name of the new CLB instance already exists, a default name will be generated automatically.
|
|
606
|
+
* <p>The name of the Cloud Load Balancer instance is effective only when creating an instance. Rule: 1-80 characters in internationally compatible languages such as English letters, Chinese characters, digits, connecting line "-", underscore "_", and other common characters (Unicode supplementary characters such as emoji and rare Chinese characters are forbidden). Note: If the name is identical to an existing Cloud Load Balancer instance name in the system, the system will automatically generate the name for the created CLB instance.</p>
|
|
609
607
|
* @type {string || null}
|
|
610
608
|
*/
|
|
611
609
|
this.LoadBalancerName = null;
|
|
@@ -617,7 +615,7 @@ Note: if the name of the new CLB instance already exists, a default name will be
|
|
|
617
615
|
this.VpcId = null;
|
|
618
616
|
|
|
619
617
|
/**
|
|
620
|
-
*
|
|
618
|
+
* <p>When you purchase a private network CLB instance in a VPC, the subnet ID must be specified. The VIP of the private network CLB instance is generated in this subnet.<br>This parameter is required when you create a private network CLB instance or a CLB instance of the IPv6FullChain version.<br>It cannot be specified when you create a public network IPv4 CLB instance.</p>
|
|
621
619
|
* @type {string || null}
|
|
622
620
|
*/
|
|
623
621
|
this.SubnetId = null;
|
|
@@ -629,158 +627,161 @@ Note: if the name of the new CLB instance already exists, a default name will be
|
|
|
629
627
|
this.ProjectId = null;
|
|
630
628
|
|
|
631
629
|
/**
|
|
632
|
-
*
|
|
630
|
+
* <p>Applicable only to public network CLB. IP version, valid values: IPV4, IPV6, IPv6FullChain, case-insensitive, default value IPV4. Description: A value of IPV6 means IPV6 NAT64 version; a value of IPv6FullChain means IPv6 version.</p>
|
|
633
631
|
* @type {string || null}
|
|
634
632
|
*/
|
|
635
633
|
this.AddressIPVersion = null;
|
|
636
634
|
|
|
637
635
|
/**
|
|
638
|
-
*
|
|
636
|
+
* <p>Count of Cloud Load Balancers to create, default value is 1. The count must not exceed the maximum value allowed for the account, with a default creation maximum value of 20.</p>
|
|
639
637
|
* @type {number || null}
|
|
640
638
|
*/
|
|
641
639
|
this.Number = null;
|
|
642
640
|
|
|
643
641
|
/**
|
|
644
|
-
* Applicable only to public network
|
|
645
|
-
Note: the primary AZ loads traffic. the secondary AZ does not load traffic by default and is used only if the primary AZ becomes unavailable.
|
|
642
|
+
* <p>Applicable only to public network load balancing with IP version IPv4. Sets the primary AZ ID for cross-AZ disaster recovery. Both AZ ID and name are supported, such as 100001 or ap-guangzhou-1.<br>Note: The primary AZ loads traffic. The secondary AZ does not load traffic by default and is used only if the primary AZ becomes unavailable.</p>
|
|
646
643
|
* @type {string || null}
|
|
647
644
|
*/
|
|
648
645
|
this.MasterZoneId = null;
|
|
649
646
|
|
|
650
647
|
/**
|
|
651
|
-
* Applicable only to public network
|
|
648
|
+
* <p>Applicable only to public network load balancing with IP version IPv4. AZ ID, availability zone id and name are supported. Specify availability zone to create a CLB instance. For example: 100001 or ap-guangzhou-1.</p>
|
|
652
649
|
* @type {string || null}
|
|
653
650
|
*/
|
|
654
651
|
this.ZoneId = null;
|
|
655
652
|
|
|
656
653
|
/**
|
|
657
|
-
*
|
|
654
|
+
* <p>Maximum outbound bandwidth under the network billing mode. It applies only to LCU-supported instances of the private network type and all instances of the public network type.</p>
|
|
658
655
|
* @type {InternetAccessible || null}
|
|
659
656
|
*/
|
|
660
657
|
this.InternetAccessible = null;
|
|
661
658
|
|
|
662
659
|
/**
|
|
663
|
-
*
|
|
660
|
+
* <p>Applicable only to public network CLB. Currently, only Guangzhou, Shanghai, Nanjing, Jinan, Hangzhou, Fuzhou, Beijing, Shijiazhuang, Wuhan, Changsha, Chengdu, and Chongqing regions support static single-line IP type. If you need to experience it, contact business manager to submit a request. After approval, you can select operator type of China Mobile (CMCC), China Unicom (CUCC), or China Telecom (CTCC). Only can be used network billing mode BANDWIDTH_PACKAGE. If this parameter is not specified, use BGP by default. You can query ISPs supported in a region via <a href="https://www.tencentcloud.com/document/api/214/70213?from_cn_redirect=1">DescribeResources</a> api.</p>
|
|
664
661
|
* @type {string || null}
|
|
665
662
|
*/
|
|
666
663
|
this.VipIsp = null;
|
|
667
664
|
|
|
668
665
|
/**
|
|
669
|
-
*
|
|
666
|
+
* <p>When purchasing a Cloud Load Balancer, you can tag it with up to 20 tag key-value pairs.</p>
|
|
670
667
|
* @type {Array.<TagInfo> || null}
|
|
671
668
|
*/
|
|
672
669
|
this.Tags = null;
|
|
673
670
|
|
|
674
671
|
/**
|
|
675
|
-
*
|
|
676
|
-
Note: If the specified VIP is occupied or is not within the IP range of the specified VPC subnet, you cannot use the VIP to create a CLB instance in a private network or an IPv6 BGP CLB instance in a public network.
|
|
672
|
+
* <p>Specify VIP to apply for Cloud Load Balancer. This parameter is optional. If this parameter is not specified, VIP is automatically assigned. This parameter is supported for IPv4 and IPv6 types but not for IPv6 NAT64 type.<br>Note: When creating a private network instance or a public IPv6 BGP instance with a designated VIP, creation fails if the VIP is not within the IP range of the specified VPC subnet or if the VIP is already occupied.</p>
|
|
677
673
|
* @type {string || null}
|
|
678
674
|
*/
|
|
679
675
|
this.Vip = null;
|
|
680
676
|
|
|
681
677
|
/**
|
|
682
|
-
*
|
|
678
|
+
* <p>Bandwidth package ID, which can be obtained through the <a href="https://www.tencentcloud.com/document/api/215/19209?from_cn_redirect=1">DescribeBandwidthPackages</a> API. When this parameter is specified, the network billing mode (InternetAccessible.InternetChargeType) supports only billing by bandwidth package (BANDWIDTH_PACKAGE), and the bandwidth package attributes determine the settlement method. For IPv6 Cloud Load Balancer instances purchased by non-promoted users with a non-BGP operator type, specifying bandwidth package ID is unsupported.</p>
|
|
683
679
|
* @type {string || null}
|
|
684
680
|
*/
|
|
685
681
|
this.BandwidthPackageId = null;
|
|
686
682
|
|
|
687
683
|
/**
|
|
688
|
-
*
|
|
684
|
+
* <p>Dedicated instance info. This parameter is required when creating a private network CLB instance of exclusive type.</p>
|
|
689
685
|
* @type {ExclusiveCluster || null}
|
|
690
686
|
*/
|
|
691
687
|
this.ExclusiveCluster = null;
|
|
692
688
|
|
|
693
689
|
/**
|
|
694
|
-
*
|
|
690
|
+
* <p>Performance capacity specification.</p><ul><li>If you need to create an LCU-supported instance, this parameter is required. Valid values:<ul><li> clb.c2.medium: Standard </li><li> clb.c3.small: Advanced 1 </li><li> clb.c3.medium: Advanced 2 </li><li> clb.c4.small: Super Large 1 </li><li> clb.c4.medium: Super Large 2 </li><li> clb.c4.large: Super Large 3 </li><li> clb.c4.xlarge: Super Large 4 </li></ul></li><li>For Chinese site users who need to create a shared instance, this parameter is not required. International site users will purchase a standard instance by default if this parameter is not passed.</li></ul> For specification details, see [Instance Specifications Comparison](https://www.tencentcloud.com/document/product/214/84689?from_cn_redirect=1).
|
|
695
691
|
* @type {string || null}
|
|
696
692
|
*/
|
|
697
693
|
this.SlaType = null;
|
|
698
694
|
|
|
699
695
|
/**
|
|
700
|
-
* Cluster ID. This cluster identifier is used for configuring a public cloud exclusive cluster or a
|
|
696
|
+
* <p>Cluster ID. This cluster identifier is used for configuring a public cloud exclusive cluster or a local dedicated cluster. To apply for a public cloud exclusive cluster, <a href="https://console.cloud.tencent.com/workorder/category">submit a ticket</a>. For local dedicated clusters, refer to the description in <a href="https://www.tencentcloud.com/document/product/1346?from_cn_redirect=1">Local Dedicated Cluster</a>.</p>
|
|
701
697
|
* @type {Array.<string> || null}
|
|
702
698
|
*/
|
|
703
699
|
this.ClusterIds = null;
|
|
704
700
|
|
|
705
701
|
/**
|
|
706
|
-
*
|
|
702
|
+
* <p>String used to ensure request idempotency. This string is generated by the customer and must be unique among different requests, with a maximum value of 64 ASCII characters. If not specified, request idempotency cannot be guaranteed.</p>
|
|
707
703
|
* @type {string || null}
|
|
708
704
|
*/
|
|
709
705
|
this.ClientToken = null;
|
|
710
706
|
|
|
711
707
|
/**
|
|
712
|
-
* Whether
|
|
708
|
+
* <p>Whether binding cross-regional or cross-Vpc IP addresses is supported.</p>
|
|
713
709
|
* @type {boolean || null}
|
|
714
710
|
*/
|
|
715
711
|
this.SnatPro = null;
|
|
716
712
|
|
|
717
713
|
/**
|
|
718
|
-
*
|
|
714
|
+
* <p>Enable the cross-regional or cross-Vpc IP binding feature to create a SnatIp.</p>
|
|
719
715
|
* @type {Array.<SnatIp> || null}
|
|
720
716
|
*/
|
|
721
717
|
this.SnatIps = null;
|
|
722
718
|
|
|
723
719
|
/**
|
|
724
|
-
* Tag
|
|
720
|
+
* <p>Tag of the Stgw exclusive cluster.</p>
|
|
725
721
|
* @type {string || null}
|
|
726
722
|
*/
|
|
727
723
|
this.ClusterTag = null;
|
|
728
724
|
|
|
729
725
|
/**
|
|
730
|
-
* Applicable only to public network
|
|
731
|
-
Note: The secondary AZ sustains traffic when the primary AZ encounters faults. You can call the [DescribeResources](https://www.tencentcloud.com/document/api/214/70213?from_cn_redirect=1) API to query the list of primary/secondary AZs in a region. If you want to experience this feature, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
|
|
726
|
+
* <p>Applicable only to public network load balancing with IP version IPv4. Sets the secondary AZ ID for cross-AZ disaster recovery. AZ ID and name are supported, such as 100001 or ap-guangzhou-1.<br>Note: The secondary AZ is the availability zone that needs to carry traffic after primary availability zone failure. Query a region's list of primary/secondary AZs via the <a href="https://www.tencentcloud.com/document/api/214/70213?from_cn_redirect=1">DescribeResources</a> API. [If you need to trial the feature, submit a ticket application via <a href="https://console.cloud.tencent.com/workorder/category">Work Order</a>]</p>
|
|
732
727
|
* @type {string || null}
|
|
733
728
|
*/
|
|
734
729
|
this.SlaveZoneId = null;
|
|
735
730
|
|
|
736
731
|
/**
|
|
737
|
-
* The unique ID of EIP
|
|
732
|
+
* <p>The unique ID of EIP can be accessed through the <a href="https://www.tencentcloud.com/document/product/215/16702?from_cn_redirect=1">DescribeAddresses</a> api for the query. Example: eip-qhx8udkc, applicable only to bind EIP for private network CLB.</p>
|
|
738
733
|
* @type {string || null}
|
|
739
734
|
*/
|
|
740
735
|
this.EipAddressId = null;
|
|
741
736
|
|
|
742
737
|
/**
|
|
743
|
-
*
|
|
738
|
+
* <p>Allow CLB traffic to the Target. Enable (true): verify security groups on CLB; deny CLB traffic to the Target (false): verify security groups on both CLB and backend instances. IPv6 CLB security group default permit, this parameter is not required.</p>
|
|
744
739
|
* @type {boolean || null}
|
|
745
740
|
*/
|
|
746
741
|
this.LoadBalancerPassToTarget = null;
|
|
747
742
|
|
|
748
743
|
/**
|
|
749
|
-
*
|
|
744
|
+
* <p>Create a domain-name based CLB.</p>
|
|
750
745
|
* @type {boolean || null}
|
|
751
746
|
*/
|
|
752
747
|
this.DynamicVip = null;
|
|
753
748
|
|
|
754
749
|
/**
|
|
755
|
-
* Network
|
|
750
|
+
* <p>Network outbound</p>
|
|
756
751
|
* @type {string || null}
|
|
757
752
|
*/
|
|
758
753
|
this.Egress = null;
|
|
759
754
|
|
|
760
755
|
/**
|
|
761
|
-
*
|
|
756
|
+
* <p>Prepaid billing attributes of the CLB instance</p>
|
|
762
757
|
* @type {LBChargePrepaid || null}
|
|
763
758
|
*/
|
|
764
759
|
this.LBChargePrepaid = null;
|
|
765
760
|
|
|
766
761
|
/**
|
|
767
|
-
* Billing type of
|
|
762
|
+
* <p>Billing type of the CLB instance. Valid values: POSTPAID_BY_HOUR and PREPAID. Default value: POSTPAID_BY_HOUR.</p><p>Enumeration values:</p><ul><li>POSTPAID_BY_HOUR: Pay-As-You-Go</li><li>PREPAID: Monthly Subscription</li></ul>
|
|
768
763
|
* @type {string || null}
|
|
769
764
|
*/
|
|
770
765
|
this.LBChargeType = null;
|
|
771
766
|
|
|
772
767
|
/**
|
|
773
|
-
*
|
|
768
|
+
* <p>L7 access log topic ID</p>
|
|
774
769
|
* @type {string || null}
|
|
775
770
|
*/
|
|
776
771
|
this.AccessLogTopicId = null;
|
|
777
772
|
|
|
778
773
|
/**
|
|
779
|
-
* Whether layer-7 advanced routing is enabled
|
|
774
|
+
* <p>Whether layer-7 advanced routing is enabled</p>
|
|
780
775
|
* @type {boolean || null}
|
|
781
776
|
*/
|
|
782
777
|
this.AdvancedRoute = null;
|
|
783
778
|
|
|
779
|
+
/**
|
|
780
|
+
* <p>Availability zone affinity info</p>
|
|
781
|
+
* @type {AvailableZoneAffinityInfo || null}
|
|
782
|
+
*/
|
|
783
|
+
this.AvailableZoneAffinityInfo = null;
|
|
784
|
+
|
|
784
785
|
}
|
|
785
786
|
|
|
786
787
|
/**
|
|
@@ -853,6 +854,12 @@ Note: The secondary AZ sustains traffic when the primary AZ encounters faults. Y
|
|
|
853
854
|
this.AccessLogTopicId = 'AccessLogTopicId' in params ? params.AccessLogTopicId : null;
|
|
854
855
|
this.AdvancedRoute = 'AdvancedRoute' in params ? params.AdvancedRoute : null;
|
|
855
856
|
|
|
857
|
+
if (params.AvailableZoneAffinityInfo) {
|
|
858
|
+
let obj = new AvailableZoneAffinityInfo();
|
|
859
|
+
obj.deserialize(params.AvailableZoneAffinityInfo)
|
|
860
|
+
this.AvailableZoneAffinityInfo = obj;
|
|
861
|
+
}
|
|
862
|
+
|
|
856
863
|
}
|
|
857
864
|
}
|
|
858
865
|
|
|
@@ -945,7 +952,7 @@ class DeleteRuleRequest extends AbstractModel {
|
|
|
945
952
|
this.Domain = null;
|
|
946
953
|
|
|
947
954
|
/**
|
|
948
|
-
* Forwarding path of the forwarding rule to be deleted can be accessed through the DescribeLoadBalancersDetail
|
|
955
|
+
* Forwarding path of the forwarding rule to be deleted can be accessed through the [DescribeLoadBalancersDetail](https://www.tencentcloud.com/document/api/214/46916?from_cn_redirect=1) api.
|
|
949
956
|
* @type {string || null}
|
|
950
957
|
*/
|
|
951
958
|
this.Url = null;
|
|
@@ -1017,7 +1024,7 @@ Note: A secondary AZ will load traffic if the primary AZ is faulty. You can use
|
|
|
1017
1024
|
this.SlaveZoneId = null;
|
|
1018
1025
|
|
|
1019
1026
|
/**
|
|
1020
|
-
* Applicable only to public network clb. AZ ID, both availability zone ID and name are supported. specify availability zone to create a load balancing instance, for example: 100001 or ap-guangzhou-1. if not passed, queries CVM instances in all azs. if needed, call the API for the query DescribeZones
|
|
1027
|
+
* Applicable only to public network clb. AZ ID, both availability zone ID and name are supported. specify availability zone to create a load balancing instance, for example: 100001 or ap-guangzhou-1. if not passed, queries CVM instances in all azs. if needed, call the API for the query [DescribeZones](https://www.tencentcloud.com/document/product/213/15707?from_cn_redirect=1) to specify availability zone.
|
|
1021
1028
|
* @type {string || null}
|
|
1022
1029
|
*/
|
|
1023
1030
|
this.ZoneId = null;
|
|
@@ -1089,13 +1096,13 @@ Note: A secondary AZ will load traffic if the primary AZ is faulty. You can use
|
|
|
1089
1096
|
this.ClusterTag = null;
|
|
1090
1097
|
|
|
1091
1098
|
/**
|
|
1092
|
-
* Applicable only to private network clb. when connected to nearby, select availability zone for deployment. you can call DescribeZones
|
|
1099
|
+
* Applicable only to private network clb. when connected to nearby, select availability zone for deployment. you can call [DescribeZones](https://www.tencentcloud.com/document/product/213/15707?from_cn_redirect=1) to query the availability zone list.
|
|
1093
1100
|
* @type {Array.<string> || null}
|
|
1094
1101
|
*/
|
|
1095
1102
|
this.Zones = null;
|
|
1096
1103
|
|
|
1097
1104
|
/**
|
|
1098
|
-
* The unique ID of EIP, such as EIP-qhx8udkc, applicable only to private network clb binding EIP, can be queried through the DescribeAddresses
|
|
1105
|
+
* The unique ID of EIP, such as EIP-qhx8udkc, applicable only to private network clb binding EIP, can be queried through the [DescribeAddresses](https://www.tencentcloud.com/document/product/215/16702?from_cn_redirect=1) API .
|
|
1099
1106
|
* @type {string || null}
|
|
1100
1107
|
*/
|
|
1101
1108
|
this.EipAddressId = null;
|
|
@@ -1293,6 +1300,57 @@ class SetLoadBalancerClsLogResponse extends AbstractModel {
|
|
|
1293
1300
|
}
|
|
1294
1301
|
}
|
|
1295
1302
|
|
|
1303
|
+
/**
|
|
1304
|
+
* Target group instance
|
|
1305
|
+
* @class
|
|
1306
|
+
*/
|
|
1307
|
+
class TargetGroupInstance extends AbstractModel {
|
|
1308
|
+
constructor(){
|
|
1309
|
+
super();
|
|
1310
|
+
|
|
1311
|
+
/**
|
|
1312
|
+
* Private IP of target group instance
|
|
1313
|
+
* @type {string || null}
|
|
1314
|
+
*/
|
|
1315
|
+
this.BindIP = null;
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* Port of target group instance. this field is not supported for full listen target groups.
|
|
1319
|
+
* @type {number || null}
|
|
1320
|
+
*/
|
|
1321
|
+
this.Port = null;
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* Weight of a target group instance
|
|
1325
|
+
Specifies that the Weight must be configured for a v2 target group. when calling the CreateTargetGroup API for target group creation, this parameter is used in combination with the Weight parameter in the create api, and one of them is required.
|
|
1326
|
+
Valid values: 0-100.
|
|
1327
|
+
* @type {number || null}
|
|
1328
|
+
*/
|
|
1329
|
+
this.Weight = null;
|
|
1330
|
+
|
|
1331
|
+
/**
|
|
1332
|
+
* The new port of the target group instance. this field is not supported for full listen target groups.
|
|
1333
|
+
* @type {number || null}
|
|
1334
|
+
*/
|
|
1335
|
+
this.NewPort = null;
|
|
1336
|
+
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
/**
|
|
1340
|
+
* @private
|
|
1341
|
+
*/
|
|
1342
|
+
deserialize(params) {
|
|
1343
|
+
if (!params) {
|
|
1344
|
+
return;
|
|
1345
|
+
}
|
|
1346
|
+
this.BindIP = 'BindIP' in params ? params.BindIP : null;
|
|
1347
|
+
this.Port = 'Port' in params ? params.Port : null;
|
|
1348
|
+
this.Weight = 'Weight' in params ? params.Weight : null;
|
|
1349
|
+
this.NewPort = 'NewPort' in params ? params.NewPort : null;
|
|
1350
|
+
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1296
1354
|
/**
|
|
1297
1355
|
* DescribeLoadBalancerTraffic response structure.
|
|
1298
1356
|
* @class
|
|
@@ -1395,25 +1453,25 @@ class RsTagRule extends AbstractModel {
|
|
|
1395
1453
|
super();
|
|
1396
1454
|
|
|
1397
1455
|
/**
|
|
1398
|
-
* CLB listener ID
|
|
1456
|
+
* <p>CLB listener ID.</p>
|
|
1399
1457
|
* @type {string || null}
|
|
1400
1458
|
*/
|
|
1401
1459
|
this.ListenerId = null;
|
|
1402
1460
|
|
|
1403
1461
|
/**
|
|
1404
|
-
* List of real servers with tags to be modified
|
|
1462
|
+
* <p>List of real servers with tags to be modified.</p>
|
|
1405
1463
|
* @type {Array.<Target> || null}
|
|
1406
1464
|
*/
|
|
1407
1465
|
this.Targets = null;
|
|
1408
1466
|
|
|
1409
1467
|
/**
|
|
1410
|
-
* Forwarding rule ID,
|
|
1468
|
+
* <p>Forwarding rule ID, required for layer-7 rules, not required for layer-4 rules.</p>
|
|
1411
1469
|
* @type {string || null}
|
|
1412
1470
|
*/
|
|
1413
1471
|
this.LocationId = null;
|
|
1414
1472
|
|
|
1415
1473
|
/**
|
|
1416
|
-
* Modified
|
|
1474
|
+
* <p>Modified tag of the backend service. This parameter has a lower priority than the Tag parameter in the aforementioned <a href="https://www.tencentcloud.com/document/api/214/30694?from_cn_redirect=1#Target">Target</a>. The final tag value is based on the Tag parameter in the Target. The Tag parameter in RsTagRule will be used only when the Tag parameter in the Target is empty.</p>
|
|
1417
1475
|
* @type {string || null}
|
|
1418
1476
|
*/
|
|
1419
1477
|
this.Tag = null;
|
|
@@ -1464,7 +1522,7 @@ class ModifyRuleRequest extends AbstractModel {
|
|
|
1464
1522
|
this.ListenerId = null;
|
|
1465
1523
|
|
|
1466
1524
|
/**
|
|
1467
|
-
* Specifies the rule ID of the forwarding rule to be modified, which can be obtained through the DescribeListeners
|
|
1525
|
+
* Specifies the rule ID of the forwarding rule to be modified, which can be obtained through the [DescribeListeners](https://www.tencentcloud.com/document/product/214/30686?from_cn_redirect=1) API.
|
|
1468
1526
|
* @type {string || null}
|
|
1469
1527
|
*/
|
|
1470
1528
|
this.LocationId = null;
|
|
@@ -1718,8 +1776,8 @@ class ModifyLoadBalancerAttributesResponse extends AbstractModel {
|
|
|
1718
1776
|
super();
|
|
1719
1777
|
|
|
1720
1778
|
/**
|
|
1721
|
-
*
|
|
1722
|
-
Note:
|
|
1779
|
+
* <p>When switching the billing mode of Cloud Load Balancer, you can use this parameter to check if the switch task is successful.</p>
|
|
1780
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1723
1781
|
* @type {string || null}
|
|
1724
1782
|
*/
|
|
1725
1783
|
this.DealName = null;
|
|
@@ -2579,38 +2637,24 @@ Note: Either `TaskId` or `DealName` is required.
|
|
|
2579
2637
|
}
|
|
2580
2638
|
|
|
2581
2639
|
/**
|
|
2582
|
-
*
|
|
2640
|
+
* DescribeTargetGroupInstanceStatus response structure.
|
|
2583
2641
|
* @class
|
|
2584
2642
|
*/
|
|
2585
|
-
class
|
|
2643
|
+
class DescribeTargetGroupInstanceStatusResponse extends AbstractModel {
|
|
2586
2644
|
constructor(){
|
|
2587
2645
|
super();
|
|
2588
2646
|
|
|
2589
2647
|
/**
|
|
2590
|
-
*
|
|
2591
|
-
* @type {
|
|
2592
|
-
*/
|
|
2593
|
-
this.BindIP = null;
|
|
2594
|
-
|
|
2595
|
-
/**
|
|
2596
|
-
* Port of target group instance. this field is not supported for full listen target groups.
|
|
2597
|
-
* @type {number || null}
|
|
2598
|
-
*/
|
|
2599
|
-
this.Port = null;
|
|
2600
|
-
|
|
2601
|
-
/**
|
|
2602
|
-
* Weight of a target group instance
|
|
2603
|
-
Specifies that the Weight must be configured for a v2 target group. when calling the CreateTargetGroup API for target group creation, this parameter is used in combination with the Weight parameter in the create api, and one of them is required.
|
|
2604
|
-
Valid values: 0-100.
|
|
2605
|
-
* @type {number || null}
|
|
2648
|
+
* Health check backend RS status list
|
|
2649
|
+
* @type {Array.<TargetGroupInstanceStatus> || null}
|
|
2606
2650
|
*/
|
|
2607
|
-
this.
|
|
2651
|
+
this.TargetGroupInstanceSet = null;
|
|
2608
2652
|
|
|
2609
2653
|
/**
|
|
2610
|
-
* The
|
|
2611
|
-
* @type {
|
|
2654
|
+
* 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.
|
|
2655
|
+
* @type {string || null}
|
|
2612
2656
|
*/
|
|
2613
|
-
this.
|
|
2657
|
+
this.RequestId = null;
|
|
2614
2658
|
|
|
2615
2659
|
}
|
|
2616
2660
|
|
|
@@ -2621,10 +2665,16 @@ Valid values: 0-100.
|
|
|
2621
2665
|
if (!params) {
|
|
2622
2666
|
return;
|
|
2623
2667
|
}
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2668
|
+
|
|
2669
|
+
if (params.TargetGroupInstanceSet) {
|
|
2670
|
+
this.TargetGroupInstanceSet = new Array();
|
|
2671
|
+
for (let z in params.TargetGroupInstanceSet) {
|
|
2672
|
+
let obj = new TargetGroupInstanceStatus();
|
|
2673
|
+
obj.deserialize(params.TargetGroupInstanceSet[z]);
|
|
2674
|
+
this.TargetGroupInstanceSet.push(obj);
|
|
2675
|
+
}
|
|
2676
|
+
}
|
|
2677
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2628
2678
|
|
|
2629
2679
|
}
|
|
2630
2680
|
}
|
|
@@ -4184,64 +4234,61 @@ class ModifyLoadBalancerAttributesRequest extends AbstractModel {
|
|
|
4184
4234
|
super();
|
|
4185
4235
|
|
|
4186
4236
|
/**
|
|
4187
|
-
*
|
|
4237
|
+
* <p>Unique ID of the Cloud Load Balancer (CLB). You can call the <a href="https://www.tencentcloud.com/document/product/214/30685?from_cn_redirect=1">DescribeLoadBalancers</a> API to obtain the ID.</p>
|
|
4188
4238
|
* @type {string || null}
|
|
4189
4239
|
*/
|
|
4190
4240
|
this.LoadBalancerId = null;
|
|
4191
4241
|
|
|
4192
4242
|
/**
|
|
4193
|
-
*
|
|
4243
|
+
* <p>CLB instance name. Rules: 1-80 internationally compatible characters including letters, Chinese characters, digits, "-", "_", and other common characters (Unicode supplementary characters such as emojis and rare Chinese characters are forbidden).</p>
|
|
4194
4244
|
* @type {string || null}
|
|
4195
4245
|
*/
|
|
4196
4246
|
this.LoadBalancerName = null;
|
|
4197
4247
|
|
|
4198
4248
|
/**
|
|
4199
|
-
*
|
|
4249
|
+
* <p>Set the backend service information for cross-region binding 1.0 of Cloud Load Balancer.</p>
|
|
4200
4250
|
* @type {TargetRegionInfo || null}
|
|
4201
4251
|
*/
|
|
4202
4252
|
this.TargetRegionInfo = null;
|
|
4203
4253
|
|
|
4204
4254
|
/**
|
|
4205
|
-
* Network billing
|
|
4255
|
+
* <p>Network billing related parameters</p>
|
|
4206
4256
|
* @type {InternetAccessible || null}
|
|
4207
4257
|
*/
|
|
4208
4258
|
this.InternetChargeInfo = null;
|
|
4209
4259
|
|
|
4210
4260
|
/**
|
|
4211
|
-
*
|
|
4212
|
-
Enable pass-through (true): verify security groups on CLB only.
|
|
4213
|
-
Denies CLB traffic to the target (false): verify security groups on both CLB and backend instances.
|
|
4214
|
-
Specifies no modification if left blank.
|
|
4261
|
+
* <p>Allow CLB traffic to the Target.<br>Enable (true): verify security groups on CLB;<br>deny CLB traffic to the Target (false): verify security groups on both CLB and backend instances.<br>Leave blank for no modification.</p>
|
|
4215
4262
|
* @type {boolean || null}
|
|
4216
4263
|
*/
|
|
4217
4264
|
this.LoadBalancerPassToTarget = null;
|
|
4218
4265
|
|
|
4219
4266
|
/**
|
|
4220
|
-
*
|
|
4267
|
+
* <p>Switchover between different billing modes: 0 means no switchover, 1 means switch between prepaid and postpaid, 2 means switch between postpaid modes. Default value: 0</p>
|
|
4221
4268
|
* @type {number || null}
|
|
4222
4269
|
*/
|
|
4223
4270
|
this.SwitchFlag = null;
|
|
4224
4271
|
|
|
4225
4272
|
/**
|
|
4226
|
-
*
|
|
4273
|
+
* <p>Whether cross-region binding 2.0 is enabled. Leave it blank for no modification.</p>
|
|
4227
4274
|
* @type {boolean || null}
|
|
4228
4275
|
*/
|
|
4229
4276
|
this.SnatPro = null;
|
|
4230
4277
|
|
|
4231
4278
|
/**
|
|
4232
|
-
*
|
|
4279
|
+
* <p>Whether to enable deletion protection. Leave it empty to skip modification.</p>
|
|
4233
4280
|
* @type {boolean || null}
|
|
4234
4281
|
*/
|
|
4235
4282
|
this.DeleteProtect = null;
|
|
4236
4283
|
|
|
4237
4284
|
/**
|
|
4238
|
-
*
|
|
4285
|
+
* <p>Change the second-level domain name of Cloud Load Balancer (CLB) from mycloud.com to tencentclb.com. The subdomain will also be transformed. After modification, the mycloud.com domain name will become invalid. Leave it blank if no modification is needed.</p>
|
|
4239
4286
|
* @type {boolean || null}
|
|
4240
4287
|
*/
|
|
4241
4288
|
this.ModifyClassicDomain = null;
|
|
4242
4289
|
|
|
4243
4290
|
/**
|
|
4244
|
-
*
|
|
4291
|
+
* <p>Id of the associated endpoint, which can be queried via the <a href="https://www.tencentcloud.com/document/product/215/54679?from_cn_redirect=1">DescribeVpcEndPoint</a> api. Input an empty string to unbind.</p>
|
|
4245
4292
|
* @type {string || null}
|
|
4246
4293
|
*/
|
|
4247
4294
|
this.AssociateEndpoint = null;
|
|
@@ -4650,7 +4697,7 @@ class ModifyLoadBalancerSlaResponse extends AbstractModel {
|
|
|
4650
4697
|
super();
|
|
4651
4698
|
|
|
4652
4699
|
/**
|
|
4653
|
-
*
|
|
4700
|
+
* Order number.
|
|
4654
4701
|
* @type {string || null}
|
|
4655
4702
|
*/
|
|
4656
4703
|
this.DealName = null;
|
|
@@ -4706,166 +4753,167 @@ class Listener extends AbstractModel {
|
|
|
4706
4753
|
super();
|
|
4707
4754
|
|
|
4708
4755
|
/**
|
|
4709
|
-
* CLB listener ID
|
|
4756
|
+
* <p>CLB listener ID</p>
|
|
4710
4757
|
* @type {string || null}
|
|
4711
4758
|
*/
|
|
4712
4759
|
this.ListenerId = null;
|
|
4713
4760
|
|
|
4714
4761
|
/**
|
|
4715
|
-
* Listener protocol.
|
|
4762
|
+
* <p>Listener protocol. Available values: TCP, UDP, HTTP, HTTPS, TCP_SSL, QUIC</p>
|
|
4716
4763
|
* @type {string || null}
|
|
4717
4764
|
*/
|
|
4718
4765
|
this.Protocol = null;
|
|
4719
4766
|
|
|
4720
4767
|
/**
|
|
4721
|
-
* Listener port
|
|
4768
|
+
* <p>Listener port, port range: 1–65535</p>
|
|
4722
4769
|
* @type {number || null}
|
|
4723
4770
|
*/
|
|
4724
4771
|
this.Port = null;
|
|
4725
4772
|
|
|
4726
4773
|
/**
|
|
4727
|
-
*
|
|
4774
|
+
* <p>Listener bound certificate information</p>
|
|
4728
4775
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4729
4776
|
* @type {CertificateOutput || null}
|
|
4730
4777
|
*/
|
|
4731
4778
|
this.Certificate = null;
|
|
4732
4779
|
|
|
4733
4780
|
/**
|
|
4734
|
-
* Health check information of the listener
|
|
4781
|
+
* <p>Health check information of the listener</p>
|
|
4735
4782
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4736
4783
|
* @type {HealthCheck || null}
|
|
4737
4784
|
*/
|
|
4738
4785
|
this.HealthCheck = null;
|
|
4739
4786
|
|
|
4740
4787
|
/**
|
|
4741
|
-
*
|
|
4788
|
+
* <p>Requested scheduling method. WRR, LEAST_CONN, and IP_HASH indicate weighted round-robin, least connection, and IP Hash respectively.</p>
|
|
4789
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4742
4790
|
* @type {string || null}
|
|
4743
4791
|
*/
|
|
4744
4792
|
this.Scheduler = null;
|
|
4745
4793
|
|
|
4746
4794
|
/**
|
|
4747
|
-
* Session persistence time,
|
|
4795
|
+
* <p>Session persistence time, unit: second. Available values: 30-3600, default 0, disabled by default. This parameter is applicable only to TCP/UDP listener.</p><p>Unit: second</p>
|
|
4748
4796
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4749
4797
|
* @type {number || null}
|
|
4750
4798
|
*/
|
|
4751
4799
|
this.SessionExpireTime = null;
|
|
4752
4800
|
|
|
4753
4801
|
/**
|
|
4754
|
-
*
|
|
4802
|
+
* <p>Whether to enable SNI feature. 1: enable, 0: disabled (this parameter is applicable only to HTTPS listeners)</p>
|
|
4755
4803
|
* @type {number || null}
|
|
4756
4804
|
*/
|
|
4757
4805
|
this.SniSwitch = null;
|
|
4758
4806
|
|
|
4759
4807
|
/**
|
|
4760
|
-
* All forwarding rules under a listener (this parameter is meaningful
|
|
4808
|
+
* <p>All forwarding rules under a listener (this parameter is only meaningful for HTTP/HTTPS listeners)</p>
|
|
4761
4809
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4762
4810
|
* @type {Array.<RuleOutput> || null}
|
|
4763
4811
|
*/
|
|
4764
4812
|
this.Rules = null;
|
|
4765
4813
|
|
|
4766
4814
|
/**
|
|
4767
|
-
* Listener name
|
|
4815
|
+
* <p>Listener name</p>
|
|
4768
4816
|
* @type {string || null}
|
|
4769
4817
|
*/
|
|
4770
4818
|
this.ListenerName = null;
|
|
4771
4819
|
|
|
4772
4820
|
/**
|
|
4773
|
-
* Listener creation time
|
|
4821
|
+
* <p>Listener creation time.</p>
|
|
4774
4822
|
* @type {string || null}
|
|
4775
4823
|
*/
|
|
4776
4824
|
this.CreateTime = null;
|
|
4777
4825
|
|
|
4778
4826
|
/**
|
|
4779
|
-
* End port of the port range
|
|
4827
|
+
* <p>End port of the port range: 2–65535</p>
|
|
4780
4828
|
* @type {number || null}
|
|
4781
4829
|
*/
|
|
4782
4830
|
this.EndPort = null;
|
|
4783
4831
|
|
|
4784
4832
|
/**
|
|
4785
|
-
* Backend server type.
|
|
4833
|
+
* <p>Backend server type. Available values: NODE, POLARIS, TARGETGROUP, TARGETGROUP-V2.</p>
|
|
4786
4834
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4787
4835
|
* @type {string || null}
|
|
4788
4836
|
*/
|
|
4789
4837
|
this.TargetType = null;
|
|
4790
4838
|
|
|
4791
4839
|
/**
|
|
4792
|
-
*
|
|
4840
|
+
* <p>Bound target group basic information; return this field when listener binding target group.</p>
|
|
4793
4841
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4794
4842
|
* @type {BasicTargetGroupInfo || null}
|
|
4795
4843
|
*/
|
|
4796
4844
|
this.TargetGroup = null;
|
|
4797
4845
|
|
|
4798
4846
|
/**
|
|
4799
|
-
* Session persistence type. NORMAL
|
|
4847
|
+
* <p>Session persistence type. NORMAL means the default session persistence type. QUIC_CID refers to maintaining the session based on Quic Connection ID.</p>
|
|
4800
4848
|
* @type {string || null}
|
|
4801
4849
|
*/
|
|
4802
4850
|
this.SessionType = null;
|
|
4803
4851
|
|
|
4804
4852
|
/**
|
|
4805
|
-
* Whether
|
|
4806
|
-
Note:
|
|
4853
|
+
* <p>Whether to enable long connections. 1: enable, 0: disable (this parameter is applicable only to HTTP/HTTPS listeners)</p>
|
|
4854
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4807
4855
|
* @type {number || null}
|
|
4808
4856
|
*/
|
|
4809
4857
|
this.KeepaliveEnable = null;
|
|
4810
4858
|
|
|
4811
4859
|
/**
|
|
4812
|
-
*
|
|
4860
|
+
* <p>Only supports Nat64 CLB TCP listener</p>
|
|
4813
4861
|
* @type {boolean || null}
|
|
4814
4862
|
*/
|
|
4815
4863
|
this.Toa = null;
|
|
4816
4864
|
|
|
4817
4865
|
/**
|
|
4818
|
-
*
|
|
4866
|
+
* <p>Rescheduling feature, which provides a switch for scaling out the backend service. If the switch is toggled on, rescheduling is triggered when the backend service is unbound. This parameter is applicable only to TCP/UDP listeners.</p>
|
|
4819
4867
|
* @type {boolean || null}
|
|
4820
4868
|
*/
|
|
4821
4869
|
this.DeregisterTargetRst = null;
|
|
4822
4870
|
|
|
4823
4871
|
/**
|
|
4824
|
-
*
|
|
4872
|
+
* <p>Listener attribute.</p>
|
|
4825
4873
|
* @type {Array.<string> || null}
|
|
4826
4874
|
*/
|
|
4827
4875
|
this.AttrFlags = null;
|
|
4828
4876
|
|
|
4829
4877
|
/**
|
|
4830
|
-
* List of bound target groups
|
|
4831
|
-
Note: This field may return
|
|
4878
|
+
* <p>List of bound target groups</p>
|
|
4879
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4832
4880
|
* @type {Array.<BasicTargetGroupInfo> || null}
|
|
4833
4881
|
*/
|
|
4834
4882
|
this.TargetGroupList = null;
|
|
4835
4883
|
|
|
4836
4884
|
/**
|
|
4837
|
-
* Maximum number of connections to a listener. -1
|
|
4885
|
+
* <p>Maximum number of connections to a listener. -1 means no speed limit at the listener dimension.</p>
|
|
4838
4886
|
* @type {number || null}
|
|
4839
4887
|
*/
|
|
4840
4888
|
this.MaxConn = null;
|
|
4841
4889
|
|
|
4842
4890
|
/**
|
|
4843
|
-
* Maximum number of new connections to a listener. -1 means no speed limit at the listener dimension
|
|
4891
|
+
* <p>Maximum number of new connections to a listener. -1 means no speed limit at the listener dimension.</p>
|
|
4844
4892
|
* @type {number || null}
|
|
4845
4893
|
*/
|
|
4846
4894
|
this.MaxCps = null;
|
|
4847
4895
|
|
|
4848
4896
|
/**
|
|
4849
|
-
*
|
|
4850
|
-
Note: This field may return
|
|
4897
|
+
* <p>Idle connection timeout is only supported for TCP listeners. Default value: 900. Value range: 300–900 for shared instances and dedicated instances and 300–1980 for LCU-supported instances.</p>
|
|
4898
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4851
4899
|
* @type {number || null}
|
|
4852
4900
|
*/
|
|
4853
4901
|
this.IdleConnectTimeout = null;
|
|
4854
4902
|
|
|
4855
4903
|
/**
|
|
4856
|
-
* Rescheduling trigger duration
|
|
4904
|
+
* <p>Rescheduling trigger duration. Value range: 0–3600. Unit: s. This parameter is applicable only to TCP/UDP listeners. After rescheduling is triggered, persistent connections will be disconnected and reassigned within the scheduled time window. </p><p>Unit: s.</p>
|
|
4857
4905
|
* @type {number || null}
|
|
4858
4906
|
*/
|
|
4859
4907
|
this.RescheduleInterval = null;
|
|
4860
4908
|
|
|
4861
4909
|
/**
|
|
4862
|
-
* Data compression mode
|
|
4910
|
+
* <p>Data compression mode</p>
|
|
4863
4911
|
* @type {string || null}
|
|
4864
4912
|
*/
|
|
4865
4913
|
this.DataCompressMode = null;
|
|
4866
4914
|
|
|
4867
4915
|
/**
|
|
4868
|
-
*
|
|
4916
|
+
* <p>Rescheduling startup time: After the rescheduling startup time is configured, rescheduling is triggered when the startup time is arrived.</p>
|
|
4869
4917
|
* @type {number || null}
|
|
4870
4918
|
*/
|
|
4871
4919
|
this.RescheduleStartTime = null;
|
|
@@ -5417,157 +5465,145 @@ class ModifyListenerRequest extends AbstractModel {
|
|
|
5417
5465
|
super();
|
|
5418
5466
|
|
|
5419
5467
|
/**
|
|
5420
|
-
* ID of the CLB instance. You can call the
|
|
5468
|
+
* <p>ID of the Cloud Load Balancer (CLB) instance. You can call the <a href="https://www.tencentcloud.com/document/product/214/30685?from_cn_redirect=1">DescribeLoadBalancers</a> API to query the ID.</p>
|
|
5421
5469
|
* @type {string || null}
|
|
5422
5470
|
*/
|
|
5423
5471
|
this.LoadBalancerId = null;
|
|
5424
5472
|
|
|
5425
5473
|
/**
|
|
5426
|
-
* ID of the CLB
|
|
5474
|
+
* <p>ID of the CLB listener. You can call the <a href="https://www.tencentcloud.com/document/product/214/30686?from_cn_redirect=1">DescribeListeners</a> API to query the ID.</p>
|
|
5427
5475
|
* @type {string || null}
|
|
5428
5476
|
*/
|
|
5429
5477
|
this.ListenerId = null;
|
|
5430
5478
|
|
|
5431
5479
|
/**
|
|
5432
|
-
* New listener name.
|
|
5480
|
+
* <p>New listener name. Naming rule: 1-80 characters including English letters, Chinese characters, digits, connecting line "-", underscore "_" and other common characters (Unicode supplementary characters such as emoji and rare Chinese characters are forbidden).</p>
|
|
5433
5481
|
* @type {string || null}
|
|
5434
5482
|
*/
|
|
5435
5483
|
this.ListenerName = null;
|
|
5436
5484
|
|
|
5437
5485
|
/**
|
|
5438
|
-
* Session persistence time
|
|
5486
|
+
* <p>Session persistence time, unit: second. Available values: 30-3600, default 0, disabled. This parameter is applicable only to TCP/UDP listener.</p>
|
|
5439
5487
|
* @type {number || null}
|
|
5440
5488
|
*/
|
|
5441
5489
|
this.SessionExpireTime = null;
|
|
5442
5490
|
|
|
5443
5491
|
/**
|
|
5444
|
-
* Health check
|
|
5492
|
+
* <p>Health check parameters. This parameter is applicable only to TCP/UDP/TCP_SSL/QUIC listeners.</p>
|
|
5445
5493
|
* @type {HealthCheck || null}
|
|
5446
5494
|
*/
|
|
5447
5495
|
this.HealthCheck = null;
|
|
5448
5496
|
|
|
5449
5497
|
/**
|
|
5450
|
-
* Certificate information. This parameter is only
|
|
5498
|
+
* <p>Certificate-related information. This parameter is applicable only to HTTPS/TCP_SSL/QUIC listeners. This parameter and MultiCertInfo cannot be specified at the same time.</p>
|
|
5451
5499
|
* @type {CertificateInput || null}
|
|
5452
5500
|
*/
|
|
5453
5501
|
this.Certificate = null;
|
|
5454
5502
|
|
|
5455
5503
|
/**
|
|
5456
|
-
* Listener forwarding method. Valid values: WRR (weighted round-robin), LEAST_CONN (least connections), and IP_HASH (IP address hash).
|
|
5457
|
-
They indicate weighted round-robin and least connections, respectively. Default value: WRR.
|
|
5458
|
-
Use cases: This applies to TCP/UDP/TCP_SSL/QUIC listeners. The balancing method for Layer-7 listeners should be modified in the forwarding rules.
|
|
5504
|
+
* <p>Listener forwarding method. Valid values: WRR (weighted round-robin), LEAST_CONN (least connections), and IP_HASH (IP address hash).<br>They indicate weighted round-robin and least connection respectively. Default is WRR.<br>Usage scenario: Suitable for TCP/UDP/TCP_SSL/QUIC listeners. The balancing method for Layer-7 listeners should be modified in the forwarding rules.</p>
|
|
5459
5505
|
* @type {string || null}
|
|
5460
5506
|
*/
|
|
5461
5507
|
this.Scheduler = null;
|
|
5462
5508
|
|
|
5463
5509
|
/**
|
|
5464
|
-
* Whether to enable
|
|
5510
|
+
* <p>Whether to enable SNI feature. This parameter applies only to HTTPS listeners. Default is 0 (disabled) or 1 (enable). Note: You can enable SNI for listeners without SNI. SNI cannot be disabled for listeners with SNI enabled.</p>
|
|
5465
5511
|
* @type {number || null}
|
|
5466
5512
|
*/
|
|
5467
5513
|
this.SniSwitch = null;
|
|
5468
5514
|
|
|
5469
5515
|
/**
|
|
5470
|
-
*
|
|
5516
|
+
* <p>Backend target type. NODE indicates binding to a general node. TARGETGROUP indicates binding to a target group.</p>
|
|
5471
5517
|
* @type {string || null}
|
|
5472
5518
|
*/
|
|
5473
5519
|
this.TargetType = null;
|
|
5474
5520
|
|
|
5475
5521
|
/**
|
|
5476
|
-
* Whether to enable
|
|
5477
|
-
The default value is 0, indicating disabled, and 1 indicates enabled.
|
|
5478
|
-
|
|
5479
|
-
Enable this feature with caution if the maximum number of connections is limited for real servers. This feature is in beta testing. To use it, submit a [beta testing application](https://intl.cloud.tencent.com/apply/p/tsodp6qm21?from_cn_redirect=1).
|
|
5522
|
+
* <p>Whether to enable long connections. This parameter is applicable only to HTTP/HTTPS listeners.<br>The default value 0 means disabled, and 1 means enable.<br>If the backend service has a connection limit, enable with caution. This feature is currently in internal testing. If needed, submit a <a href="https://www.tencentcloud.com/apply/p/tsodp6qm21?from_cn_redirect=1">beta application</a>.</p>
|
|
5480
5523
|
* @type {number || null}
|
|
5481
5524
|
*/
|
|
5482
5525
|
this.KeepaliveEnable = null;
|
|
5483
5526
|
|
|
5484
5527
|
/**
|
|
5485
|
-
*
|
|
5528
|
+
* <p>Rescheduling feature, which provides a switch for scaling out the backend service. If the switch is toggled on, rescheduling is triggered when the backend service is unbound. This parameter is applicable only to TCP/UDP listeners.</p>
|
|
5486
5529
|
* @type {boolean || null}
|
|
5487
5530
|
*/
|
|
5488
5531
|
this.DeregisterTargetRst = null;
|
|
5489
5532
|
|
|
5490
5533
|
/**
|
|
5491
|
-
* Session persistence type. NORMAL
|
|
5492
|
-
Use cases: This applies to TCP/UDP/TCP_SSL/QUIC listeners.
|
|
5493
|
-
|
|
5494
|
-
Default value: NORMAL.
|
|
5534
|
+
* <p>Session persistence type. NORMAL means the default session persistence type. QUIC_CID refers to maintaining the session based on Quic Connection ID. QUIC_CID supports only UDP Protocol.<br>Usage scenario: Applicable to TCP/UDP/TCP_SSL/QUIC listeners.<br>Default is NORMAL.</p>
|
|
5495
5535
|
* @type {string || null}
|
|
5496
5536
|
*/
|
|
5497
5537
|
this.SessionType = null;
|
|
5498
5538
|
|
|
5499
5539
|
/**
|
|
5500
|
-
* Certificate information.
|
|
5540
|
+
* <p>Certificate information. Multiple server certificates with different algorithm types can be imported at the same time. This parameter is applicable only to HTTPS listeners with SNI feature disabled. This parameter and Certificate cannot be specified at the same time.</p>
|
|
5501
5541
|
* @type {MultiCertInfo || null}
|
|
5502
5542
|
*/
|
|
5503
5543
|
this.MultiCertInfo = null;
|
|
5504
5544
|
|
|
5505
5545
|
/**
|
|
5506
|
-
* Maximum number of concurrent connections at the listener level. This parameter is supported only for LCU-supported instances with TCP/UDP/TCP_SSL/QUIC listeners currently. Value range: 1 to the maximum number of concurrent connections for the instance specification. -1 indicates
|
|
5507
|
-
|
|
5508
|
-
Default value: -1, which indicates no limit.
|
|
5546
|
+
* <p>Maximum number of concurrent connections at the listener level. This parameter is supported only for LCU-supported instances with TCP/UDP/TCP_SSL/QUIC listeners currently. Value range: 1 to the maximum number of concurrent connections for the instance specification. -1 indicates no speed limit on the concurrent connections at the listener level. Classic network instances do not support this parameter.<br>Default value is -1, which means unlimited speed.</p>
|
|
5509
5547
|
* @type {number || null}
|
|
5510
5548
|
*/
|
|
5511
5549
|
this.MaxConn = null;
|
|
5512
5550
|
|
|
5513
5551
|
/**
|
|
5514
|
-
* Maximum number of new connections at the listener level. This parameter is supported only for LCU-supported instances with TCP/UDP/TCP_SSL/QUIC listeners currently. Value range: 1 to the maximum number of new connections for the instance specification. -1 indicates
|
|
5515
|
-
|
|
5516
|
-
Default value: -1, which indicates no limit.
|
|
5552
|
+
* <p>Maximum number of new connections at the listener level. This parameter is supported only for LCU-supported instances with TCP/UDP/TCP_SSL/QUIC listeners currently. Value range: 1 to the maximum number of new connections for the instance specification. -1 indicates no speed limit on new connections at the listener level. Classic network instances do not support this parameter.<br>Default is -1, which means unlimited speed.</p>
|
|
5517
5553
|
* @type {number || null}
|
|
5518
5554
|
*/
|
|
5519
5555
|
this.MaxCps = null;
|
|
5520
5556
|
|
|
5521
5557
|
/**
|
|
5522
|
-
*
|
|
5558
|
+
* <p>Idle connection timeout. This parameter applies only to TCP/UDP listeners. To set a value exceeding 1980, <a href="https://console.cloud.tencent.com/workorder/category">submit a ticket for application</a>. The maximum value can be 3600.</p><p>Range of values: [10, 1980]</p><p>Unit: seconds</p><p>Default value: 900</p><p>Default value for TCP listeners: 900. Default value for UDP listeners: 300. Value range: 10–900 for shared instances and dedicated instances and 10–1980 for LCU-supported instances.</p>
|
|
5523
5559
|
* @type {number || null}
|
|
5524
5560
|
*/
|
|
5525
5561
|
this.IdleConnectTimeout = null;
|
|
5526
5562
|
|
|
5527
5563
|
/**
|
|
5528
|
-
*
|
|
5564
|
+
* <p>Whether TCP_SSL and QUIC support PP</p>
|
|
5529
5565
|
* @type {boolean || null}
|
|
5530
5566
|
*/
|
|
5531
5567
|
this.ProxyProtocol = null;
|
|
5532
5568
|
|
|
5533
5569
|
/**
|
|
5534
|
-
* Whether SNAT (source IP replacement) is enabled
|
|
5570
|
+
* <p>Whether SNAT (source IP replacement) is enabled, True (enabled), False (disabled). Disabled by default. Note: When SnatEnable is enabled, the client source IP will be replaced. At this point, the <code>Pass through client source IP</code> option is disabled, and vice versa.</p>
|
|
5535
5571
|
* @type {boolean || null}
|
|
5536
5572
|
*/
|
|
5537
5573
|
this.SnatEnable = null;
|
|
5538
5574
|
|
|
5539
5575
|
/**
|
|
5540
|
-
* Data compression mode
|
|
5576
|
+
* <p>Data compression mode</p><p>Enumeration value:</p><ul><li>transparent: Transparent mode (default value)</li><li>compatibility: Compatible mode (enable gzip compression configuration)</li></ul>
|
|
5541
5577
|
* @type {string || null}
|
|
5542
5578
|
*/
|
|
5543
5579
|
this.DataCompressMode = null;
|
|
5544
5580
|
|
|
5545
5581
|
/**
|
|
5546
|
-
*
|
|
5582
|
+
* <p>Rescheduling feature, which provides a switch for changing the weight to 0. If the switch is toggled on, rescheduling is triggered when the weight of a real server is changed to 0. This parameter is applicable only to TCP/UDP listeners.</p>
|
|
5547
5583
|
* @type {boolean || null}
|
|
5548
5584
|
*/
|
|
5549
5585
|
this.RescheduleTargetZeroWeight = null;
|
|
5550
5586
|
|
|
5551
5587
|
/**
|
|
5552
|
-
*
|
|
5588
|
+
* <p>Rescheduling feature, which provides a switch for detecting health check exceptions. If the switch is toggled on, rescheduling is triggered when the real server health check fails. This parameter is applicable only to TCP/UDP listeners.</p>
|
|
5553
5589
|
* @type {boolean || null}
|
|
5554
5590
|
*/
|
|
5555
5591
|
this.RescheduleUnhealthy = null;
|
|
5556
5592
|
|
|
5557
5593
|
/**
|
|
5558
|
-
*
|
|
5594
|
+
* <p>Rescheduling feature, which provides a switch for scaling out real servers. If the switch is toggled on, rescheduling is triggered when the number of real servers increases or decreases. This parameter is applicable only to TCP/UDP listeners.</p>
|
|
5559
5595
|
* @type {boolean || null}
|
|
5560
5596
|
*/
|
|
5561
5597
|
this.RescheduleExpandTarget = null;
|
|
5562
5598
|
|
|
5563
5599
|
/**
|
|
5564
|
-
*
|
|
5600
|
+
* <p>Rescheduling trigger start time. Value range: 0–3600. Unit: s. This parameter is applicable only to TCP/UDP listeners.</p>
|
|
5565
5601
|
* @type {number || null}
|
|
5566
5602
|
*/
|
|
5567
5603
|
this.RescheduleStartTime = null;
|
|
5568
5604
|
|
|
5569
5605
|
/**
|
|
5570
|
-
* Rescheduling trigger duration.
|
|
5606
|
+
* <p>Rescheduling trigger duration. Value range: 0–3600. Unit: s. This parameter is applicable only to TCP/UDP listeners.</p>
|
|
5571
5607
|
* @type {number || null}
|
|
5572
5608
|
*/
|
|
5573
5609
|
this.RescheduleInterval = null;
|
|
@@ -5707,7 +5743,7 @@ class RegisterTargetsRequest extends AbstractModel {
|
|
|
5707
5743
|
this.Targets = null;
|
|
5708
5744
|
|
|
5709
5745
|
/**
|
|
5710
|
-
* Specifies the forwarding rule ID, which can be obtained through the DescribeListeners
|
|
5746
|
+
* Specifies the forwarding rule ID, which can be obtained through the [DescribeListeners]((https://www.tencentcloud.com/document/product/214/30686?from_cn_redirect=1)) API. you must provide this parameter or either Domain or Url when binding a backend service to a layer-7 forwarding rule.
|
|
5711
5747
|
* @type {string || null}
|
|
5712
5748
|
*/
|
|
5713
5749
|
this.LocationId = null;
|
|
@@ -6020,6 +6056,41 @@ class DescribeCustomizedConfigAssociateListRequest extends AbstractModel {
|
|
|
6020
6056
|
}
|
|
6021
6057
|
}
|
|
6022
6058
|
|
|
6059
|
+
/**
|
|
6060
|
+
* RenewLoadBalancers response structure.
|
|
6061
|
+
* @class
|
|
6062
|
+
*/
|
|
6063
|
+
class RenewLoadBalancersResponse extends AbstractModel {
|
|
6064
|
+
constructor(){
|
|
6065
|
+
super();
|
|
6066
|
+
|
|
6067
|
+
/**
|
|
6068
|
+
* Order number.
|
|
6069
|
+
* @type {string || null}
|
|
6070
|
+
*/
|
|
6071
|
+
this.DealName = null;
|
|
6072
|
+
|
|
6073
|
+
/**
|
|
6074
|
+
* 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.
|
|
6075
|
+
* @type {string || null}
|
|
6076
|
+
*/
|
|
6077
|
+
this.RequestId = null;
|
|
6078
|
+
|
|
6079
|
+
}
|
|
6080
|
+
|
|
6081
|
+
/**
|
|
6082
|
+
* @private
|
|
6083
|
+
*/
|
|
6084
|
+
deserialize(params) {
|
|
6085
|
+
if (!params) {
|
|
6086
|
+
return;
|
|
6087
|
+
}
|
|
6088
|
+
this.DealName = 'DealName' in params ? params.DealName : null;
|
|
6089
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6090
|
+
|
|
6091
|
+
}
|
|
6092
|
+
}
|
|
6093
|
+
|
|
6023
6094
|
/**
|
|
6024
6095
|
* ModifyTargetPort response structure.
|
|
6025
6096
|
* @class
|
|
@@ -6109,7 +6180,7 @@ class DescribeLoadBalancersDetailRequest extends AbstractModel {
|
|
|
6109
6180
|
this.Offset = null;
|
|
6110
6181
|
|
|
6111
6182
|
/**
|
|
6112
|
-
* List of fields. Only fields specified will be returned. If it
|
|
6183
|
+
* List of fields. Only fields specified will be returned. If it's left blank, `null` is returned. The fields `LoadBalancerId` and `LoadBalancerName` are added by default. For details about fields, see [LoadBalancerDetail](https://intl.cloud.tencent.com/document/api/214/30694?from_cn_redirect=1#LoadBalancerDetail)
|
|
6113
6184
|
* @type {Array.<string> || null}
|
|
6114
6185
|
*/
|
|
6115
6186
|
this.Fields = null;
|
|
@@ -6598,6 +6669,67 @@ class ManualRewriteResponse extends AbstractModel {
|
|
|
6598
6669
|
}
|
|
6599
6670
|
}
|
|
6600
6671
|
|
|
6672
|
+
/**
|
|
6673
|
+
* It is used for the health check status of the target group backend RS.
|
|
6674
|
+
* @class
|
|
6675
|
+
*/
|
|
6676
|
+
class TargetGroupInstanceStatus extends AbstractModel {
|
|
6677
|
+
constructor(){
|
|
6678
|
+
super();
|
|
6679
|
+
|
|
6680
|
+
/**
|
|
6681
|
+
* IP of backend RS
|
|
6682
|
+
* @type {string || null}
|
|
6683
|
+
*/
|
|
6684
|
+
this.InstanceIp = null;
|
|
6685
|
+
|
|
6686
|
+
/**
|
|
6687
|
+
* Health check status. Parameter values and meanings are as follows:
|
|
6688
|
+
● on: Indicates checking.
|
|
6689
|
+
● off: means health check disabled.
|
|
6690
|
+
● Health: Indicates healthy.
|
|
6691
|
+
● unhealth: indicates being abnormal.
|
|
6692
|
+
* @type {string || null}
|
|
6693
|
+
*/
|
|
6694
|
+
this.Status = null;
|
|
6695
|
+
|
|
6696
|
+
/**
|
|
6697
|
+
* Instance ID.
|
|
6698
|
+
* @type {string || null}
|
|
6699
|
+
*/
|
|
6700
|
+
this.InstanceId = null;
|
|
6701
|
+
|
|
6702
|
+
/**
|
|
6703
|
+
* Port.
|
|
6704
|
+
* @type {number || null}
|
|
6705
|
+
*/
|
|
6706
|
+
this.Port = null;
|
|
6707
|
+
|
|
6708
|
+
/**
|
|
6709
|
+
* NIC ID
|
|
6710
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6711
|
+
* @type {string || null}
|
|
6712
|
+
*/
|
|
6713
|
+
this.EniId = null;
|
|
6714
|
+
|
|
6715
|
+
}
|
|
6716
|
+
|
|
6717
|
+
/**
|
|
6718
|
+
* @private
|
|
6719
|
+
*/
|
|
6720
|
+
deserialize(params) {
|
|
6721
|
+
if (!params) {
|
|
6722
|
+
return;
|
|
6723
|
+
}
|
|
6724
|
+
this.InstanceIp = 'InstanceIp' in params ? params.InstanceIp : null;
|
|
6725
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
6726
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
6727
|
+
this.Port = 'Port' in params ? params.Port : null;
|
|
6728
|
+
this.EniId = 'EniId' in params ? params.EniId : null;
|
|
6729
|
+
|
|
6730
|
+
}
|
|
6731
|
+
}
|
|
6732
|
+
|
|
6601
6733
|
/**
|
|
6602
6734
|
* ModifyBlockIPList request structure.
|
|
6603
6735
|
* @class
|
|
@@ -7056,7 +7188,7 @@ class DescribeListenersRequest extends AbstractModel {
|
|
|
7056
7188
|
this.ListenerIds = null;
|
|
7057
7189
|
|
|
7058
7190
|
/**
|
|
7059
|
-
* Type of the listener protocols to be queried. Values: TCP`, `UDP`, `HTTP`, `HTTPS`, `TCP_SSL`
|
|
7191
|
+
* Type of the listener protocols to be queried. Values: `TCP`, `UDP`, `HTTP`, `HTTPS`, `TCP_SSL` and `QUIC`.
|
|
7060
7192
|
* @type {string || null}
|
|
7061
7193
|
*/
|
|
7062
7194
|
this.Protocol = null;
|
|
@@ -7190,6 +7322,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
7190
7322
|
*/
|
|
7191
7323
|
this.Tag = null;
|
|
7192
7324
|
|
|
7325
|
+
/**
|
|
7326
|
+
* The availability zone where the backend service resides, such as ap-guangzhou-1
|
|
7327
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7328
|
+
* @type {string || null}
|
|
7329
|
+
*/
|
|
7330
|
+
this.Zone = null;
|
|
7331
|
+
|
|
7193
7332
|
}
|
|
7194
7333
|
|
|
7195
7334
|
/**
|
|
@@ -7209,6 +7348,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
7209
7348
|
this.RegisteredTime = 'RegisteredTime' in params ? params.RegisteredTime : null;
|
|
7210
7349
|
this.EniId = 'EniId' in params ? params.EniId : null;
|
|
7211
7350
|
this.Tag = 'Tag' in params ? params.Tag : null;
|
|
7351
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
7212
7352
|
|
|
7213
7353
|
}
|
|
7214
7354
|
}
|
|
@@ -7608,6 +7748,46 @@ class DescribeCustomizedConfigAssociateListResponse extends AbstractModel {
|
|
|
7608
7748
|
}
|
|
7609
7749
|
}
|
|
7610
7750
|
|
|
7751
|
+
/**
|
|
7752
|
+
* RenewLoadBalancers request structure.
|
|
7753
|
+
* @class
|
|
7754
|
+
*/
|
|
7755
|
+
class RenewLoadBalancersRequest extends AbstractModel {
|
|
7756
|
+
constructor(){
|
|
7757
|
+
super();
|
|
7758
|
+
|
|
7759
|
+
/**
|
|
7760
|
+
* Unique ID array of the CLB instance, supports up to 20.
|
|
7761
|
+
* @type {Array.<string> || null}
|
|
7762
|
+
*/
|
|
7763
|
+
this.LoadBalancerIds = null;
|
|
7764
|
+
|
|
7765
|
+
/**
|
|
7766
|
+
* Prepaid billing attributes of the CLB instance.
|
|
7767
|
+
* @type {LBChargePrepaid || null}
|
|
7768
|
+
*/
|
|
7769
|
+
this.LBChargePrepaid = null;
|
|
7770
|
+
|
|
7771
|
+
}
|
|
7772
|
+
|
|
7773
|
+
/**
|
|
7774
|
+
* @private
|
|
7775
|
+
*/
|
|
7776
|
+
deserialize(params) {
|
|
7777
|
+
if (!params) {
|
|
7778
|
+
return;
|
|
7779
|
+
}
|
|
7780
|
+
this.LoadBalancerIds = 'LoadBalancerIds' in params ? params.LoadBalancerIds : null;
|
|
7781
|
+
|
|
7782
|
+
if (params.LBChargePrepaid) {
|
|
7783
|
+
let obj = new LBChargePrepaid();
|
|
7784
|
+
obj.deserialize(params.LBChargePrepaid)
|
|
7785
|
+
this.LBChargePrepaid = obj;
|
|
7786
|
+
}
|
|
7787
|
+
|
|
7788
|
+
}
|
|
7789
|
+
}
|
|
7790
|
+
|
|
7611
7791
|
/**
|
|
7612
7792
|
* SetCustomizedConfigForLoadBalancer request structure.
|
|
7613
7793
|
* @class
|
|
@@ -7635,7 +7815,7 @@ class SetCustomizedConfigForLoadBalancerRequest extends AbstractModel {
|
|
|
7635
7815
|
|
|
7636
7816
|
/**
|
|
7637
7817
|
* Specifies the personalized configuration content. this field is required when creating or modifying custom configuration.
|
|
7638
|
-
Specifies specific restrictions. view layer-7 personalized configuration
|
|
7818
|
+
Specifies specific restrictions. view [layer-7 personalized configuration](https://www.tencentcloud.com/document/product/214/15171?from_cn_redirect=1).
|
|
7639
7819
|
* @type {string || null}
|
|
7640
7820
|
*/
|
|
7641
7821
|
this.ConfigContent = null;
|
|
@@ -7680,7 +7860,7 @@ class CreateListenerResponse extends AbstractModel {
|
|
|
7680
7860
|
super();
|
|
7681
7861
|
|
|
7682
7862
|
/**
|
|
7683
|
-
* Array of the unique IDs of created listeners
|
|
7863
|
+
* <p>Array of the unique IDs of created listeners.</p>
|
|
7684
7864
|
* @type {Array.<string> || null}
|
|
7685
7865
|
*/
|
|
7686
7866
|
this.ListenerIds = null;
|
|
@@ -7715,7 +7895,7 @@ class CreateTargetGroupResponse extends AbstractModel {
|
|
|
7715
7895
|
super();
|
|
7716
7896
|
|
|
7717
7897
|
/**
|
|
7718
|
-
*
|
|
7898
|
+
* <p>Generated id after target group creation</p>
|
|
7719
7899
|
* @type {string || null}
|
|
7720
7900
|
*/
|
|
7721
7901
|
this.TargetGroupId = null;
|
|
@@ -8400,7 +8580,7 @@ class DescribeTargetHealthResponse extends AbstractModel {
|
|
|
8400
8580
|
super();
|
|
8401
8581
|
|
|
8402
8582
|
/**
|
|
8403
|
-
*
|
|
8583
|
+
* <p>CLB list.</p>
|
|
8404
8584
|
* @type {Array.<LoadBalancerHealth> || null}
|
|
8405
8585
|
*/
|
|
8406
8586
|
this.LoadBalancers = null;
|
|
@@ -8492,94 +8672,91 @@ class CreateTargetGroupRequest extends AbstractModel {
|
|
|
8492
8672
|
super();
|
|
8493
8673
|
|
|
8494
8674
|
/**
|
|
8495
|
-
* Target group name (
|
|
8675
|
+
* <p>Target group name. Naming rule: 1-80 English letters, Chinese characters and other internationally compatible language characters, digits, connecting line "-", underscore "_" and other common characters (Unicode supplementary characters such as emoji and rare Chinese characters are forbidden).</p>
|
|
8496
8676
|
* @type {string || null}
|
|
8497
8677
|
*/
|
|
8498
8678
|
this.TargetGroupName = null;
|
|
8499
8679
|
|
|
8500
8680
|
/**
|
|
8501
|
-
*
|
|
8681
|
+
* <p>The vpcId attribute of the target group. Leave it blank to use the default VPC.</p>
|
|
8502
8682
|
* @type {string || null}
|
|
8503
8683
|
*/
|
|
8504
8684
|
this.VpcId = null;
|
|
8505
8685
|
|
|
8506
8686
|
/**
|
|
8507
|
-
*
|
|
8508
|
-
|
|
8687
|
+
* <p>Default port of target group. Default port can be used when servers are added subsequently. Full listen target group does not support this parameter. For non-full listen target group, either Port or port in TargetGroupInstances.N is required.</p>
|
|
8509
8688
|
* @type {number || null}
|
|
8510
8689
|
*/
|
|
8511
8690
|
this.Port = null;
|
|
8512
8691
|
|
|
8513
8692
|
/**
|
|
8514
|
-
*
|
|
8693
|
+
* <p>The target group supports up to 50 real servers bound to it.</p>
|
|
8515
8694
|
* @type {Array.<TargetGroupInstance> || null}
|
|
8516
8695
|
*/
|
|
8517
8696
|
this.TargetGroupInstances = null;
|
|
8518
8697
|
|
|
8519
8698
|
/**
|
|
8520
|
-
* Target
|
|
8699
|
+
* <p>Target Group Type, currently supported v1 (legacy version target group), v2 (new version target group), defaults to v1 (legacy version target group).</p>
|
|
8521
8700
|
* @type {string || null}
|
|
8522
8701
|
*/
|
|
8523
8702
|
this.Type = null;
|
|
8524
8703
|
|
|
8525
8704
|
/**
|
|
8526
|
-
* Backend forwarding protocol of the target group.
|
|
8705
|
+
* <p>Backend forwarding protocol of the target group. This field is required for the new version target group v2. Currently supports TCP, UDP, HTTP, HTTPS, GRPC.</p>
|
|
8527
8706
|
* @type {string || null}
|
|
8528
8707
|
*/
|
|
8529
8708
|
this.Protocol = null;
|
|
8530
8709
|
|
|
8531
8710
|
/**
|
|
8532
|
-
* Health check
|
|
8711
|
+
* <p>Health check.</p>
|
|
8533
8712
|
* @type {TargetGroupHealthCheck || null}
|
|
8534
8713
|
*/
|
|
8535
8714
|
this.HealthCheck = null;
|
|
8536
8715
|
|
|
8537
8716
|
/**
|
|
8538
|
-
* Scheduling algorithm.
|
|
8539
|
-
<ur><li>WRR: weighted round-robin.</li><li>LEAST_CONN: LEAST connection.</li><li>IP_HASH: based on IP HASH.</li><li>default is WRR.</li></ur>.
|
|
8717
|
+
* <p>Scheduling algorithm. This parameter is valid only for new version V2 target groups with backend forwarding protocol (HTTP|HTTPS|GRPC). Available values:</p><li>WRR: weighted round-robin.</li><li>LEAST_CONN: least connection.</li><li>IP_HASH: based on IP hash.</li><li>Default WRR.</li>
|
|
8540
8718
|
* @type {string || null}
|
|
8541
8719
|
*/
|
|
8542
8720
|
this.ScheduleAlgorithm = null;
|
|
8543
8721
|
|
|
8544
8722
|
/**
|
|
8545
|
-
* Tag
|
|
8723
|
+
* <p>Tag.</p>
|
|
8546
8724
|
* @type {Array.<TagInfo> || null}
|
|
8547
8725
|
*/
|
|
8548
8726
|
this.Tags = null;
|
|
8549
8727
|
|
|
8550
8728
|
/**
|
|
8551
|
-
*
|
|
8552
|
-
<ul><li>Value ranges from 0 to 100.</li><li>after setting this value, when adding a backend service to the target group, if the backend service does not set Weight separately, use the default Weight here.</li><li>Weight parameter settings not supported for v1 target group type.</li></ul>.
|
|
8729
|
+
* <p>Default weight of the backend service, where:</p><ul><li>Value ranges from 0 to 100.</li><li>After setting this value, when adding a backend service to the target group, if the backend service does not set the weight separately, use the default weight here.</li><li>Weight parameter settings not supported for v1 target group type.</li></ul>
|
|
8553
8730
|
* @type {number || null}
|
|
8554
8731
|
*/
|
|
8555
8732
|
this.Weight = null;
|
|
8556
8733
|
|
|
8557
8734
|
/**
|
|
8558
|
-
* Full listen target group flag.
|
|
8735
|
+
* <p>Full listen target group flag. true: yes, false: no. Only target groups of the new version V2 support this parameter.</p>
|
|
8559
8736
|
* @type {boolean || null}
|
|
8560
8737
|
*/
|
|
8561
8738
|
this.FullListenSwitch = null;
|
|
8562
8739
|
|
|
8563
8740
|
/**
|
|
8564
|
-
*
|
|
8741
|
+
* <p>Whether to enable long connections. This parameter is applicable only to HTTP/HTTPS target groups. 0: off; 1: on. Off by default.</p>
|
|
8565
8742
|
* @type {boolean || null}
|
|
8566
8743
|
*/
|
|
8567
8744
|
this.KeepaliveEnable = null;
|
|
8568
8745
|
|
|
8569
8746
|
/**
|
|
8570
|
-
* Session
|
|
8747
|
+
* <p>Session persistence time, unit: second. Available values: 30-3600, default 0, disabled. This parameter is supported only for target groups with HTTP/HTTPS/GRPC backend forwarding protocol in the new version V2.</p>
|
|
8571
8748
|
* @type {number || null}
|
|
8572
8749
|
*/
|
|
8573
8750
|
this.SessionExpireTime = null;
|
|
8574
8751
|
|
|
8575
8752
|
/**
|
|
8576
|
-
* IP version type
|
|
8753
|
+
* <p>IP version type.</p>
|
|
8577
8754
|
* @type {string || null}
|
|
8578
8755
|
*/
|
|
8579
8756
|
this.IpVersion = null;
|
|
8580
8757
|
|
|
8581
8758
|
/**
|
|
8582
|
-
*
|
|
8759
|
+
* <p>Whether SNAT (source IP replacement) is enabled, True (enabled), False (disabled). Disabled by default. Note: When SnatEnable is enabled, the client source IP will be replaced. At this point, the <code>Pass through client source IP</code> option is disabled, and vice versa.</p>
|
|
8583
8760
|
* @type {boolean || null}
|
|
8584
8761
|
*/
|
|
8585
8762
|
this.SnatEnable = null;
|
|
@@ -8770,184 +8947,175 @@ class CreateListenerRequest extends AbstractModel {
|
|
|
8770
8947
|
super();
|
|
8771
8948
|
|
|
8772
8949
|
/**
|
|
8773
|
-
* ID of the CLB instance. You can call the
|
|
8950
|
+
* <p>ID of the Cloud Load Balancer (CLB) instance. You can call the <a href="https://www.tencentcloud.com/document/product/214/30685?from_cn_redirect=1">DescribeLoadBalancers</a> API to obtain the ID.</p>
|
|
8774
8951
|
* @type {string || null}
|
|
8775
8952
|
*/
|
|
8776
8953
|
this.LoadBalancerId = null;
|
|
8777
8954
|
|
|
8778
8955
|
/**
|
|
8779
|
-
*
|
|
8780
|
-
Port range: 1–65535.
|
|
8956
|
+
* <p>Which ports to create listeners on, each port maps to a new listener.<br>Port range: 1–65535</p>
|
|
8781
8957
|
* @type {Array.<number> || null}
|
|
8782
8958
|
*/
|
|
8783
8959
|
this.Ports = null;
|
|
8784
8960
|
|
|
8785
8961
|
/**
|
|
8786
|
-
* Listener protocol. Valid values: TCP, UDP, HTTP, HTTPS, TCP_SSL, and QUIC
|
|
8962
|
+
* <p>Listener protocol. Valid values: TCP, UDP, HTTP, HTTPS, TCP_SSL, and QUIC.</p>
|
|
8787
8963
|
* @type {string || null}
|
|
8788
8964
|
*/
|
|
8789
8965
|
this.Protocol = null;
|
|
8790
8966
|
|
|
8791
8967
|
/**
|
|
8792
|
-
* List of names
|
|
8968
|
+
* <p>List of listener names to be created. Names correspond sequentially to Ports. If naming is not immediately necessary, this parameter need not be provided. Naming rule: 1-80 characters including English letters, Chinese characters, digits, connecting line "-", underscore "_" and other common characters (Unicode supplementary characters such as emoji and rare Chinese characters are forbidden).</p>
|
|
8793
8969
|
* @type {Array.<string> || null}
|
|
8794
8970
|
*/
|
|
8795
8971
|
this.ListenerNames = null;
|
|
8796
8972
|
|
|
8797
8973
|
/**
|
|
8798
|
-
* Health check
|
|
8974
|
+
* <p>Health check parameters. This parameter is applicable only to TCP/UDP/TCP_SSL/QUIC listeners.</p>
|
|
8799
8975
|
* @type {HealthCheck || null}
|
|
8800
8976
|
*/
|
|
8801
8977
|
this.HealthCheck = null;
|
|
8802
8978
|
|
|
8803
8979
|
/**
|
|
8804
|
-
* Certificate-related information. The
|
|
8805
|
-
<li>This parameter applies only to TCP_SSL listeners and HTTPS listeners with the SNI feature disabled.</li>
|
|
8806
|
-
<li>Either this parameter or the MultiCertInfo parameter should be specified when you create a TCP_SSL listener or an HTTPS listener with the SNI feature disabled. You cannot specify them at the same time.</li>
|
|
8980
|
+
* <p>Certificate-related information. The limits are as follows:</p><li>This parameter is applicable only to TCP_SSL listeners and HTTPS listeners with SNI feature disabled.</li><li>When creating a TCP_SSL listener or an HTTPS listener with SNI feature disabled, a minimum of this parameter or MultiCertInfo must be specified, but they cannot be specified at the same time.</li>
|
|
8807
8981
|
* @type {CertificateInput || null}
|
|
8808
8982
|
*/
|
|
8809
8983
|
this.Certificate = null;
|
|
8810
8984
|
|
|
8811
8985
|
/**
|
|
8812
|
-
* Session persistence duration, in seconds. Value range: 30–3600. Default value: 0, indicating that session persistence is not enabled by default. This parameter applies only to TCP and UDP listeners
|
|
8986
|
+
* <p>Session persistence duration, in seconds. Value range: 30–3600. Default value: 0, indicating that session persistence is not enabled by default. This parameter applies only to TCP and UDP listeners.</p>
|
|
8813
8987
|
* @type {number || null}
|
|
8814
8988
|
*/
|
|
8815
8989
|
this.SessionExpireTime = null;
|
|
8816
8990
|
|
|
8817
8991
|
/**
|
|
8818
|
-
* Listener forwarding mode.
|
|
8819
|
-
Default value: WRR. This parameter applies only to TCP, UDP, TCP_SSL, and QUIC listeners.
|
|
8992
|
+
* <p>Listener forwarding mode. Available values: WRR (weighted round-robin), LEAST_CONN (least connections).<br>Default WRR. This parameter is applicable only to TCP/UDP/TCP_SSL/QUIC listeners.</p>
|
|
8820
8993
|
* @type {string || null}
|
|
8821
8994
|
*/
|
|
8822
8995
|
this.Scheduler = null;
|
|
8823
8996
|
|
|
8824
8997
|
/**
|
|
8825
|
-
* Whether to enable
|
|
8998
|
+
* <p>Whether to enable SNI feature. This parameter applies only to HTTPS listeners. 0: not enabled, 1: enable.</p>
|
|
8826
8999
|
* @type {number || null}
|
|
8827
9000
|
*/
|
|
8828
9001
|
this.SniSwitch = null;
|
|
8829
9002
|
|
|
8830
9003
|
/**
|
|
8831
|
-
*
|
|
9004
|
+
* <p>Backend target type. NODE indicates binding to a general node. TARGETGROUP indicates binding to a target group. This parameter is applicable only to TCP/UDP listeners. For layer-7 (HTTP/HTTPS) listeners, configure it in forwarding rules.</p>
|
|
8832
9005
|
* @type {string || null}
|
|
8833
9006
|
*/
|
|
8834
9007
|
this.TargetType = null;
|
|
8835
9008
|
|
|
8836
9009
|
/**
|
|
8837
|
-
* Session persistence type.
|
|
9010
|
+
* <p>Session persistence type. Leaving it blank or passing NORMAL means the default session persistence type. QUIC_CID refers to maintaining the session based on QUIC Connection ID. QUIC_CID supports only UDP Protocol. This parameter is applicable only to TCP/UDP listeners. Layer-7 (HTTP/HTTPS) listeners should set this in forwarding rules. (If QUIC_CID is selected, Protocol must be UDP, Scheduler must be WRR, and it supports only ipv4 concurrently).</p>
|
|
8838
9011
|
* @type {string || null}
|
|
8839
9012
|
*/
|
|
8840
9013
|
this.SessionType = null;
|
|
8841
9014
|
|
|
8842
9015
|
/**
|
|
8843
|
-
* Whether to enable
|
|
8844
|
-
Enable this feature with caution if the maximum number of connections is limited for real servers. This feature is in beta testing. To use it, submit a [beta testing application](https://intl.cloud.tencent.com/apply/p/tsodp6qm21?from_cn_redirect=1).
|
|
9016
|
+
* <p>Whether to enable long connections. This parameter is applicable only to HTTP/HTTPS listeners. 0: off by default; 1: enable. <br>If the backend service has a connection limit, enable with caution. This feature is currently in internal testing. If you need to use it, submit a <a href="https://www.tencentcloud.com/apply/p/tsodp6qm21?from_cn_redirect=1">beta application</a>.</p>
|
|
8845
9017
|
* @type {number || null}
|
|
8846
9018
|
*/
|
|
8847
9019
|
this.KeepaliveEnable = null;
|
|
8848
9020
|
|
|
8849
9021
|
/**
|
|
8850
|
-
* End port. This parameter is required for creating a listener with a port range. In this case, the input parameter Ports allows only one value to indicate the start port. To experience the port range feature, [submit a ticket for application](https://console.cloud.tencent.com/workorder/category)
|
|
9022
|
+
* <p>End port. This parameter is required for creating a listener with a port range. In this case, the input parameter Ports allows only one value to indicate the start port. To experience the port range feature, [submit a ticket for application](https://console.cloud.tencent.com/workorder/category).</p>
|
|
8851
9023
|
* @type {number || null}
|
|
8852
9024
|
*/
|
|
8853
9025
|
this.EndPort = null;
|
|
8854
9026
|
|
|
8855
9027
|
/**
|
|
8856
|
-
*
|
|
9028
|
+
* <p>Rescheduling feature, which provides a switch for scaling out the backend service. If the switch is toggled on, rescheduling is triggered when the backend service is unbound. This parameter is applicable only to TCP/UDP listeners.</p>
|
|
8857
9029
|
* @type {boolean || null}
|
|
8858
9030
|
*/
|
|
8859
9031
|
this.DeregisterTargetRst = null;
|
|
8860
9032
|
|
|
8861
9033
|
/**
|
|
8862
|
-
* Certificate information.
|
|
8863
|
-
<li>This parameter applies only to TCP_SSL listeners and HTTPS listeners with the SNI feature disabled.</li>
|
|
8864
|
-
<li>Either this parameter or the Certificate parameter should be specified when you create a TCP_SSL listener or an HTTPS listener with the SNI feature disabled. You cannot specify them at the same time.</li>
|
|
9034
|
+
* <p>Certificate information. Multiple server certificates with different algorithm types can be imported at the same time. Parameter constraints are as follows:</p><li>This parameter is applicable only to TCP_SSL listeners and HTTPS listeners with SNI feature disabled.</li><li>When creating a TCP_SSL listener or an HTTPS listener with SNI feature disabled, a minimum of this parameter or Certificate must be specified, but they cannot be specified at the same time.</li>
|
|
8865
9035
|
* @type {MultiCertInfo || null}
|
|
8866
9036
|
*/
|
|
8867
9037
|
this.MultiCertInfo = null;
|
|
8868
9038
|
|
|
8869
9039
|
/**
|
|
8870
|
-
* Maximum number of connections to a listener. Currently, this parameter applies only to TCP, UDP, TCP_SSL, and QUIC listeners of LCU-supported instances. If this parameter is not specified or the value is set to -1, the maximum number of connections is not limited. This parameter is not supported for classic network-based instances
|
|
9040
|
+
* <p>Maximum number of connections to a listener. Currently, this parameter applies only to TCP, UDP, TCP_SSL, and QUIC listeners of LCU-supported instances. If this parameter is not specified or the value is set to -1, the maximum number of connections is not limited. This parameter is not supported for classic network-based instances.</p>
|
|
8871
9041
|
* @type {number || null}
|
|
8872
9042
|
*/
|
|
8873
9043
|
this.MaxConn = null;
|
|
8874
9044
|
|
|
8875
9045
|
/**
|
|
8876
|
-
* Maximum number of new connections to a listener. Currently, this parameter applies only to TCP, UDP, TCP_SSL, and QUIC listeners of LCU-supported instances. If this parameter is not specified or the value is set to -1, the maximum number of new connections is not limited. This parameter is not supported for classic network-based instances
|
|
9046
|
+
* <p>Maximum number of new connections to a listener. Currently, this parameter applies only to TCP, UDP, TCP_SSL, and QUIC listeners of LCU-supported instances. If this parameter is not specified or the value is set to -1, the maximum number of new connections is not limited. This parameter is not supported for classic network-based instances.</p>
|
|
8877
9047
|
* @type {number || null}
|
|
8878
9048
|
*/
|
|
8879
9049
|
this.MaxCps = null;
|
|
8880
9050
|
|
|
8881
9051
|
/**
|
|
8882
|
-
*
|
|
9052
|
+
* <p>Idle connection timeout, in seconds. This parameter applies only to TCP/UDP listeners. Default value: 900 for TCP listeners and 300 for UDP listeners. Value range: 10–900 for shared instances and dedicated instances and 10–1980 for LCU-supported instances. To set a value exceeding the permissible range, <a href="https://console.cloud.tencent.com/workorder/category">submit a ticket for application</a>.</p><p>Permissible range: [10, 1980]</p><p>Measurement unit: seconds</p><p>Default value: 900</p><p>Default value: 900 for TCP listeners and 300 for UDP listeners. Value range: 10–900 for shared instances and dedicated instances and 10–1980 for LCU-supported instances.</p>
|
|
8883
9053
|
* @type {number || null}
|
|
8884
9054
|
*/
|
|
8885
9055
|
this.IdleConnectTimeout = null;
|
|
8886
9056
|
|
|
8887
9057
|
/**
|
|
8888
|
-
*
|
|
9058
|
+
* <p>Whether TCP_SSL and QUIC support PP</p>
|
|
8889
9059
|
* @type {boolean || null}
|
|
8890
9060
|
*/
|
|
8891
9061
|
this.ProxyProtocol = null;
|
|
8892
9062
|
|
|
8893
9063
|
/**
|
|
8894
|
-
* Whether SNAT (source IP replacement) is enabled
|
|
9064
|
+
* <p>Whether SNAT (source IP replacement) is enabled, True (enabled), False (disabled). Disabled by default. Note: When SnatEnable is enabled, the client source IP will be replaced. At this point, the <code>Pass through client source IP</code> option is disabled, and vice versa.</p>
|
|
8895
9065
|
* @type {boolean || null}
|
|
8896
9066
|
*/
|
|
8897
9067
|
this.SnatEnable = null;
|
|
8898
9068
|
|
|
8899
9069
|
/**
|
|
8900
|
-
* End port of a listener with a port range. Range of the port: 2–65535
|
|
9070
|
+
* <p>End port of a listener with a port range. Range of the port: 2–65535.</p>
|
|
8901
9071
|
* @type {Array.<number> || null}
|
|
8902
9072
|
*/
|
|
8903
9073
|
this.FullEndPorts = null;
|
|
8904
9074
|
|
|
8905
9075
|
/**
|
|
8906
|
-
* Enable
|
|
8907
|
-
Disabled by default.
|
|
9076
|
+
* <p>Enable the h2c switch for the private network HTTP listener.<br>True (enabled), False (disabled). Disabled by default.<br>Once enabled, the listener only supports creating layer-7 rules with GRPC or GRPCS as the backend forwarding type. When creating rules, explicitly input GRPC or GRPCS in Rules.N.ForwardType.</p>
|
|
8908
9077
|
* @type {boolean || null}
|
|
8909
9078
|
*/
|
|
8910
9079
|
this.H2cSwitch = null;
|
|
8911
9080
|
|
|
8912
9081
|
/**
|
|
8913
|
-
*
|
|
8914
|
-
Disabled by default.
|
|
9082
|
+
* <p>Control whether to remove the SSL encryption layer for TCP_SSL listeners. Once enabled, the listener will run as a normal TCP protocol. Available values:</p><ul><li>True: Disable SSL (protocol downgraded to plain text TCP).</li><li>False (default): Keep SSL enabled.</li></ul>
|
|
8915
9083
|
* @type {boolean || null}
|
|
8916
9084
|
*/
|
|
8917
9085
|
this.SslCloseSwitch = null;
|
|
8918
9086
|
|
|
8919
9087
|
/**
|
|
8920
|
-
* Data compression mode. Valid values: transparent (passthrough mode) and compatibility (compatibility mode)
|
|
9088
|
+
* <p>Data compression mode. Valid values: transparent (passthrough mode) and compatibility (compatibility mode).</p>
|
|
8921
9089
|
* @type {string || null}
|
|
8922
9090
|
*/
|
|
8923
9091
|
this.DataCompressMode = null;
|
|
8924
9092
|
|
|
8925
9093
|
/**
|
|
8926
|
-
*
|
|
9094
|
+
* <p>Rescheduling feature, which provides a switch for changing the weight to 0. If the switch is toggled on, rescheduling is triggered when the weight of a real server is changed to 0. This parameter is applicable only to TCP/UDP listeners.</p>
|
|
8927
9095
|
* @type {boolean || null}
|
|
8928
9096
|
*/
|
|
8929
9097
|
this.RescheduleTargetZeroWeight = null;
|
|
8930
9098
|
|
|
8931
9099
|
/**
|
|
8932
|
-
*
|
|
9100
|
+
* <p>Rescheduling feature, which provides a switch for detecting health check exceptions. If the switch is toggled on, rescheduling is triggered when the real server health check fails. This parameter is applicable only to TCP/UDP listeners.</p>
|
|
8933
9101
|
* @type {boolean || null}
|
|
8934
9102
|
*/
|
|
8935
9103
|
this.RescheduleUnhealthy = null;
|
|
8936
9104
|
|
|
8937
9105
|
/**
|
|
8938
|
-
*
|
|
9106
|
+
* <p>Rescheduling feature, which provides a switch for scaling out real servers. If the switch is toggled on, rescheduling is triggered when the number of real servers increases or decreases. This parameter is applicable only to TCP/UDP listeners.</p>
|
|
8939
9107
|
* @type {boolean || null}
|
|
8940
9108
|
*/
|
|
8941
9109
|
this.RescheduleExpandTarget = null;
|
|
8942
9110
|
|
|
8943
9111
|
/**
|
|
8944
|
-
*
|
|
9112
|
+
* <p>Rescheduling trigger start time. Value range: 0–3600. Unit: s. This parameter is applicable only to TCP/UDP listeners.</p>
|
|
8945
9113
|
* @type {number || null}
|
|
8946
9114
|
*/
|
|
8947
9115
|
this.RescheduleStartTime = null;
|
|
8948
9116
|
|
|
8949
9117
|
/**
|
|
8950
|
-
* Rescheduling trigger duration.
|
|
9118
|
+
* <p>Rescheduling trigger duration. Value range: 0–3600. Unit: s. This parameter is applicable only to TCP/UDP listeners.</p>
|
|
8951
9119
|
* @type {number || null}
|
|
8952
9120
|
*/
|
|
8953
9121
|
this.RescheduleInterval = null;
|
|
@@ -9139,13 +9307,13 @@ class Filter extends AbstractModel {
|
|
|
9139
9307
|
super();
|
|
9140
9308
|
|
|
9141
9309
|
/**
|
|
9142
|
-
* Filter name
|
|
9310
|
+
* <p>Filter name</p>
|
|
9143
9311
|
* @type {string || null}
|
|
9144
9312
|
*/
|
|
9145
9313
|
this.Name = null;
|
|
9146
9314
|
|
|
9147
9315
|
/**
|
|
9148
|
-
*
|
|
9316
|
+
* <p>filter value array</p>
|
|
9149
9317
|
* @type {Array.<string> || null}
|
|
9150
9318
|
*/
|
|
9151
9319
|
this.Values = null;
|
|
@@ -10250,6 +10418,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
10250
10418
|
*/
|
|
10251
10419
|
this.Exclusive = null;
|
|
10252
10420
|
|
|
10421
|
+
/**
|
|
10422
|
+
* Availability zone forwarding affinity info
|
|
10423
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10424
|
+
* @type {AvailableZoneAffinityInfo || null}
|
|
10425
|
+
*/
|
|
10426
|
+
this.AvailableZoneAffinityInfo = null;
|
|
10427
|
+
|
|
10253
10428
|
}
|
|
10254
10429
|
|
|
10255
10430
|
/**
|
|
@@ -10325,6 +10500,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
10325
10500
|
this.SlaType = 'SlaType' in params ? params.SlaType : null;
|
|
10326
10501
|
this.Exclusive = 'Exclusive' in params ? params.Exclusive : null;
|
|
10327
10502
|
|
|
10503
|
+
if (params.AvailableZoneAffinityInfo) {
|
|
10504
|
+
let obj = new AvailableZoneAffinityInfo();
|
|
10505
|
+
obj.deserialize(params.AvailableZoneAffinityInfo)
|
|
10506
|
+
this.AvailableZoneAffinityInfo = obj;
|
|
10507
|
+
}
|
|
10508
|
+
|
|
10328
10509
|
}
|
|
10329
10510
|
}
|
|
10330
10511
|
|
|
@@ -10393,13 +10574,13 @@ class BatchModifyTargetWeightRequest extends AbstractModel {
|
|
|
10393
10574
|
super();
|
|
10394
10575
|
|
|
10395
10576
|
/**
|
|
10396
|
-
* CLB instance ID
|
|
10577
|
+
* <p>CLB instance ID.</p>
|
|
10397
10578
|
* @type {string || null}
|
|
10398
10579
|
*/
|
|
10399
10580
|
this.LoadBalancerId = null;
|
|
10400
10581
|
|
|
10401
10582
|
/**
|
|
10402
|
-
* List of weights to be modified in
|
|
10583
|
+
* <p>List of weights to be modified in batch. The ModifyList array can contain no more than 100 elements, ModifyList[i].Targets can have no more than 50, and the total number of Targets must not exceed 500.</p>
|
|
10403
10584
|
* @type {Array.<RsWeightRule> || null}
|
|
10404
10585
|
*/
|
|
10405
10586
|
this.ModifyList = null;
|
|
@@ -10427,6 +10608,41 @@ class BatchModifyTargetWeightRequest extends AbstractModel {
|
|
|
10427
10608
|
}
|
|
10428
10609
|
}
|
|
10429
10610
|
|
|
10611
|
+
/**
|
|
10612
|
+
* DescribeTargetGroupInstanceStatus request structure.
|
|
10613
|
+
* @class
|
|
10614
|
+
*/
|
|
10615
|
+
class DescribeTargetGroupInstanceStatusRequest extends AbstractModel {
|
|
10616
|
+
constructor(){
|
|
10617
|
+
super();
|
|
10618
|
+
|
|
10619
|
+
/**
|
|
10620
|
+
* Unique target group ID
|
|
10621
|
+
* @type {string || null}
|
|
10622
|
+
*/
|
|
10623
|
+
this.TargetGroupId = null;
|
|
10624
|
+
|
|
10625
|
+
/**
|
|
10626
|
+
* List of backend service IPs bound to the target group
|
|
10627
|
+
* @type {Array.<string> || null}
|
|
10628
|
+
*/
|
|
10629
|
+
this.TargetGroupInstanceIps = null;
|
|
10630
|
+
|
|
10631
|
+
}
|
|
10632
|
+
|
|
10633
|
+
/**
|
|
10634
|
+
* @private
|
|
10635
|
+
*/
|
|
10636
|
+
deserialize(params) {
|
|
10637
|
+
if (!params) {
|
|
10638
|
+
return;
|
|
10639
|
+
}
|
|
10640
|
+
this.TargetGroupId = 'TargetGroupId' in params ? params.TargetGroupId : null;
|
|
10641
|
+
this.TargetGroupInstanceIps = 'TargetGroupInstanceIps' in params ? params.TargetGroupInstanceIps : null;
|
|
10642
|
+
|
|
10643
|
+
}
|
|
10644
|
+
}
|
|
10645
|
+
|
|
10430
10646
|
/**
|
|
10431
10647
|
* BatchModifyTargetTag response structure.
|
|
10432
10648
|
* @class
|
|
@@ -10634,19 +10850,19 @@ class DescribeTargetHealthRequest extends AbstractModel {
|
|
|
10634
10850
|
super();
|
|
10635
10851
|
|
|
10636
10852
|
/**
|
|
10637
|
-
* List of IDs
|
|
10853
|
+
* <p>List of Cloud Load Balancer instance IDs to query. The array size supports up to 30.</p>
|
|
10638
10854
|
* @type {Array.<string> || null}
|
|
10639
10855
|
*/
|
|
10640
10856
|
this.LoadBalancerIds = null;
|
|
10641
10857
|
|
|
10642
10858
|
/**
|
|
10643
|
-
*
|
|
10859
|
+
* <p>Listener ID list to query.</p>
|
|
10644
10860
|
* @type {Array.<string> || null}
|
|
10645
10861
|
*/
|
|
10646
10862
|
this.ListenerIds = null;
|
|
10647
10863
|
|
|
10648
10864
|
/**
|
|
10649
|
-
*
|
|
10865
|
+
* <p>List of forwarding rule IDs to query.</p>
|
|
10650
10866
|
* @type {Array.<string> || null}
|
|
10651
10867
|
*/
|
|
10652
10868
|
this.LocationIds = null;
|
|
@@ -10814,56 +11030,55 @@ class ModifyTargetGroupAttributeRequest extends AbstractModel {
|
|
|
10814
11030
|
super();
|
|
10815
11031
|
|
|
10816
11032
|
/**
|
|
10817
|
-
* Target group ID
|
|
11033
|
+
* <p>Target group ID.</p>
|
|
10818
11034
|
* @type {string || null}
|
|
10819
11035
|
*/
|
|
10820
11036
|
this.TargetGroupId = null;
|
|
10821
11037
|
|
|
10822
11038
|
/**
|
|
10823
|
-
* New name of target group
|
|
11039
|
+
* <p>New name of target group. Naming rule: 1-80 English letters, Chinese characters and other internationally compatible language characters, digits, connecting line "-", underscore "_" and other common characters (Unicode supplementary characters such as emoji and rare Chinese characters are forbidden).</p>
|
|
10824
11040
|
* @type {string || null}
|
|
10825
11041
|
*/
|
|
10826
11042
|
this.TargetGroupName = null;
|
|
10827
11043
|
|
|
10828
11044
|
/**
|
|
10829
|
-
*
|
|
11045
|
+
* <p>New default port of target group. Full listen target group does not support this parameter.</p>
|
|
10830
11046
|
* @type {number || null}
|
|
10831
11047
|
*/
|
|
10832
11048
|
this.Port = null;
|
|
10833
11049
|
|
|
10834
11050
|
/**
|
|
10835
|
-
* Scheduling algorithm.
|
|
10836
|
-
<ur><li>WRR: weighted round-robin.</li><li>LEAST_CONN: LEAST connection.</li><li>IP_HASH: based on IP HASH.</li><li>default is WRR.</li></ur>.
|
|
11051
|
+
* <p>Scheduling algorithm. This parameter is valid only for new version V2 target groups with backend forwarding protocol (HTTP|HTTPS|GRPC). Available values:<br><ur><li>WRR: weighted round-robin.</li><li>LEAST_CONN: least connection.</li><li>IP_HASH: based on IP hash.</li><li>Default WRR.</li><ur></p>
|
|
10837
11052
|
* @type {string || null}
|
|
10838
11053
|
*/
|
|
10839
11054
|
this.ScheduleAlgorithm = null;
|
|
10840
11055
|
|
|
10841
11056
|
/**
|
|
10842
|
-
* Health check details
|
|
11057
|
+
* <p>Health check details.</p>
|
|
10843
11058
|
* @type {TargetGroupHealthCheck || null}
|
|
10844
11059
|
*/
|
|
10845
11060
|
this.HealthCheck = null;
|
|
10846
11061
|
|
|
10847
11062
|
/**
|
|
10848
|
-
* Default
|
|
11063
|
+
* <p>Default weight of the backend service. Among them: <ul><li>Value ranges from 0 to 100.</li><li>After setting this value, when adding a backend service to the target group, if the backend service does not set weight individually, use the default weight here.</li><li>Weight parameter settings not supported for Target Group Type v1.</li></ul></p>
|
|
10849
11064
|
* @type {number || null}
|
|
10850
11065
|
*/
|
|
10851
11066
|
this.Weight = null;
|
|
10852
11067
|
|
|
10853
11068
|
/**
|
|
10854
|
-
*
|
|
11069
|
+
* <p>Whether to enable long connections. This parameter is applicable only to HTTP/HTTPS target groups. true: off; false: on. Off by default.</p>
|
|
10855
11070
|
* @type {boolean || null}
|
|
10856
11071
|
*/
|
|
10857
11072
|
this.KeepaliveEnable = null;
|
|
10858
11073
|
|
|
10859
11074
|
/**
|
|
10860
|
-
*
|
|
11075
|
+
* <p>Session persistence time, unit: second. Available values: 30-3600, default 0, disabled. This parameter is not supported for TCP/UDP target group.</p>
|
|
10861
11076
|
* @type {number || null}
|
|
10862
11077
|
*/
|
|
10863
11078
|
this.SessionExpireTime = null;
|
|
10864
11079
|
|
|
10865
11080
|
/**
|
|
10866
|
-
*
|
|
11081
|
+
* <p>Whether SNAT (source IP replacement) is enabled, True (enabled), False (disabled). Disabled by default. Note: When SnatEnable is enabled, the client source IP will be replaced. At this point, the <code>Pass through client source IP</code> option is disabled, and vice versa.</p>
|
|
10867
11082
|
* @type {boolean || null}
|
|
10868
11083
|
*/
|
|
10869
11084
|
this.SnatEnable = null;
|
|
@@ -12224,16 +12439,15 @@ class CreateLoadBalancerResponse extends AbstractModel {
|
|
|
12224
12439
|
super();
|
|
12225
12440
|
|
|
12226
12441
|
/**
|
|
12227
|
-
*
|
|
12228
|
-
This field may return
|
|
12229
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
12442
|
+
* <p>An array consisting of the unique IDs of Cloud Load Balancer instances.<br>In certain scenarios, such as delay in creation, this field may return null. At this point, you can query the created resource ID through the DescribeTaskStatus API using the RequestId or DealName parameter returned by the API.</p>
|
|
12443
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12230
12444
|
* @type {Array.<string> || null}
|
|
12231
12445
|
*/
|
|
12232
12446
|
this.LoadBalancerIds = null;
|
|
12233
12447
|
|
|
12234
12448
|
/**
|
|
12235
|
-
* Order
|
|
12236
|
-
Note:
|
|
12449
|
+
* <p>Order number.</p>
|
|
12450
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12237
12451
|
* @type {string || null}
|
|
12238
12452
|
*/
|
|
12239
12453
|
this.DealName = null;
|
|
@@ -12426,7 +12640,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
12426
12640
|
}
|
|
12427
12641
|
|
|
12428
12642
|
/**
|
|
12429
|
-
*
|
|
12643
|
+
* Availability zone forward affinity info
|
|
12430
12644
|
* @class
|
|
12431
12645
|
*/
|
|
12432
12646
|
class AvailableZoneAffinityInfo extends AbstractModel {
|
|
@@ -12434,19 +12648,21 @@ class AvailableZoneAffinityInfo extends AbstractModel {
|
|
|
12434
12648
|
super();
|
|
12435
12649
|
|
|
12436
12650
|
/**
|
|
12437
|
-
*
|
|
12651
|
+
* Whether to enable availability zone forwarding affinity. true: enable availability zone forwarding affinity; false: enable availability zone forwarding affinity.
|
|
12438
12652
|
* @type {boolean || null}
|
|
12439
12653
|
*/
|
|
12440
12654
|
this.Enable = null;
|
|
12441
12655
|
|
|
12442
12656
|
/**
|
|
12443
|
-
*
|
|
12657
|
+
* The threshold for availability zone forwarding affinity failure. When the healthy ratio of backend services in an availability zone is less than this threshold, the Cloud Load Balancer will exit availability zone forwarding affinity and convert to forwarding across all availability zones.
|
|
12658
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12444
12659
|
* @type {number || null}
|
|
12445
12660
|
*/
|
|
12446
12661
|
this.ExitRatio = null;
|
|
12447
12662
|
|
|
12448
12663
|
/**
|
|
12449
|
-
*
|
|
12664
|
+
* The threshold for re-enabling availability zone affinity forwarding. When forwarding across all availability zones and the health ratio of backend services in the Cloud Load Balancer AZ is greater than or equal to this threshold, the CLB will enter availability zone affinity forwarding again.
|
|
12665
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12450
12666
|
* @type {number || null}
|
|
12451
12667
|
*/
|
|
12452
12668
|
this.ReentryRatio = null;
|
|
@@ -13114,130 +13330,131 @@ class TargetGroupInfo extends AbstractModel {
|
|
|
13114
13330
|
super();
|
|
13115
13331
|
|
|
13116
13332
|
/**
|
|
13117
|
-
* Target group ID
|
|
13333
|
+
* <p>Target group ID</p>
|
|
13118
13334
|
* @type {string || null}
|
|
13119
13335
|
*/
|
|
13120
13336
|
this.TargetGroupId = null;
|
|
13121
13337
|
|
|
13122
13338
|
/**
|
|
13123
|
-
*
|
|
13339
|
+
* <p>VPC ID of the target group</p>
|
|
13124
13340
|
* @type {string || null}
|
|
13125
13341
|
*/
|
|
13126
13342
|
this.VpcId = null;
|
|
13127
13343
|
|
|
13128
13344
|
/**
|
|
13129
|
-
* Target group name
|
|
13345
|
+
* <p>Target group name</p>
|
|
13130
13346
|
* @type {string || null}
|
|
13131
13347
|
*/
|
|
13132
13348
|
this.TargetGroupName = null;
|
|
13133
13349
|
|
|
13134
13350
|
/**
|
|
13135
|
-
*
|
|
13351
|
+
* <p>Default port of target group. This field returns 0 for full listen target group, indicating an invalid port.</p>
|
|
13136
13352
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
13137
13353
|
* @type {number || null}
|
|
13138
13354
|
*/
|
|
13139
13355
|
this.Port = null;
|
|
13140
13356
|
|
|
13141
13357
|
/**
|
|
13142
|
-
*
|
|
13358
|
+
* <p>Creation time of target group</p>
|
|
13143
13359
|
* @type {string || null}
|
|
13144
13360
|
*/
|
|
13145
13361
|
this.CreatedTime = null;
|
|
13146
13362
|
|
|
13147
13363
|
/**
|
|
13148
|
-
* Target group modification time
|
|
13364
|
+
* <p>Target group modification time</p>
|
|
13149
13365
|
* @type {string || null}
|
|
13150
13366
|
*/
|
|
13151
13367
|
this.UpdatedTime = null;
|
|
13152
13368
|
|
|
13153
13369
|
/**
|
|
13154
|
-
* Associated rule array. This parameter cannot be obtained
|
|
13370
|
+
* <p>Associated rule array. This parameter cannot be obtained in the DescribeTargetGroupList API call.</p>
|
|
13371
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
13155
13372
|
* @type {Array.<AssociationItem> || null}
|
|
13156
13373
|
*/
|
|
13157
13374
|
this.AssociatedRule = null;
|
|
13158
13375
|
|
|
13159
13376
|
/**
|
|
13160
|
-
* Backend forwarding protocol of the target group.
|
|
13377
|
+
* <p>Backend forwarding protocol of the target group. Only the new version target group v2 returns a valid value.</p>
|
|
13161
13378
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
13162
13379
|
* @type {string || null}
|
|
13163
13380
|
*/
|
|
13164
13381
|
this.Protocol = null;
|
|
13165
13382
|
|
|
13166
13383
|
/**
|
|
13167
|
-
* Scheduling algorithm. returns
|
|
13168
|
-
<ur>
|
|
13169
|
-
<Li>WRR: weighted round-robin.</li>.
|
|
13170
|
-
<Li>LEAST_CONN: specifies the least connection.</li>.
|
|
13171
|
-
<Li>IP_HASH: based on ip hash.</li>.
|
|
13172
|
-
</ur>
|
|
13173
|
-
|
|
13384
|
+
* <p>Scheduling algorithm. This parameter returns valid values only for target groups with backend forwarding protocol (HTTP, HTTPS, GRPC). Available values:</p><ur></p><li>WRR: weighted round-robin.</li><li>LEAST_CONN: LEAST connection.</li><li>IP_HASH: based on IP HASH.</li></ur>
|
|
13174
13385
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
13175
13386
|
* @type {string || null}
|
|
13176
13387
|
*/
|
|
13177
13388
|
this.ScheduleAlgorithm = null;
|
|
13178
13389
|
|
|
13179
13390
|
/**
|
|
13180
|
-
* Health check details
|
|
13391
|
+
* <p>Health check details.</p>
|
|
13181
13392
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
13182
13393
|
* @type {TargetGroupHealthCheck || null}
|
|
13183
13394
|
*/
|
|
13184
13395
|
this.HealthCheck = null;
|
|
13185
13396
|
|
|
13186
13397
|
/**
|
|
13187
|
-
* Target
|
|
13398
|
+
* <p>Target Group Type, currently supported v1 (legacy version target group), v2 (new version target group). Defaults to v1 (legacy version target group).</p>
|
|
13188
13399
|
* @type {string || null}
|
|
13189
13400
|
*/
|
|
13190
13401
|
this.TargetGroupType = null;
|
|
13191
13402
|
|
|
13192
13403
|
/**
|
|
13193
|
-
* Number of rules associated with the target group
|
|
13404
|
+
* <p>Number of rules associated with the target group.</p>
|
|
13194
13405
|
* @type {number || null}
|
|
13195
13406
|
*/
|
|
13196
13407
|
this.AssociatedRuleCount = null;
|
|
13197
13408
|
|
|
13198
13409
|
/**
|
|
13199
|
-
*
|
|
13410
|
+
* <p>Number of instances in the target group.</p>
|
|
13200
13411
|
* @type {number || null}
|
|
13201
13412
|
*/
|
|
13202
13413
|
this.RegisteredInstancesCount = null;
|
|
13203
13414
|
|
|
13204
13415
|
/**
|
|
13205
|
-
* Tag
|
|
13416
|
+
* <p>Tag.</p>
|
|
13206
13417
|
* @type {Array.<TagInfo> || null}
|
|
13207
13418
|
*/
|
|
13208
13419
|
this.Tag = null;
|
|
13209
13420
|
|
|
13210
13421
|
/**
|
|
13211
|
-
* Default weight.
|
|
13422
|
+
* <p>Default weight. Only target groups of v2 type return this field. When NULL is returned, it means the default weight is not set.</p>
|
|
13212
13423
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
13213
13424
|
* @type {number || null}
|
|
13214
13425
|
*/
|
|
13215
13426
|
this.Weight = null;
|
|
13216
13427
|
|
|
13217
13428
|
/**
|
|
13218
|
-
*
|
|
13429
|
+
* <p>Whether to listen to the target group.</p>
|
|
13219
13430
|
* @type {boolean || null}
|
|
13220
13431
|
*/
|
|
13221
13432
|
this.FullListenSwitch = null;
|
|
13222
13433
|
|
|
13223
13434
|
/**
|
|
13224
|
-
* Whether to enable
|
|
13435
|
+
* <p>Whether to enable long connections. Only target groups with HTTP/HTTPS/GRPC as the backend forwarding protocol return a valid value.</p>
|
|
13225
13436
|
* @type {boolean || null}
|
|
13226
13437
|
*/
|
|
13227
13438
|
this.KeepaliveEnable = null;
|
|
13228
13439
|
|
|
13229
13440
|
/**
|
|
13230
|
-
* Session
|
|
13441
|
+
* <p>Session hold time. Only target groups with backend forwarding protocol set to HTTP/HTTPS/GRPC return a valid value.</p>
|
|
13231
13442
|
* @type {number || null}
|
|
13232
13443
|
*/
|
|
13233
13444
|
this.SessionExpireTime = null;
|
|
13234
13445
|
|
|
13235
13446
|
/**
|
|
13236
|
-
* IP version
|
|
13447
|
+
* <p>IP version.</p>
|
|
13237
13448
|
* @type {string || null}
|
|
13238
13449
|
*/
|
|
13239
13450
|
this.IpVersion = null;
|
|
13240
13451
|
|
|
13452
|
+
/**
|
|
13453
|
+
* <p>Whether to enable SNAT</p>
|
|
13454
|
+
* @type {boolean || null}
|
|
13455
|
+
*/
|
|
13456
|
+
this.SnatEnable = null;
|
|
13457
|
+
|
|
13241
13458
|
}
|
|
13242
13459
|
|
|
13243
13460
|
/**
|
|
@@ -13287,6 +13504,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
13287
13504
|
this.KeepaliveEnable = 'KeepaliveEnable' in params ? params.KeepaliveEnable : null;
|
|
13288
13505
|
this.SessionExpireTime = 'SessionExpireTime' in params ? params.SessionExpireTime : null;
|
|
13289
13506
|
this.IpVersion = 'IpVersion' in params ? params.IpVersion : null;
|
|
13507
|
+
this.SnatEnable = 'SnatEnable' in params ? params.SnatEnable : null;
|
|
13290
13508
|
|
|
13291
13509
|
}
|
|
13292
13510
|
}
|
|
@@ -13909,7 +14127,7 @@ class LoadBalancer extends AbstractModel {
|
|
|
13909
14127
|
|
|
13910
14128
|
/**
|
|
13911
14129
|
* Network type of the load balancing instance.
|
|
13912
|
-
OPEN: public network attribute. INTERNAL: private network attribute. for a cloud load balancer with private network attribute, you can bind an EIP for public network access. for details, see the EIP document on
|
|
14130
|
+
OPEN: public network attribute. INTERNAL: private network attribute. for a cloud load balancer with private network attribute, you can bind an EIP for public network access. for details, see the EIP document on [Binding Elastic IP](https://www.tencentcloud.com/document/product/215/16700?from_cn_redirect=1).
|
|
13913
14131
|
* @type {string || null}
|
|
13914
14132
|
*/
|
|
13915
14133
|
this.LoadBalancerType = null;
|
|
@@ -14027,7 +14245,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
14027
14245
|
this.AddressIPVersion = null;
|
|
14028
14246
|
|
|
14029
14247
|
/**
|
|
14030
|
-
* Specifies the VPC ID in numerical form, obtainable through the DescribeVpcs
|
|
14248
|
+
* Specifies the VPC ID in numerical form, obtainable through the [DescribeVpcs]((https://www.tencentcloud.com/document/product/215/15778?from_cn_redirect=1)) API.
|
|
14031
14249
|
* @type {number || null}
|
|
14032
14250
|
*/
|
|
14033
14251
|
this.NumericalVpcId = null;
|
|
@@ -14035,9 +14253,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
14035
14253
|
/**
|
|
14036
14254
|
* Specifies the ISP of the load balancer IP address.
|
|
14037
14255
|
|
|
14038
|
-
-BGP (multi-line).
|
|
14256
|
+
- BGP (multi-line).
|
|
14039
14257
|
- CMCC: CMCC single line network.
|
|
14040
|
-
-CTCC: ctcc single-line.
|
|
14258
|
+
- CTCC: ctcc single-line.
|
|
14041
14259
|
- CUCC: china unicom single-line.
|
|
14042
14260
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14043
14261
|
* @type {string || null}
|
|
@@ -14296,7 +14514,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
14296
14514
|
this.AssociateEndpoint = null;
|
|
14297
14515
|
|
|
14298
14516
|
/**
|
|
14299
|
-
*
|
|
14517
|
+
* Availability zone forwarding affinity info
|
|
14300
14518
|
* @type {AvailableZoneAffinityInfo || null}
|
|
14301
14519
|
*/
|
|
14302
14520
|
this.AvailableZoneAffinityInfo = null;
|
|
@@ -14451,6 +14669,7 @@ module.exports = {
|
|
|
14451
14669
|
DisassociateTargetGroupsResponse: DisassociateTargetGroupsResponse,
|
|
14452
14670
|
ListenerBackend: ListenerBackend,
|
|
14453
14671
|
SetLoadBalancerClsLogResponse: SetLoadBalancerClsLogResponse,
|
|
14672
|
+
TargetGroupInstance: TargetGroupInstance,
|
|
14454
14673
|
DescribeLoadBalancerTrafficResponse: DescribeLoadBalancerTrafficResponse,
|
|
14455
14674
|
MultiCertInfo: MultiCertInfo,
|
|
14456
14675
|
RsTagRule: RsTagRule,
|
|
@@ -14475,7 +14694,7 @@ module.exports = {
|
|
|
14475
14694
|
ModifyTargetWeightResponse: ModifyTargetWeightResponse,
|
|
14476
14695
|
ZoneResource: ZoneResource,
|
|
14477
14696
|
DescribeTaskStatusRequest: DescribeTaskStatusRequest,
|
|
14478
|
-
|
|
14697
|
+
DescribeTargetGroupInstanceStatusResponse: DescribeTargetGroupInstanceStatusResponse,
|
|
14479
14698
|
DescribeClassicalLBByInstanceIdResponse: DescribeClassicalLBByInstanceIdResponse,
|
|
14480
14699
|
CreateRuleResponse: CreateRuleResponse,
|
|
14481
14700
|
CrossTargets: CrossTargets,
|
|
@@ -14540,6 +14759,7 @@ module.exports = {
|
|
|
14540
14759
|
DeleteListenerRequest: DeleteListenerRequest,
|
|
14541
14760
|
ClassicalHealth: ClassicalHealth,
|
|
14542
14761
|
DescribeCustomizedConfigAssociateListRequest: DescribeCustomizedConfigAssociateListRequest,
|
|
14762
|
+
RenewLoadBalancersResponse: RenewLoadBalancersResponse,
|
|
14543
14763
|
ModifyTargetPortResponse: ModifyTargetPortResponse,
|
|
14544
14764
|
MigrateClassicalLoadBalancersRequest: MigrateClassicalLoadBalancersRequest,
|
|
14545
14765
|
DescribeLoadBalancersDetailRequest: DescribeLoadBalancersDetailRequest,
|
|
@@ -14551,6 +14771,7 @@ module.exports = {
|
|
|
14551
14771
|
DescribeResourcesResponse: DescribeResourcesResponse,
|
|
14552
14772
|
ModifyTargetGroupInstancesWeightRequest: ModifyTargetGroupInstancesWeightRequest,
|
|
14553
14773
|
ManualRewriteResponse: ManualRewriteResponse,
|
|
14774
|
+
TargetGroupInstanceStatus: TargetGroupInstanceStatus,
|
|
14554
14775
|
ModifyBlockIPListRequest: ModifyBlockIPListRequest,
|
|
14555
14776
|
RuleOutput: RuleOutput,
|
|
14556
14777
|
ModifyBlockIPListResponse: ModifyBlockIPListResponse,
|
|
@@ -14568,6 +14789,7 @@ module.exports = {
|
|
|
14568
14789
|
ResourceAvailability: ResourceAvailability,
|
|
14569
14790
|
SetLoadBalancerSecurityGroupsRequest: SetLoadBalancerSecurityGroupsRequest,
|
|
14570
14791
|
DescribeCustomizedConfigAssociateListResponse: DescribeCustomizedConfigAssociateListResponse,
|
|
14792
|
+
RenewLoadBalancersRequest: RenewLoadBalancersRequest,
|
|
14571
14793
|
SetCustomizedConfigForLoadBalancerRequest: SetCustomizedConfigForLoadBalancerRequest,
|
|
14572
14794
|
CreateListenerResponse: CreateListenerResponse,
|
|
14573
14795
|
CreateTargetGroupResponse: CreateTargetGroupResponse,
|
|
@@ -14615,6 +14837,7 @@ module.exports = {
|
|
|
14615
14837
|
LoadBalancerDetail: LoadBalancerDetail,
|
|
14616
14838
|
LbRsTargets: LbRsTargets,
|
|
14617
14839
|
BatchModifyTargetWeightRequest: BatchModifyTargetWeightRequest,
|
|
14840
|
+
DescribeTargetGroupInstanceStatusRequest: DescribeTargetGroupInstanceStatusRequest,
|
|
14618
14841
|
BatchModifyTargetTagResponse: BatchModifyTargetTagResponse,
|
|
14619
14842
|
DeleteRewriteResponse: DeleteRewriteResponse,
|
|
14620
14843
|
BatchTarget: BatchTarget,
|