tencentcloud-sdk-clb 3.0.1043 → 3.0.1044
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180317/client.rb +1 -1
- data/lib/v20180317/models.rb +121 -190
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca850929f1c32388d6d757f5909f5ef24a2c4575
|
4
|
+
data.tar.gz: 0ec422b72df6e59a2a1ed1427b061cc0470b79dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3e92a2abfe235e7f972a127b5d7a117f2790a6147d84159129bc9e1cbf29f210eeaa033aee5cd0c5c3e6cceb7025bcfa206f36043e9172fbd9c8f16499f960f
|
7
|
+
data.tar.gz: c2c758de05ea97dcf5960db7a01eaf819d8c5bb0faad431399323fb540d964b65e01032e65f3b8adb3ba26897b0615f75311b40db4259e36d578465f30029136
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1044
|
data/lib/v20180317/client.rb
CHANGED
@@ -316,7 +316,7 @@ module TencentCloud
|
|
316
316
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
317
317
|
end
|
318
318
|
|
319
|
-
# 本接口(CreateLoadBalancer)
|
319
|
+
# 本接口(CreateLoadBalancer)用来创建负载均衡实例。为了使用负载均衡服务,您必须购买一个或多个负载均衡实例。成功调用该接口后,会返回负载均衡实例的唯一 ID。负载均衡实例的类型分为:公网、内网。详情可参考产品说明中的产品类型。
|
320
320
|
# 注意:(1)可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域是否支持创建IPv6实例;(2)一个账号在每个地域的默认购买配额为:公网100个,内网100个。
|
321
321
|
# 本接口为异步接口,接口成功返回后,可使用 DescribeLoadBalancers 接口查询负载均衡实例的状态(如创建中、正常),以确定是否创建成功。
|
322
322
|
|
data/lib/v20180317/models.rb
CHANGED
@@ -167,7 +167,6 @@ module TencentCloud
|
|
167
167
|
# @param ListenerName: 监听器名称
|
168
168
|
# @type ListenerName: String
|
169
169
|
# @param Weight: 关联目标组的权重, 该参数只有v2新版目标组生效。
|
170
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
171
170
|
# @type Weight: Integer
|
172
171
|
|
173
172
|
attr_accessor :LoadBalancerId, :ListenerId, :LocationId, :Protocol, :Port, :Domain, :Url, :LoadBalancerName, :ListenerName, :Weight
|
@@ -261,19 +260,16 @@ module TencentCloud
|
|
261
260
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
262
261
|
# @type PublicIpAddresses: Array
|
263
262
|
# @param PrivateIpAddresses: 后端服务的内网 IP
|
264
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
265
263
|
# @type PrivateIpAddresses: Array
|
266
264
|
# @param InstanceName: 后端服务的实例名称
|
267
265
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
268
266
|
# @type InstanceName: String
|
269
267
|
# @param RegisteredTime: 后端服务被绑定的时间
|
270
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
271
268
|
# @type RegisteredTime: String
|
272
269
|
# @param EniId: 弹性网卡唯一ID,如 eni-1234abcd
|
273
270
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
274
271
|
# @type EniId: String
|
275
272
|
# @param Tag: 标签。
|
276
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
277
273
|
# @type Tag: String
|
278
274
|
|
279
275
|
attr_accessor :Type, :InstanceId, :Port, :Weight, :PublicIpAddresses, :PrivateIpAddresses, :InstanceName, :RegisteredTime, :EniId, :Tag
|
@@ -361,7 +357,6 @@ module TencentCloud
|
|
361
357
|
# @param FailListenerIdSet: 解绑失败的监听器ID。
|
362
358
|
# @type FailListenerIdSet: Array
|
363
359
|
# @param Message: 解绑失败错误原因信息。
|
364
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
365
360
|
# @type Message: String
|
366
361
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
367
362
|
# @type RequestId: String
|
@@ -564,28 +559,22 @@ module TencentCloud
|
|
564
559
|
# @param LoadBalancerId: 配置绑定的CLB ID
|
565
560
|
# @type LoadBalancerId: String
|
566
561
|
# @param ListenerId: 配置绑定的监听器ID
|
567
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
568
562
|
# @type ListenerId: String
|
569
563
|
# @param Domain: 配置绑定的域名
|
570
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
571
564
|
# @type Domain: String
|
572
565
|
# @param LocationId: 配置绑定的规则
|
573
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
574
566
|
# @type LocationId: String
|
575
567
|
# @param ListenerName: 监听器名字
|
576
568
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
577
569
|
# @type ListenerName: String
|
578
570
|
# @param Protocol: 监听器协议
|
579
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
580
571
|
# @type Protocol: String
|
581
572
|
# @param Vport: 监听器端口
|
582
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
583
573
|
# @type Vport: Integer
|
584
574
|
# @param Url: location的url
|
585
575
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
586
576
|
# @type Url: String
|
587
577
|
# @param UconfigId: 配置ID
|
588
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
589
578
|
# @type UconfigId: String
|
590
579
|
|
591
580
|
attr_accessor :LoadBalancerId, :ListenerId, :Domain, :LocationId, :ListenerName, :Protocol, :Vport, :Url, :UconfigId
|
@@ -620,13 +609,10 @@ module TencentCloud
|
|
620
609
|
# @param LoadBalancerId: 配置绑定的CLB ID
|
621
610
|
# @type LoadBalancerId: String
|
622
611
|
# @param ListenerId: 配置绑定的监听器ID
|
623
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
624
612
|
# @type ListenerId: String
|
625
613
|
# @param Domain: 配置绑定的域名
|
626
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
627
614
|
# @type Domain: String
|
628
615
|
# @param LocationId: 配置绑定的规则
|
629
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
630
616
|
# @type LocationId: String
|
631
617
|
|
632
618
|
attr_accessor :LoadBalancerId, :ListenerId, :Domain, :LocationId
|
@@ -675,7 +661,6 @@ module TencentCloud
|
|
675
661
|
# @param CertId: 证书ID
|
676
662
|
# @type CertId: String
|
677
663
|
# @param LoadBalancers: 与证书关联的负载均衡实例列表
|
678
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
679
664
|
# @type LoadBalancers: Array
|
680
665
|
|
681
666
|
attr_accessor :CertId, :LoadBalancers
|
@@ -783,10 +768,8 @@ module TencentCloud
|
|
783
768
|
# @param CertId: 服务端证书的ID。
|
784
769
|
# @type CertId: String
|
785
770
|
# @param CertCaId: 客户端证书的 ID。
|
786
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
787
771
|
# @type CertCaId: String
|
788
772
|
# @param ExtCertIds: 多本服务器证书场景扩展的服务器证书ID。
|
789
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
790
773
|
# @type ExtCertIds: Array
|
791
774
|
|
792
775
|
attr_accessor :SSLMode, :SSLVerifyClient, :CertId, :CertCaId, :ExtCertIds
|
@@ -929,7 +912,6 @@ module TencentCloud
|
|
929
912
|
# @param InstanceId: 后端实例ID
|
930
913
|
# @type InstanceId: String
|
931
914
|
# @param LoadBalancerIds: 负载均衡实例ID列表
|
932
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
933
915
|
# @type LoadBalancerIds: Array
|
934
916
|
|
935
917
|
attr_accessor :InstanceId, :LoadBalancerIds
|
@@ -954,17 +936,13 @@ module TencentCloud
|
|
954
936
|
# @param Weight: 后端服务的转发权重,取值范围:[0, 100],默认为 10。
|
955
937
|
# @type Weight: Integer
|
956
938
|
# @param PublicIpAddresses: 后端服务的外网 IP
|
957
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
958
939
|
# @type PublicIpAddresses: Array
|
959
940
|
# @param PrivateIpAddresses: 后端服务的内网 IP
|
960
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
961
941
|
# @type PrivateIpAddresses: Array
|
962
942
|
# @param InstanceName: 后端服务的实例名称
|
963
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
964
943
|
# @type InstanceName: String
|
965
944
|
# @param RunFlag: 后端服务的状态
|
966
945
|
# 1:故障,2:运行中,3:创建中,4:已关机,5:已退还,6:退还中, 7:重启中,8:开机中,9:关机中,10:密码重置中,11:格式化中,12:镜像制作中,13:带宽设置中,14:重装系统中,19:升级中,21:热迁移中
|
967
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
968
946
|
# @type RunFlag: Integer
|
969
947
|
|
970
948
|
attr_accessor :Type, :InstanceId, :Weight, :PublicIpAddresses, :PrivateIpAddresses, :InstanceName, :RunFlag
|
@@ -1200,16 +1178,12 @@ module TencentCloud
|
|
1200
1178
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1201
1179
|
# @type ClustersVersion: String
|
1202
1180
|
# @param DisasterRecoveryType: 集群容灾类型,如SINGLE-ZONE,DISASTER-RECOVERY,MUTUAL-DISASTER-RECOVERY
|
1203
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1204
1181
|
# @type DisasterRecoveryType: String
|
1205
1182
|
# @param Egress: 网络出口
|
1206
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1207
1183
|
# @type Egress: String
|
1208
1184
|
# @param IPVersion: IP版本
|
1209
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1210
1185
|
# @type IPVersion: String
|
1211
1186
|
# @param Tag: 标签信息
|
1212
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1213
1187
|
# @type Tag: Array
|
1214
1188
|
|
1215
1189
|
attr_accessor :ClusterId, :ClusterName, :ClusterType, :ClusterTag, :Zone, :Network, :MaxConn, :MaxInFlow, :MaxInPkg, :MaxOutFlow, :MaxOutPkg, :MaxNewConn, :HTTPMaxNewConn, :HTTPSMaxNewConn, :HTTPQps, :HTTPSQps, :ResourceCount, :IdleResourceCount, :LoadBalanceDirectorCount, :Isp, :ClustersZone, :ClustersVersion, :DisasterRecoveryType, :Egress, :IPVersion, :Tag
|
@@ -1288,7 +1262,6 @@ module TencentCloud
|
|
1288
1262
|
# @param ClusterId: 集群唯一ID
|
1289
1263
|
# @type ClusterId: String
|
1290
1264
|
# @param ClusterName: 集群名称
|
1291
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1292
1265
|
# @type ClusterName: String
|
1293
1266
|
# @param Zone: 集群所在可用区,如ap-guangzhou-1
|
1294
1267
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -1319,12 +1292,10 @@ module TencentCloud
|
|
1319
1292
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1320
1293
|
# @type LoadBalancerId: String
|
1321
1294
|
# @param Idle: 资源是否闲置。
|
1322
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1323
1295
|
# @type Idle: String
|
1324
1296
|
# @param ClusterName: 集群名称。
|
1325
1297
|
# @type ClusterName: String
|
1326
1298
|
# @param Isp: 集群的Isp属性,如:"BGP","CMCC","CUCC","CTCC","INTERNAL"。
|
1327
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1328
1299
|
# @type Isp: String
|
1329
1300
|
# @param ClustersZone: 集群所在的可用区
|
1330
1301
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -1359,10 +1330,8 @@ module TencentCloud
|
|
1359
1330
|
# 集群所在的可用区。
|
1360
1331
|
class ClustersZone < TencentCloud::Common::AbstractModel
|
1361
1332
|
# @param MasterZone: 集群所在的主可用区。
|
1362
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1363
1333
|
# @type MasterZone: Array
|
1364
1334
|
# @param SlaveZone: 集群所在的备可用区。
|
1365
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1366
1335
|
# @type SlaveZone: Array
|
1367
1336
|
|
1368
1337
|
attr_accessor :MasterZone, :SlaveZone
|
@@ -1385,7 +1354,6 @@ module TencentCloud
|
|
1385
1354
|
# @param ConfigType: 配置类型
|
1386
1355
|
# @type ConfigType: String
|
1387
1356
|
# @param ConfigName: 配置名字
|
1388
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1389
1357
|
# @type ConfigName: String
|
1390
1358
|
# @param ConfigContent: 配置内容
|
1391
1359
|
# @type ConfigContent: String
|
@@ -1490,6 +1458,7 @@ module TencentCloud
|
|
1490
1458
|
# @param SessionType: 会话保持类型。不传或传NORMAL表示默认会话保持类型。QUIC_CID 表示根据Quic Connection ID做会话保持。QUIC_CID只支持UDP协议。此参数仅适用于TCP/UDP监听器。七层监听器应在转发规则中设置。(若选择QUIC_CID,则Protocol必须为UDP,Scheduler必须为WRR,同时只支持ipv4)
|
1491
1459
|
# @type SessionType: String
|
1492
1460
|
# @param KeepaliveEnable: 是否开启长连接,此参数仅适用于HTTP/HTTPS监听器,0:关闭;1:开启, 默认关闭。
|
1461
|
+
# 若后端服务对连接数上限有限制,则建议谨慎开启。此功能目前处于内测中,如需使用,请提交 [内测申请](https://cloud.tencent.com/apply/p/tsodp6qm21)。
|
1493
1462
|
# @type KeepaliveEnable: Integer
|
1494
1463
|
# @param EndPort: 创建端口段监听器时必须传入此参数,用以标识结束端口。同时,入参Ports只允许传入一个成员,用以标识开始端口。【如果您需要体验端口段功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)】。
|
1495
1464
|
# @type EndPort: Integer
|
@@ -1625,7 +1594,7 @@ module TencentCloud
|
|
1625
1594
|
# @type MasterZoneId: String
|
1626
1595
|
# @param ZoneId: 仅适用于公网且IP版本为IPv4的负载均衡。可用区ID,指定可用区以创建负载均衡实例。如:ap-guangzhou-1。
|
1627
1596
|
# @type ZoneId: String
|
1628
|
-
# @param InternetAccessible: 网络计费模式,最大出带宽。仅对内网属性的性能容量型实例和公网属性的所有实例生效。
|
1597
|
+
# @param InternetAccessible: 网络计费模式,最大出带宽。仅对内网属性的性能容量型实例和公网属性的所有实例生效。API接口购买包年包月实例还在灰度中,如您需要体验该功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)
|
1629
1598
|
# @type InternetAccessible: :class:`Tencentcloud::Clb.v20180317.models.InternetAccessible`
|
1630
1599
|
# @param VipIsp: 仅适用于公网负载均衡。目前仅广州、上海、南京、济南、杭州、福州、北京、石家庄、武汉、长沙、成都、重庆地域支持静态单线 IP 线路类型,如需体验,请联系商务经理申请。申请通过后,即可选择中国移动(CMCC)、中国联通(CUCC)或中国电信(CTCC)的运营商类型,网络计费模式只能使用按带宽包计费(BANDWIDTH_PACKAGE)。 如果不指定本参数,则默认使用BGP。可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域所支持的Isp。
|
1631
1600
|
# @type VipIsp: String
|
@@ -1662,9 +1631,9 @@ module TencentCloud
|
|
1662
1631
|
# @type DynamicVip: Boolean
|
1663
1632
|
# @param Egress: 网络出口
|
1664
1633
|
# @type Egress: String
|
1665
|
-
# @param LBChargePrepaid:
|
1634
|
+
# @param LBChargePrepaid: 负载均衡实例的预付费相关属性,API接口购买包年包月实例还在灰度中,如您需要体验该功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)
|
1666
1635
|
# @type LBChargePrepaid: :class:`Tencentcloud::Clb.v20180317.models.LBChargePrepaid`
|
1667
|
-
# @param LBChargeType: 负载均衡实例计费类型,取值:POSTPAID_BY_HOUR,PREPAID,默认是POSTPAID_BY_HOUR。
|
1636
|
+
# @param LBChargeType: 负载均衡实例计费类型,取值:POSTPAID_BY_HOUR,PREPAID,默认是POSTPAID_BY_HOUR。API接口购买包年包月实例还在灰度中,如您需要体验该功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)
|
1668
1637
|
# @type LBChargeType: String
|
1669
1638
|
# @param AccessLogTopicId: 七层访问日志主题ID
|
1670
1639
|
# @type AccessLogTopicId: String
|
@@ -2039,10 +2008,8 @@ module TencentCloud
|
|
2039
2008
|
# @param EniId: 子机的网卡ID。
|
2040
2009
|
# @type EniId: String
|
2041
2010
|
# @param InstanceId: 子机实例ID。
|
2042
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2043
2011
|
# @type InstanceId: String
|
2044
2012
|
# @param InstanceName: 子机实例名称。
|
2045
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2046
2013
|
# @type InstanceName: String
|
2047
2014
|
# @param Region: 子机或者网卡所属的地域。
|
2048
2015
|
# @type Region: String
|
@@ -2741,7 +2708,6 @@ module TencentCloud
|
|
2741
2708
|
# DescribeClassicalLBHealthStatus返回参数结构体
|
2742
2709
|
class DescribeClassicalLBHealthStatusResponse < TencentCloud::Common::AbstractModel
|
2743
2710
|
# @param HealthList: 后端健康状态列表。
|
2744
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2745
2711
|
# @type HealthList: Array
|
2746
2712
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2747
2713
|
# @type RequestId: String
|
@@ -2801,7 +2767,6 @@ module TencentCloud
|
|
2801
2767
|
# DescribeClassicalLBListeners返回参数结构体
|
2802
2768
|
class DescribeClassicalLBListenersResponse < TencentCloud::Common::AbstractModel
|
2803
2769
|
# @param Listeners: 监听器列表。
|
2804
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2805
2770
|
# @type Listeners: Array
|
2806
2771
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2807
2772
|
# @type RequestId: String
|
@@ -2845,7 +2810,6 @@ module TencentCloud
|
|
2845
2810
|
# DescribeClassicalLBTargets返回参数结构体
|
2846
2811
|
class DescribeClassicalLBTargetsResponse < TencentCloud::Common::AbstractModel
|
2847
2812
|
# @param Targets: 后端服务列表。
|
2848
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2849
2813
|
# @type Targets: Array
|
2850
2814
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2851
2815
|
# @type RequestId: String
|
@@ -3270,7 +3234,6 @@ module TencentCloud
|
|
3270
3234
|
# DescribeIdleLoadBalancers返回参数结构体
|
3271
3235
|
class DescribeIdleLoadBalancersResponse < TencentCloud::Common::AbstractModel
|
3272
3236
|
# @param IdleLoadBalancers: 闲置实例列表
|
3273
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3274
3237
|
# @type IdleLoadBalancers: Array
|
3275
3238
|
# @param TotalCount: 所有闲置实例数目
|
3276
3239
|
# @type TotalCount: Integer
|
@@ -3382,7 +3345,6 @@ module TencentCloud
|
|
3382
3345
|
# @param Listeners: 监听器列表。
|
3383
3346
|
# @type Listeners: Array
|
3384
3347
|
# @param TotalCount: 总的监听器个数(根据端口、协议、监听器ID过滤后)。
|
3385
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3386
3348
|
# @type TotalCount: Integer
|
3387
3349
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3388
3350
|
# @type RequestId: String
|
@@ -3514,7 +3476,6 @@ module TencentCloud
|
|
3514
3476
|
# DescribeLoadBalancerTraffic返回参数结构体
|
3515
3477
|
class DescribeLoadBalancerTrafficResponse < TencentCloud::Common::AbstractModel
|
3516
3478
|
# @param LoadBalancerTraffic: 按出带宽从高到低排序后的负载均衡信息。
|
3517
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3518
3479
|
# @type LoadBalancerTraffic: Array
|
3519
3480
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3520
3481
|
# @type RequestId: String
|
@@ -3593,7 +3554,6 @@ module TencentCloud
|
|
3593
3554
|
# @param TotalCount: 负载均衡详情列表总数。
|
3594
3555
|
# @type TotalCount: Integer
|
3595
3556
|
# @param LoadBalancerDetailSet: 负载均衡详情列表。
|
3596
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3597
3557
|
# @type LoadBalancerDetailSet: Array
|
3598
3558
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3599
3559
|
# @type RequestId: String
|
@@ -3629,9 +3589,9 @@ module TencentCloud
|
|
3629
3589
|
# @type LoadBalancerType: String
|
3630
3590
|
# @param Forward: 负载均衡实例的类型。1:通用的负载均衡实例,0:传统型负载均衡实例。如果不传此参数,则查询所有类型的负载均衡实例。
|
3631
3591
|
# @type Forward: Integer
|
3632
|
-
# @param LoadBalancerName:
|
3592
|
+
# @param LoadBalancerName: 负载均衡实例的名称,支持模糊查询。
|
3633
3593
|
# @type LoadBalancerName: String
|
3634
|
-
# @param Domain:
|
3594
|
+
# @param Domain: 腾讯云为负载均衡实例分配的域名,支持模糊查询。
|
3635
3595
|
# @type Domain: String
|
3636
3596
|
# @param LoadBalancerVips: 负载均衡实例的 VIP 地址,支持多个。
|
3637
3597
|
# @type LoadBalancerVips: Array
|
@@ -3643,24 +3603,75 @@ module TencentCloud
|
|
3643
3603
|
# @type Offset: Integer
|
3644
3604
|
# @param Limit: 返回负载均衡实例的数量,默认为20,最大值为100。
|
3645
3605
|
# @type Limit: Integer
|
3646
|
-
# @param OrderBy: 排序参数,支持以下字段:
|
3606
|
+
# @param OrderBy: 排序参数,支持以下字段:
|
3607
|
+
# - LoadBalancerName
|
3608
|
+
# - CreateTime
|
3609
|
+
# - Domain
|
3610
|
+
# - LoadBalancerType
|
3611
|
+
|
3612
|
+
# 默认为 CreateTime。
|
3647
3613
|
# @type OrderBy: String
|
3648
|
-
# @param OrderType: 1:倒序,0
|
3614
|
+
# @param OrderType: 1:倒序,0:顺序,默认为1,按照创建时间倒序。
|
3649
3615
|
# @type OrderType: Integer
|
3650
|
-
# @param SearchKey:
|
3616
|
+
# @param SearchKey: 模糊搜索字段,模糊匹配负载均衡实例的名称、域名、负载均衡实例的 VIP 地址,负载均衡实例ID。
|
3651
3617
|
# @type SearchKey: String
|
3652
|
-
# @param ProjectId: 负载均衡实例所属的项目 ID,可以通过
|
3618
|
+
# @param ProjectId: 负载均衡实例所属的项目 ID,可以通过[DescribeProject](https://cloud.tencent.com/document/api/651/78725) 接口获取,不传默认所有项目。
|
3653
3619
|
# @type ProjectId: Integer
|
3654
3620
|
# @param WithRs: 负载均衡是否绑定后端服务,0:没有绑定后端服务,1:绑定后端服务,-1:查询全部。
|
3655
3621
|
# @type WithRs: Integer
|
3656
3622
|
# @param VpcId: 负载均衡实例所属私有网络唯一ID,如 vpc-bhqkbhdx,
|
3657
|
-
#
|
3623
|
+
# 查找基础网络类型的负载均衡可传入'0'。
|
3658
3624
|
# @type VpcId: String
|
3659
3625
|
# @param SecurityGroup: 安全组ID,如 sg-m1cc****。
|
3660
3626
|
# @type SecurityGroup: String
|
3661
3627
|
# @param MasterZone: 主可用区ID,如 :"100001" (对应的是广州一区)。可通过[DescribeZones](https://cloud.tencent.com/document/product/213/15707)获取可用区列表。
|
3662
3628
|
# @type MasterZone: String
|
3663
|
-
# @param Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。<br/>`Filter.Name`和`Filter.Values
|
3629
|
+
# @param Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。<br/>`Filter.Name`和`Filter.Values`皆为必填项。详细的过滤条件如下:
|
3630
|
+
# - charge-type
|
3631
|
+
# 按照【实例计费模式】进行过滤。实例计费模式例如:PREPAID。
|
3632
|
+
# 类型:String
|
3633
|
+
# 必选:否
|
3634
|
+
# 可选项:PREPAID(预付费)、POSTPAID_BY_HOUR(后付费)
|
3635
|
+
# - internet-charge-type
|
3636
|
+
# 按照【网络计费模式】进行过滤。网络计费模式例如:BANDWIDTH_PREPAID。
|
3637
|
+
# 类型:String
|
3638
|
+
# 必选:否
|
3639
|
+
# 可选项:BANDWIDTH_PREPAID(预付费按带宽结算)、 TRAFFIC_POSTPAID_BY_HOUR(流量按小时后付费)、BANDWIDTH_POSTPAID_BY_HOUR(带宽按小时后付费)、BANDWIDTH_PACKAGE(带宽包用户)
|
3640
|
+
# - master-zone-id
|
3641
|
+
# 按照【CLB主可用区ID】进行过滤。例如:100001(对应的是广州一区)。
|
3642
|
+
# 类型:String
|
3643
|
+
# 必选:否
|
3644
|
+
# 获取方式:[DescribeZones](https://cloud.tencent.com/document/product/213/15707)
|
3645
|
+
# - tag-key
|
3646
|
+
# 按照【CLB 标签的键】进行过滤,例如:tag-key。
|
3647
|
+
# 类型:String
|
3648
|
+
# 必选:否
|
3649
|
+
# - tag:tag-key
|
3650
|
+
# 按照【CLB标签键值】进行过滤,例如:tag-test。
|
3651
|
+
# 类型:String
|
3652
|
+
# 必选:否
|
3653
|
+
# - function-name
|
3654
|
+
# 按照【后端绑定SCF云函数的函数名称】进行过滤,例如:helloworld-1744958255。
|
3655
|
+
# 类型:String
|
3656
|
+
# 必选:否
|
3657
|
+
# 获取方式:[ListFunctions](https://cloud.tencent.com/document/api/583/18582)
|
3658
|
+
# - vip-isp
|
3659
|
+
# 按照【CLB VIP的运营商类型】进行过滤,例如:BGP。
|
3660
|
+
# 类型:String
|
3661
|
+
# 必选:否
|
3662
|
+
# 公网类型可选项:BGP(多线)、CMCC(中国移动)、CTCC(中国电信)、CUCC(中国联通)
|
3663
|
+
# 内网类型可选项:INTERNAL(内网)
|
3664
|
+
# - sla-type
|
3665
|
+
# 按照【CLB 的性能容量型规格】进行过滤,例如:clb.c4.xlarge。
|
3666
|
+
# 类型:String
|
3667
|
+
# 必选:否
|
3668
|
+
# 可选项:clb.c2.medium(标准型)、clb.c3.small(高阶型1)、clb.c3.medium(高阶型2)、clb.c4.small(超强型1)、clb.c4.medium(超强型2)、clb.c4.large(超强型3)、clb.c4.xlarge(超强型4)
|
3669
|
+
# 具体规格参数参考:
|
3670
|
+
# - exclusive
|
3671
|
+
# 按照【独占实例】进行过滤。例如:1,代表筛选独占型实例。
|
3672
|
+
# 类型:String
|
3673
|
+
# 必选:否
|
3674
|
+
# 可选项:0、1
|
3664
3675
|
# @type Filters: Array
|
3665
3676
|
# @param AdditionalFields: 选择返回的扩充字段,不指定时,扩充字段默认不返回。详细支持的扩充字段如下:
|
3666
3677
|
# <li> TargetCount:绑定的后端服务数量</li>
|
@@ -4108,22 +4119,29 @@ module TencentCloud
|
|
4108
4119
|
class DescribeTargetHealthRequest < TencentCloud::Common::AbstractModel
|
4109
4120
|
# @param LoadBalancerIds: 要查询的负载均衡实例ID列表。
|
4110
4121
|
# @type LoadBalancerIds: Array
|
4122
|
+
# @param ListenerIds: 要查询的监听器ID列表。
|
4123
|
+
# @type ListenerIds: Array
|
4124
|
+
# @param LocationIds: 要查询的转发规则ID列表。
|
4125
|
+
# @type LocationIds: Array
|
4111
4126
|
|
4112
|
-
attr_accessor :LoadBalancerIds
|
4127
|
+
attr_accessor :LoadBalancerIds, :ListenerIds, :LocationIds
|
4113
4128
|
|
4114
|
-
def initialize(loadbalancerids=nil)
|
4129
|
+
def initialize(loadbalancerids=nil, listenerids=nil, locationids=nil)
|
4115
4130
|
@LoadBalancerIds = loadbalancerids
|
4131
|
+
@ListenerIds = listenerids
|
4132
|
+
@LocationIds = locationids
|
4116
4133
|
end
|
4117
4134
|
|
4118
4135
|
def deserialize(params)
|
4119
4136
|
@LoadBalancerIds = params['LoadBalancerIds']
|
4137
|
+
@ListenerIds = params['ListenerIds']
|
4138
|
+
@LocationIds = params['LocationIds']
|
4120
4139
|
end
|
4121
4140
|
end
|
4122
4141
|
|
4123
4142
|
# DescribeTargetHealth返回参数结构体
|
4124
4143
|
class DescribeTargetHealthResponse < TencentCloud::Common::AbstractModel
|
4125
4144
|
# @param LoadBalancers: 负载均衡实例列表。
|
4126
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4127
4145
|
# @type LoadBalancers: Array
|
4128
4146
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4129
4147
|
# @type RequestId: String
|
@@ -4193,7 +4211,6 @@ module TencentCloud
|
|
4193
4211
|
# DescribeTargets返回参数结构体
|
4194
4212
|
class DescribeTargetsResponse < TencentCloud::Common::AbstractModel
|
4195
4213
|
# @param Listeners: 监听器后端绑定的机器信息。
|
4196
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4197
4214
|
# @type Listeners: Array
|
4198
4215
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4199
4216
|
# @type RequestId: String
|
@@ -4398,10 +4415,8 @@ module TencentCloud
|
|
4398
4415
|
# 暂做保留,一般用户无需关注。
|
4399
4416
|
class ExtraInfo < TencentCloud::Common::AbstractModel
|
4400
4417
|
# @param ZhiTong: 是否开通VIP直通
|
4401
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4402
4418
|
# @type ZhiTong: Boolean
|
4403
4419
|
# @param TgwGroupName: TgwGroup名称
|
4404
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4405
4420
|
# @type TgwGroupName: String
|
4406
4421
|
|
4407
4422
|
attr_accessor :ZhiTong, :TgwGroupName
|
@@ -4469,7 +4484,6 @@ module TencentCloud
|
|
4469
4484
|
# SCF云函数(Serverless Cloud Function)作为后端服务
|
4470
4485
|
class FunctionTarget < TencentCloud::Common::AbstractModel
|
4471
4486
|
# @param Function: 云函数相关信息
|
4472
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4473
4487
|
# @type Function: :class:`Tencentcloud::Clb.v20180317.models.FunctionInfo`
|
4474
4488
|
# @param Weight: 权重
|
4475
4489
|
# @type Weight: Integer
|
@@ -4496,17 +4510,13 @@ module TencentCloud
|
|
4496
4510
|
# @param HealthSwitch: 是否开启健康检查:1(开启)、0(关闭)。
|
4497
4511
|
# @type HealthSwitch: Integer
|
4498
4512
|
# @param TimeOut: 健康检查的响应超时时间,可选值:2~60,默认值:2,单位:秒。响应超时时间要小于检查间隔时间。
|
4499
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4500
4513
|
# @type TimeOut: Integer
|
4501
4514
|
# @param IntervalTime: 健康检查探测间隔时间,默认值:5,IPv4 CLB实例的取值范围为:2-300,IPv6 CLB 实例的取值范围为:5-300。单位:秒。
|
4502
4515
|
# 说明:部分老旧 IPv4 CLB实例的取值范围为:5-300。
|
4503
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4504
4516
|
# @type IntervalTime: Integer
|
4505
4517
|
# @param HealthNum: 健康阈值,默认值:3,表示当连续探测三次健康则表示该转发正常,可选值:2~10,单位:次。
|
4506
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4507
4518
|
# @type HealthNum: Integer
|
4508
4519
|
# @param UnHealthNum: 不健康阈值,默认值:3,表示当连续探测三次不健康则表示该转发异常,可选值:2~10,单位:次。
|
4509
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4510
4520
|
# @type UnHealthNum: Integer
|
4511
4521
|
# @param HttpCode: 健康检查状态码(仅适用于HTTP/HTTPS转发规则、TCP监听器的HTTP健康检查方式)。可选值:1~31,默认 31。
|
4512
4522
|
# 1 表示探测后返回值 1xx 代表健康,2 表示返回 2xx 代表健康,4 表示返回 3xx 代表健康,8 表示返回 4xx 代表健康,16 表示返回 5xx 代表健康。若希望多种返回码都可代表健康,则将相应的值相加。
|
@@ -4534,13 +4544,11 @@ module TencentCloud
|
|
4534
4544
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4535
4545
|
# @type RecvContext: String
|
4536
4546
|
# @param CheckType: 健康检查使用的协议。取值 TCP | HTTP | HTTPS | GRPC | PING | CUSTOM,UDP监听器支持PING/CUSTOM,TCP监听器支持TCP/HTTP/CUSTOM,TCP_SSL/QUIC监听器支持TCP/HTTP,HTTP规则支持HTTP/GRPC,HTTPS规则支持HTTP/HTTPS/GRPC。HTTP监听器默认值为HTTP;TCP、TCP_SSL、QUIC监听器默认值为TCP;UDP监听器默认为PING;HTTPS监听器的CheckType默认值与后端转发协议一致。
|
4537
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4538
4547
|
# @type CheckType: String
|
4539
4548
|
# @param HttpVersion: HTTP版本。健康检查协议CheckType的值取HTTP时,必传此字段,代表后端服务的HTTP版本:HTTP/1.0、HTTP/1.1;(仅适用于TCP监听器)
|
4540
4549
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4541
4550
|
# @type HttpVersion: String
|
4542
4551
|
# @param SourceIpType: 健康检查源IP类型:0(使用LB的VIP作为源IP),1(使用100.64网段IP作为源IP)。
|
4543
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4544
4552
|
# @type SourceIpType: Integer
|
4545
4553
|
# @param ExtendedCode: GRPC健康检查状态码(仅适用于后端转发协议为GRPC的规则)。默认值为 12,可输入值为数值、多个数值、或者范围,例如 20 或 20,25 或 0-99
|
4546
4554
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -4607,7 +4615,6 @@ module TencentCloud
|
|
4607
4615
|
# @param Forward: 负载均衡类型标识,1:负载均衡,0:传统型负载均衡。
|
4608
4616
|
# @type Forward: Integer
|
4609
4617
|
# @param Domain: 负载均衡域名
|
4610
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4611
4618
|
# @type Domain: String
|
4612
4619
|
|
4613
4620
|
attr_accessor :LoadBalancerId, :LoadBalancerName, :Region, :Vip, :IdleReason, :Status, :Forward, :Domain
|
@@ -4848,13 +4855,11 @@ module TencentCloud
|
|
4848
4855
|
# 网络计费模式,最大出带宽
|
4849
4856
|
class InternetAccessible < TencentCloud::Common::AbstractModel
|
4850
4857
|
# @param InternetChargeType: TRAFFIC_POSTPAID_BY_HOUR 按流量按小时后计费 ; BANDWIDTH_POSTPAID_BY_HOUR 按带宽按小时后计费,国际站用户不支持该计费模式; BANDWIDTH_PACKAGE 按带宽包计费;BANDWIDTH_PREPAID按带宽预付费。
|
4851
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4852
4858
|
# @type InternetChargeType: String
|
4853
4859
|
# @param InternetMaxBandwidthOut: 最大出带宽,单位Mbps,仅对公网属性的共享型、性能容量型和独占型 CLB 实例、以及内网属性的性能容量型 CLB 实例生效。
|
4854
4860
|
# - 对于公网属性的共享型和独占型 CLB 实例,最大出带宽的范围为1Mbps-2048Mbps。
|
4855
4861
|
# - 对于公网属性和内网属性的性能容量型 CLB实例,最大出带宽的范围为1Mbps-61440Mbps。
|
4856
4862
|
# (调用CreateLoadBalancer创建LB时不指定此参数则设置为默认值10Mbps。此上限可调整)
|
4857
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4858
4863
|
# @type InternetMaxBandwidthOut: Integer
|
4859
4864
|
# @param BandwidthpkgSubType: 带宽包的类型,如SINGLEISP(单线)、BGP(多线)。
|
4860
4865
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -4922,10 +4927,8 @@ module TencentCloud
|
|
4922
4927
|
# lb实例包年包月相关配置属性
|
4923
4928
|
class LBChargePrepaid < TencentCloud::Common::AbstractModel
|
4924
4929
|
# @param RenewFlag: 续费类型:AUTO_RENEW 自动续费, MANUAL_RENEW 手动续费
|
4925
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4926
4930
|
# @type RenewFlag: String
|
4927
4931
|
# @param Period: 购买时长,单位:月
|
4928
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4929
4932
|
# @type Period: Integer
|
4930
4933
|
|
4931
4934
|
attr_accessor :RenewFlag, :Period
|
@@ -5005,10 +5008,8 @@ module TencentCloud
|
|
5005
5008
|
# @param Port: 绑定后端实例的端口。
|
5006
5009
|
# @type Port: Integer
|
5007
5010
|
# @param VpcId: rs的vpcId
|
5008
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5009
5011
|
# @type VpcId: Integer
|
5010
5012
|
# @param Weight: rs的权重
|
5011
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5012
5013
|
# @type Weight: Integer
|
5013
5014
|
|
5014
5015
|
attr_accessor :Type, :PrivateIp, :Port, :VpcId, :Weight
|
@@ -5051,19 +5052,15 @@ module TencentCloud
|
|
5051
5052
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5052
5053
|
# @type SessionExpireTime: Integer
|
5053
5054
|
# @param SniSwitch: 是否开启SNI特性,1:表示开启,0:表示不开启(本参数仅对于HTTPS监听器有意义)
|
5054
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5055
5055
|
# @type SniSwitch: Integer
|
5056
5056
|
# @param Rules: 监听器下的全部转发规则(本参数仅对于HTTP/HTTPS监听器有意义)
|
5057
5057
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5058
5058
|
# @type Rules: Array
|
5059
5059
|
# @param ListenerName: 监听器的名称
|
5060
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5061
5060
|
# @type ListenerName: String
|
5062
5061
|
# @param CreateTime: 监听器的创建时间。
|
5063
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5064
5062
|
# @type CreateTime: String
|
5065
5063
|
# @param EndPort: 端口段结束端口
|
5066
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5067
5064
|
# @type EndPort: Integer
|
5068
5065
|
# @param TargetType: 后端服务器类型
|
5069
5066
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -5072,39 +5069,34 @@ module TencentCloud
|
|
5072
5069
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5073
5070
|
# @type TargetGroup: :class:`Tencentcloud::Clb.v20180317.models.BasicTargetGroupInfo`
|
5074
5071
|
# @param SessionType: 会话保持类型。NORMAL表示默认会话保持类型。QUIC_CID 表示根据Quic Connection ID做会话保持。
|
5075
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5076
5072
|
# @type SessionType: String
|
5077
5073
|
# @param KeepaliveEnable: 是否开启长连接,1开启,0关闭,(本参数仅对于HTTP/HTTPS监听器有意义)
|
5078
5074
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5079
5075
|
# @type KeepaliveEnable: Integer
|
5080
5076
|
# @param Toa: 仅支持Nat64 CLB TCP监听器
|
5081
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5082
5077
|
# @type Toa: Boolean
|
5083
5078
|
# @param DeregisterTargetRst: 解绑后端目标时,是否发RST给客户端,(此参数仅对于TCP监听器有意义)。
|
5084
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5085
5079
|
# @type DeregisterTargetRst: Boolean
|
5086
5080
|
# @param AttrFlags: 监听器的属性
|
5087
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5088
5081
|
# @type AttrFlags: Array
|
5089
5082
|
# @param TargetGroupList: 绑定的目标组列表
|
5090
5083
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5091
5084
|
# @type TargetGroupList: Array
|
5092
5085
|
# @param MaxConn: 监听器最大连接数,-1表示监听器维度不限速。
|
5093
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5094
5086
|
# @type MaxConn: Integer
|
5095
5087
|
# @param MaxCps: 监听器最大新增连接数,-1表示监听器维度不限速。
|
5096
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5097
5088
|
# @type MaxCps: Integer
|
5098
5089
|
# @param IdleConnectTimeout: 空闲连接超时时间,仅支持TCP监听器。默认值:900;共享型实例和独占型实例取值范围:300~900,性能容量型实例取值范围:300~1980。
|
5099
5090
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5100
5091
|
# @type IdleConnectTimeout: Integer
|
5101
5092
|
# @param RescheduleInterval: 调度时间。触发强制重新调度后,长连接将会在设置的调度时间内断开并完成重新分配
|
5102
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5103
5093
|
# @type RescheduleInterval: Integer
|
5094
|
+
# @param DataCompressMode: 数据压缩模式
|
5095
|
+
# @type DataCompressMode: String
|
5104
5096
|
|
5105
|
-
attr_accessor :ListenerId, :Protocol, :Port, :Certificate, :HealthCheck, :Scheduler, :SessionExpireTime, :SniSwitch, :Rules, :ListenerName, :CreateTime, :EndPort, :TargetType, :TargetGroup, :SessionType, :KeepaliveEnable, :Toa, :DeregisterTargetRst, :AttrFlags, :TargetGroupList, :MaxConn, :MaxCps, :IdleConnectTimeout, :RescheduleInterval
|
5097
|
+
attr_accessor :ListenerId, :Protocol, :Port, :Certificate, :HealthCheck, :Scheduler, :SessionExpireTime, :SniSwitch, :Rules, :ListenerName, :CreateTime, :EndPort, :TargetType, :TargetGroup, :SessionType, :KeepaliveEnable, :Toa, :DeregisterTargetRst, :AttrFlags, :TargetGroupList, :MaxConn, :MaxCps, :IdleConnectTimeout, :RescheduleInterval, :DataCompressMode
|
5106
5098
|
|
5107
|
-
def initialize(listenerid=nil, protocol=nil, port=nil, certificate=nil, healthcheck=nil, scheduler=nil, sessionexpiretime=nil, sniswitch=nil, rules=nil, listenername=nil, createtime=nil, endport=nil, targettype=nil, targetgroup=nil, sessiontype=nil, keepaliveenable=nil, toa=nil, deregistertargetrst=nil, attrflags=nil, targetgrouplist=nil, maxconn=nil, maxcps=nil, idleconnecttimeout=nil, rescheduleinterval=nil)
|
5099
|
+
def initialize(listenerid=nil, protocol=nil, port=nil, certificate=nil, healthcheck=nil, scheduler=nil, sessionexpiretime=nil, sniswitch=nil, rules=nil, listenername=nil, createtime=nil, endport=nil, targettype=nil, targetgroup=nil, sessiontype=nil, keepaliveenable=nil, toa=nil, deregistertargetrst=nil, attrflags=nil, targetgrouplist=nil, maxconn=nil, maxcps=nil, idleconnecttimeout=nil, rescheduleinterval=nil, datacompressmode=nil)
|
5108
5100
|
@ListenerId = listenerid
|
5109
5101
|
@Protocol = protocol
|
5110
5102
|
@Port = port
|
@@ -5129,6 +5121,7 @@ module TencentCloud
|
|
5129
5121
|
@MaxCps = maxcps
|
5130
5122
|
@IdleConnectTimeout = idleconnecttimeout
|
5131
5123
|
@RescheduleInterval = rescheduleinterval
|
5124
|
+
@DataCompressMode = datacompressmode
|
5132
5125
|
end
|
5133
5126
|
|
5134
5127
|
def deserialize(params)
|
@@ -5179,6 +5172,7 @@ module TencentCloud
|
|
5179
5172
|
@MaxCps = params['MaxCps']
|
5180
5173
|
@IdleConnectTimeout = params['IdleConnectTimeout']
|
5181
5174
|
@RescheduleInterval = params['RescheduleInterval']
|
5175
|
+
@DataCompressMode = params['DataCompressMode']
|
5182
5176
|
end
|
5183
5177
|
end
|
5184
5178
|
|
@@ -5191,13 +5185,10 @@ module TencentCloud
|
|
5191
5185
|
# @param Port: 监听器的端口
|
5192
5186
|
# @type Port: Integer
|
5193
5187
|
# @param Rules: 监听器下的规则信息(仅适用于HTTP/HTTPS监听器)
|
5194
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5195
5188
|
# @type Rules: Array
|
5196
5189
|
# @param Targets: 监听器上绑定的后端服务列表(仅适用于TCP/UDP/TCP_SSL监听器)
|
5197
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5198
5190
|
# @type Targets: Array
|
5199
5191
|
# @param EndPort: 若支持端口段,则为端口段结束端口;若不支持端口段,则为0
|
5200
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5201
5192
|
# @type EndPort: Integer
|
5202
5193
|
|
5203
5194
|
attr_accessor :ListenerId, :Protocol, :Port, :Rules, :Targets, :EndPort
|
@@ -5240,14 +5231,12 @@ module TencentCloud
|
|
5240
5231
|
# @param ListenerId: 监听器ID
|
5241
5232
|
# @type ListenerId: String
|
5242
5233
|
# @param ListenerName: 监听器名称
|
5243
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5244
5234
|
# @type ListenerName: String
|
5245
5235
|
# @param Protocol: 监听器的协议
|
5246
5236
|
# @type Protocol: String
|
5247
5237
|
# @param Port: 监听器的端口
|
5248
5238
|
# @type Port: Integer
|
5249
5239
|
# @param Rules: 监听器的转发规则列表
|
5250
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5251
5240
|
# @type Rules: Array
|
5252
5241
|
|
5253
5242
|
attr_accessor :ListenerId, :ListenerName, :Protocol, :Port, :Rules
|
@@ -5291,7 +5280,6 @@ module TencentCloud
|
|
5291
5280
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5292
5281
|
# @type Targets: Array
|
5293
5282
|
# @param EndPort: 端口段监听器的结束端口
|
5294
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5295
5283
|
# @type EndPort: Integer
|
5296
5284
|
|
5297
5285
|
attr_accessor :ListenerId, :Protocol, :Port, :Rules, :Targets, :EndPort
|
@@ -5336,63 +5324,49 @@ module TencentCloud
|
|
5336
5324
|
# @param LoadBalancerName: 负载均衡实例的名称。
|
5337
5325
|
# @type LoadBalancerName: String
|
5338
5326
|
# @param LoadBalancerType: 负载均衡实例的网络类型:
|
5339
|
-
# OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均衡,可通过绑定EIP出公网,具体可参考EIP
|
5327
|
+
# OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均衡,可通过绑定EIP出公网,具体可参考EIP文档[绑定弹性公网IP](https://cloud.tencent.com/document/product/215/16700)。
|
5340
5328
|
# @type LoadBalancerType: String
|
5341
5329
|
# @param Forward: 负载均衡类型标识,1:负载均衡,0:传统型负载均衡。
|
5342
5330
|
# @type Forward: Integer
|
5343
5331
|
# @param Domain: 负载均衡实例的域名,仅公网传统型和域名型负载均衡实例才提供该字段。逐步下线中,建议用LoadBalancerDomain替代。
|
5344
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5345
5332
|
# @type Domain: String
|
5346
5333
|
# @param LoadBalancerVips: 负载均衡实例的 VIP 列表。
|
5347
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5348
5334
|
# @type LoadBalancerVips: Array
|
5349
5335
|
# @param Status: 负载均衡实例的状态,包括
|
5350
5336
|
# 0:创建中,1:正常运行。
|
5351
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5352
5337
|
# @type Status: Integer
|
5353
5338
|
# @param CreateTime: 负载均衡实例的创建时间。
|
5354
|
-
#
|
5339
|
+
# 格式:YYYY-MM-DD HH:mm:ss
|
5355
5340
|
# @type CreateTime: String
|
5356
5341
|
# @param StatusTime: 负载均衡实例的上次状态转换时间。
|
5357
|
-
#
|
5342
|
+
# 格式:YYYY-MM-DD HH:mm:ss
|
5358
5343
|
# @type StatusTime: String
|
5359
5344
|
# @param ProjectId: 负载均衡实例所属的项目 ID, 0 表示默认项目。
|
5360
5345
|
# @type ProjectId: Integer
|
5361
5346
|
# @param VpcId: 私有网络的 ID
|
5362
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5363
5347
|
# @type VpcId: String
|
5364
5348
|
# @param OpenBgp: 高防 LB 的标识,1:高防负载均衡 0:非高防负载均衡。
|
5365
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5366
5349
|
# @type OpenBgp: Integer
|
5367
5350
|
# @param Snat: 在 2016 年 12 月份之前的传统型内网负载均衡都是开启了 snat 的。
|
5368
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5369
5351
|
# @type Snat: Boolean
|
5370
5352
|
# @param Isolation: 0:表示未被隔离,1:表示被隔离。
|
5371
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5372
5353
|
# @type Isolation: Integer
|
5373
5354
|
# @param Log: 用户开启日志的信息,日志只有公网属性创建了 HTTP 、HTTPS 监听器的负载均衡才会有日志。
|
5374
5355
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5375
5356
|
# @type Log: String
|
5376
5357
|
# @param SubnetId: 负载均衡实例所在的子网(仅对内网VPC型LB有意义)
|
5377
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5378
5358
|
# @type SubnetId: String
|
5379
5359
|
# @param Tags: 负载均衡实例的标签信息
|
5380
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5381
5360
|
# @type Tags: Array
|
5382
5361
|
# @param SecureGroups: 负载均衡实例的安全组
|
5383
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5384
5362
|
# @type SecureGroups: Array
|
5385
5363
|
# @param TargetRegionInfo: 负载均衡实例绑定的后端设备的基本信息
|
5386
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5387
5364
|
# @type TargetRegionInfo: :class:`Tencentcloud::Clb.v20180317.models.TargetRegionInfo`
|
5388
5365
|
# @param AnycastZone: anycast负载均衡的发布域,对于非anycast的负载均衡,此字段返回为空字符串
|
5389
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5390
5366
|
# @type AnycastZone: String
|
5391
5367
|
# @param AddressIPVersion: IP版本,ipv4 | ipv6
|
5392
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5393
5368
|
# @type AddressIPVersion: String
|
5394
|
-
# @param NumericalVpcId: 数值形式的私有网络 ID
|
5395
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5369
|
+
# @param NumericalVpcId: 数值形式的私有网络 ID。
|
5396
5370
|
# @type NumericalVpcId: Integer
|
5397
5371
|
# @param VipIsp: 负载均衡IP地址所属的运营商。
|
5398
5372
|
|
@@ -5408,10 +5382,12 @@ module TencentCloud
|
|
5408
5382
|
# @param BackupZoneSet: 备可用区
|
5409
5383
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5410
5384
|
# @type BackupZoneSet: Array
|
5411
|
-
# @param IsolatedTime:
|
5385
|
+
# @param IsolatedTime: 负载均衡实例被隔离的时间。
|
5386
|
+
# 格式:YYYY-MM-DD HH:mm:ss
|
5412
5387
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5413
5388
|
# @type IsolatedTime: String
|
5414
|
-
# @param ExpireTime:
|
5389
|
+
# @param ExpireTime: 负载均衡实例的过期时间,仅对预付费负载均衡生效。
|
5390
|
+
# 格式:YYYY-MM-DD HH:mm:ss
|
5415
5391
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5416
5392
|
# @type ExpireTime: String
|
5417
5393
|
# @param ChargeType: 负载均衡实例的计费类型,PREPAID:包年包月,POSTPAID_BY_HOUR:按量计费
|
@@ -5420,14 +5396,12 @@ module TencentCloud
|
|
5420
5396
|
# @param NetworkAttributes: 负载均衡实例的网络属性
|
5421
5397
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5422
5398
|
# @type NetworkAttributes: :class:`Tencentcloud::Clb.v20180317.models.InternetAccessible`
|
5423
|
-
# @param PrepaidAttributes:
|
5399
|
+
# @param PrepaidAttributes: 负载均衡实例的预付费相关属性,仅在 ChargeType=PREPAID 时显示。
|
5424
5400
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5425
5401
|
# @type PrepaidAttributes: :class:`Tencentcloud::Clb.v20180317.models.LBChargePrepaid`
|
5426
5402
|
# @param LogSetId: 负载均衡日志服务(CLS)的日志集ID
|
5427
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5428
5403
|
# @type LogSetId: String
|
5429
5404
|
# @param LogTopicId: 负载均衡日志服务(CLS)的日志主题ID
|
5430
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5431
5405
|
# @type LogTopicId: String
|
5432
5406
|
# @param AddressIPv6: 负载均衡实例的IPv6地址
|
5433
5407
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -5436,43 +5410,35 @@ module TencentCloud
|
|
5436
5410
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5437
5411
|
# @type ExtraInfo: :class:`Tencentcloud::Clb.v20180317.models.ExtraInfo`
|
5438
5412
|
# @param IsDDos: 是否可绑定高防包
|
5439
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5440
5413
|
# @type IsDDos: Boolean
|
5441
5414
|
# @param ConfigId: 负载均衡维度的个性化配置ID
|
5442
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5443
5415
|
# @type ConfigId: String
|
5444
5416
|
# @param LoadBalancerPassToTarget: 后端服务是否放通来自LB的流量
|
5445
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5446
5417
|
# @type LoadBalancerPassToTarget: Boolean
|
5447
5418
|
# @param ExclusiveCluster: 内网独占集群
|
5448
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5449
5419
|
# @type ExclusiveCluster: :class:`Tencentcloud::Clb.v20180317.models.ExclusiveCluster`
|
5450
|
-
# @param IPv6Mode: IP地址版本为ipv6时此字段有意义,
|
5420
|
+
# @param IPv6Mode: IP地址版本为ipv6时此字段有意义,IPv6Nat64 | IPv6FullChain。
|
5421
|
+
# IPv6Nat64: 基于 NAT64 IPv6 过渡技术实现的负载均衡器。
|
5422
|
+
# IPv6FullChain:基于 IPv6 单栈技术实现的负载均衡。
|
5451
5423
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5452
5424
|
# @type IPv6Mode: String
|
5453
5425
|
# @param SnatPro: 是否开启SnatPro。
|
5454
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5455
5426
|
# @type SnatPro: Boolean
|
5456
5427
|
# @param SnatIps: 开启SnatPro负载均衡后,SnatIp列表。
|
5457
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5458
5428
|
# @type SnatIps: Array
|
5459
5429
|
# @param SlaType: 性能容量型规格。<ul><li> clb.c1.small:简约型规格 </li><li> clb.c2.medium:标准型规格 </li><li> clb.c3.small:高阶型1规格 </li><li> clb.c3.medium:高阶型2规格 </li><li> clb.c4.small:超强型1规格 </li><li> clb.c4.medium:超强型2规格 </li><li> clb.c4.large:超强型3规格 </li><li> clb.c4.xlarge:超强型4规格 </li><li>"":非性能容量型实例</li></ul>
|
5460
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5461
5430
|
# @type SlaType: String
|
5462
5431
|
# @param IsBlock: vip是否被封堵
|
5463
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5464
5432
|
# @type IsBlock: Boolean
|
5465
|
-
# @param IsBlockTime:
|
5466
|
-
#
|
5433
|
+
# @param IsBlockTime: 封堵或解封时间。
|
5434
|
+
# 格式:YYYY-MM-DD HH:mm:ss。
|
5467
5435
|
# @type IsBlockTime: String
|
5468
5436
|
# @param LocalBgp: IP类型是否是本地BGP
|
5469
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5470
5437
|
# @type LocalBgp: Boolean
|
5471
5438
|
# @param ClusterTag: 7层独占标签。
|
5472
5439
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5473
5440
|
# @type ClusterTag: String
|
5474
5441
|
# @param MixIpTarget: 开启IPv6FullChain负载均衡7层监听器支持混绑IPv4/IPv6目标功能。
|
5475
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5476
5442
|
# @type MixIpTarget: Boolean
|
5477
5443
|
# @param Zones: 私有网络内网负载均衡,就近接入模式下规则所落在的可用区
|
5478
5444
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -5481,22 +5447,38 @@ module TencentCloud
|
|
5481
5447
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5482
5448
|
# @type NfvInfo: String
|
5483
5449
|
# @param HealthLogSetId: 负载均衡日志服务(CLS)的健康检查日志集ID
|
5484
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5485
5450
|
# @type HealthLogSetId: String
|
5486
5451
|
# @param HealthLogTopicId: 负载均衡日志服务(CLS)的健康检查日志主题ID
|
5487
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5488
5452
|
# @type HealthLogTopicId: String
|
5489
5453
|
# @param ClusterIds: 集群ID
|
5490
5454
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5491
5455
|
# @type ClusterIds: Array
|
5492
|
-
# @param AttributeFlags:
|
5493
|
-
#
|
5456
|
+
# @param AttributeFlags: 负载均衡的属性,按位来决定是否开启
|
5457
|
+
# 2^0: 删除保护,开启后防止负载均衡被误删除。
|
5458
|
+
# 2^1: 用户不可见,控制负载均衡对用户的可见性。
|
5459
|
+
# 2^2: 阻塞状态,可能用于限制负载均衡的某些操作或流量。
|
5460
|
+
# 2^3: 禁用负载均衡的NAT功能,可能用于特定场景下的流量直接转发。
|
5461
|
+
# 2^4: 封禁状态,可能用于暂停负载均衡服务或限制访问。
|
5462
|
+
# 2^5: 升配标志,可能用于标识负载均衡需要升级配置或性能。
|
5463
|
+
# 2^6: 停止状态,开启后负载均衡暂停服务。
|
5464
|
+
# 2^7: 不使用VPC网关,可能用于绕过VPC网关直接处理流量。
|
5465
|
+
# 2^8: 安全组在TGW(Transit Gateway)中,涉及网络安全策略配置。
|
5466
|
+
# 2^9: 共享限制标志,可能用于控制负载均衡的共享资源限制。
|
5467
|
+
# 2^10: Web应用防火墙(WAF)标志,开启后启用WAF保护。
|
5468
|
+
# 2^11: 域名型负载均衡,标识负载均衡是否基于域名进行流量分发。
|
5469
|
+
# 2^12: IPv6源地址转换(SNAT),用于IPv6网络的源地址处理。
|
5470
|
+
# 2^13: 隐藏域名,可能用于隐私保护或特定场景下不暴露域名。
|
5471
|
+
# 2^14: 巨型帧支持,开启后支持更大的数据帧以提高网络效率。
|
5472
|
+
# 2^15: 四层IP直连无NAT,可能用于四层负载均衡直接转发IP流量。
|
5473
|
+
# 2^16: VPC网关三层服务,可能涉及三层网络服务的网关功能。
|
5474
|
+
# 2^17: IPv6扩展标志,可能用于特定的IPv6功能支持。
|
5475
|
+
# 2^18: IPv6独占标志,可能用于专属IPv6流量处理。
|
5476
|
+
# 2^19: BGP专业版支持,可能涉及高级BGP路由功能。
|
5477
|
+
# 2^20: TOA(TCP Option Address)清理,清除TCP选项中的地址信息。
|
5494
5478
|
# @type AttributeFlags: Array
|
5495
5479
|
# @param LoadBalancerDomain: 负载均衡实例的域名。
|
5496
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5497
5480
|
# @type LoadBalancerDomain: String
|
5498
5481
|
# @param Egress: 网络出口
|
5499
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5500
5482
|
# @type Egress: String
|
5501
5483
|
# @param Exclusive: 实例类型是否为独占型。1:独占型实例。0:非独占型实例。
|
5502
5484
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -5783,10 +5765,8 @@ module TencentCloud
|
|
5783
5765
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5784
5766
|
# @type SniSwitch: Integer
|
5785
5767
|
# @param LoadBalancerDomain: 负载均衡实例的域名。
|
5786
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5787
5768
|
# @type LoadBalancerDomain: String
|
5788
5769
|
# @param Egress: 网络出口
|
5789
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5790
5770
|
# @type Egress: String
|
5791
5771
|
# @param AttributeFlags: 负载均衡的属性
|
5792
5772
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -5913,10 +5893,8 @@ module TencentCloud
|
|
5913
5893
|
# @param LoadBalancerId: 负载均衡实例ID
|
5914
5894
|
# @type LoadBalancerId: String
|
5915
5895
|
# @param LoadBalancerName: 负载均衡实例名称
|
5916
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5917
5896
|
# @type LoadBalancerName: String
|
5918
5897
|
# @param Listeners: 监听器列表
|
5919
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5920
5898
|
# @type Listeners: Array
|
5921
5899
|
|
5922
5900
|
attr_accessor :LoadBalancerId, :LoadBalancerName, :Listeners
|
@@ -5954,7 +5932,6 @@ module TencentCloud
|
|
5954
5932
|
# @param OutBandwidth: 最大出带宽,单位:Mbps
|
5955
5933
|
# @type OutBandwidth: Float
|
5956
5934
|
# @param Domain: CLB域名
|
5957
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5958
5935
|
# @type Domain: String
|
5959
5936
|
|
5960
5937
|
attr_accessor :LoadBalancerId, :LoadBalancerName, :Region, :Vip, :OutBandwidth, :Domain
|
@@ -7021,11 +6998,9 @@ module TencentCloud
|
|
7021
6998
|
# @param OAuthEnable: 开启或关闭鉴权。
|
7022
6999
|
# True: 开启;
|
7023
7000
|
# False: 关闭
|
7024
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7025
7001
|
# @type OAuthEnable: Boolean
|
7026
7002
|
# @param OAuthFailureStatus: IAP全部故障后,拒绝请求还是放行。BYPASS:通过,
|
7027
7003
|
# REJECT: 拒绝
|
7028
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7029
7004
|
# @type OAuthFailureStatus: String
|
7030
7005
|
|
7031
7006
|
attr_accessor :OAuthEnable, :OAuthFailureStatus
|
@@ -7044,7 +7019,6 @@ module TencentCloud
|
|
7044
7019
|
# 表示负载均衡的价格
|
7045
7020
|
class Price < TencentCloud::Common::AbstractModel
|
7046
7021
|
# @param InstancePrice: 描述了实例价格。
|
7047
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7048
7022
|
# @type InstancePrice: :class:`Tencentcloud::Clb.v20180317.models.ItemPrice`
|
7049
7023
|
# @param BandwidthPrice: 描述了网络价格。
|
7050
7024
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -7359,10 +7333,8 @@ module TencentCloud
|
|
7359
7333
|
# @param Isp: 运营商信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
|
7360
7334
|
# @type Isp: String
|
7361
7335
|
# @param AvailabilitySet: 可用资源。
|
7362
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7363
7336
|
# @type AvailabilitySet: Array
|
7364
7337
|
# @param TypeSet: 运营商类型信息
|
7365
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7366
7338
|
# @type TypeSet: Array
|
7367
7339
|
|
7368
7340
|
attr_accessor :Type, :Isp, :AvailabilitySet, :TypeSet
|
@@ -7457,13 +7429,10 @@ module TencentCloud
|
|
7457
7429
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7458
7430
|
# @type TargetLocationId: String
|
7459
7431
|
# @param RewriteCode: 重定向状态码
|
7460
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7461
7432
|
# @type RewriteCode: Integer
|
7462
7433
|
# @param TakeUrl: 重定向是否携带匹配的url
|
7463
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7464
7434
|
# @type TakeUrl: Boolean
|
7465
7435
|
# @param RewriteType: 重定向类型,Manual: 手动重定向,Auto: 自动重定向
|
7466
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7467
7436
|
# @type RewriteType: String
|
7468
7437
|
|
7469
7438
|
attr_accessor :TargetListenerId, :TargetLocationId, :RewriteCode, :TakeUrl, :RewriteType
|
@@ -7579,7 +7548,6 @@ module TencentCloud
|
|
7579
7548
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7580
7549
|
# @type Url: String
|
7581
7550
|
# @param Targets: 本规则上绑定的后端服务的健康检查状态
|
7582
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7583
7551
|
# @type Targets: Array
|
7584
7552
|
|
7585
7553
|
attr_accessor :LocationId, :Domain, :Url, :Targets
|
@@ -7693,15 +7661,12 @@ module TencentCloud
|
|
7693
7661
|
# @param LocationId: 转发规则的 ID
|
7694
7662
|
# @type LocationId: String
|
7695
7663
|
# @param Domain: 转发规则的域名。
|
7696
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7697
7664
|
# @type Domain: String
|
7698
7665
|
# @param Url: 转发规则的路径。
|
7699
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7700
7666
|
# @type Url: String
|
7701
7667
|
# @param SessionExpireTime: 会话保持时间
|
7702
7668
|
# @type SessionExpireTime: Integer
|
7703
7669
|
# @param HealthCheck: 健康检查信息
|
7704
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7705
7670
|
# @type HealthCheck: :class:`Tencentcloud::Clb.v20180317.models.HealthCheck`
|
7706
7671
|
# @param Certificate: 证书信息
|
7707
7672
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -7712,7 +7677,6 @@ module TencentCloud
|
|
7712
7677
|
# @param ListenerId: 转发规则所属的监听器 ID
|
7713
7678
|
# @type ListenerId: String
|
7714
7679
|
# @param RewriteTarget: 转发规则的重定向目标信息
|
7715
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7716
7680
|
# @type RewriteTarget: :class:`Tencentcloud::Clb.v20180317.models.RewriteTarget`
|
7717
7681
|
# @param HttpGzip: 是否开启gzip
|
7718
7682
|
# @type HttpGzip: Boolean
|
@@ -7732,25 +7696,19 @@ module TencentCloud
|
|
7732
7696
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7733
7697
|
# @type TargetGroup: :class:`Tencentcloud::Clb.v20180317.models.BasicTargetGroupInfo`
|
7734
7698
|
# @param WafDomainId: WAF实例ID
|
7735
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7736
7699
|
# @type WafDomainId: String
|
7737
7700
|
# @param TrpcCallee: TRPC被调服务器路由,ForwardType为TRPC时有效。目前暂未对外开放。
|
7738
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7739
7701
|
# @type TrpcCallee: String
|
7740
7702
|
# @param TrpcFunc: TRPC调用服务接口,ForwardType为TRPC时有效。目前暂未对外开放。
|
7741
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7742
7703
|
# @type TrpcFunc: String
|
7743
7704
|
# @param QuicStatus: QUIC状态。QUIC_ACTIVE表示开启,QUIC_INACTIVE表示未开启。注意,只有HTTPS域名才能开启QUIC。
|
7744
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7745
7705
|
# @type QuicStatus: String
|
7746
7706
|
# @param Domains: 转发规则的域名列表。
|
7747
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7748
7707
|
# @type Domains: Array
|
7749
7708
|
# @param TargetGroupList: 绑定的目标组列表
|
7750
7709
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7751
7710
|
# @type TargetGroupList: Array
|
7752
7711
|
# @param OAuth: OAuth配置状态信息。
|
7753
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7754
7712
|
# @type OAuth: :class:`Tencentcloud::Clb.v20180317.models.OAuth`
|
7755
7713
|
|
7756
7714
|
attr_accessor :LocationId, :Domain, :Url, :SessionExpireTime, :HealthCheck, :Certificate, :Scheduler, :ListenerId, :RewriteTarget, :HttpGzip, :BeAutoCreated, :DefaultServer, :Http2, :ForwardType, :CreateTime, :TargetType, :TargetGroup, :WafDomainId, :TrpcCallee, :TrpcFunc, :QuicStatus, :Domains, :TargetGroupList, :OAuth
|
@@ -7841,10 +7799,8 @@ module TencentCloud
|
|
7841
7799
|
# @param Url: 转发规则的路径。
|
7842
7800
|
# @type Url: String
|
7843
7801
|
# @param Targets: 后端服务的信息
|
7844
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7845
7802
|
# @type Targets: Array
|
7846
7803
|
# @param FunctionTargets: 后端云函数的信息
|
7847
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7848
7804
|
# @type FunctionTargets: Array
|
7849
7805
|
|
7850
7806
|
attr_accessor :LocationId, :Domain, :Url, :Targets, :FunctionTargets
|
@@ -8192,11 +8148,8 @@ module TencentCloud
|
|
8192
8148
|
# @param SpecType: 规格类型。
|
8193
8149
|
# <li>clb.c2.medium(标准型)</li><li>clb.c3.small(高阶型1)</li><li>clb.c3.medium(高阶型2)</li>
|
8194
8150
|
# <li>clb.c4.small(超强型1)</li><li>clb.c4.medium(超强型2)</li><li>clb.c4.large(超强型3)</li><li>clb.c4.xlarge(超强型4)</li><li>shared(共享型)</li>
|
8195
|
-
|
8196
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8197
8151
|
# @type SpecType: String
|
8198
8152
|
# @param Availability: 规格可用性。资源可用性,"Available":可用,"Unavailable":不可用
|
8199
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8200
8153
|
# @type Availability: String
|
8201
8154
|
|
8202
8155
|
attr_accessor :SpecType, :Availability
|
@@ -8236,23 +8189,18 @@ module TencentCloud
|
|
8236
8189
|
class Target < TencentCloud::Common::AbstractModel
|
8237
8190
|
# @param Port: 后端服务的监听端口。
|
8238
8191
|
# 注意:绑定CVM(云服务器)或ENI(弹性网卡)时必传此参数
|
8239
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8240
8192
|
# @type Port: Integer
|
8241
8193
|
# @param Type: 后端服务的类型,可取:CVM(云服务器)、ENI(弹性网卡);作为入参时,目前本参数暂不生效。
|
8242
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8243
8194
|
# @type Type: String
|
8244
8195
|
# @param InstanceId: 绑定CVM时需要传入此参数,代表CVM的唯一 ID,可通过 DescribeInstances 接口返回字段中的 InstanceId 字段获取。表示绑定主网卡主IPv4地址;以下场景都不支持指定InstanceId:绑定非CVM,绑定CVM上的辅助网卡IP,通过跨域2.0绑定CVM,以及绑定CVM的IPv6地址等。
|
8245
8196
|
# 注意:参数 InstanceId、EniIp 有且只能传入其中一个参数。
|
8246
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8247
8197
|
# @type InstanceId: String
|
8248
8198
|
# @param Weight: 后端服务修改后的转发权重,取值范围:[0, 100],默认为 10。此参数的优先级高于[RsWeightRule](https://cloud.tencent.com/document/api/214/30694#RsWeightRule)中的Weight参数,即最终的权重值以此Weight参数值为准,仅当此Weight参数为空时,才以RsWeightRule中的Weight参数为准。
|
8249
8199
|
# @type Weight: Integer
|
8250
8200
|
# @param EniIp: 绑定IP时需要传入此参数,支持弹性网卡的IP和其他内网IP,如果是弹性网卡则必须先绑定至CVM,然后才能绑定到负载均衡实例。
|
8251
8201
|
# 注意:参数 InstanceId、EniIp 有且只能传入其中一个参数。如果绑定双栈IPV6子机,则必须传该参数。如果是跨地域绑定,则必须传该参数,不支持传InstanceId参数。
|
8252
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8253
8202
|
# @type EniIp: String
|
8254
8203
|
# @param Tag: 标签。
|
8255
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8256
8204
|
# @type Tag: String
|
8257
8205
|
|
8258
8206
|
attr_accessor :Port, :Type, :InstanceId, :Weight, :EniIp, :Tag
|
@@ -8321,22 +8269,17 @@ module TencentCloud
|
|
8321
8269
|
# @param Weight: 后端服务的转发权重,取值范围:[0, 100],默认为 10。
|
8322
8270
|
# @type Weight: Integer
|
8323
8271
|
# @param PublicIpAddresses: 后端服务的外网 IP
|
8324
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8325
8272
|
# @type PublicIpAddresses: Array
|
8326
8273
|
# @param PrivateIpAddresses: 后端服务的内网 IP
|
8327
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8328
8274
|
# @type PrivateIpAddresses: Array
|
8329
8275
|
# @param InstanceName: 后端服务的实例名称
|
8330
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8331
8276
|
# @type InstanceName: String
|
8332
8277
|
# @param RegisteredTime: 后端服务被绑定的时间
|
8333
8278
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8334
8279
|
# @type RegisteredTime: String
|
8335
8280
|
# @param EniId: 弹性网卡唯一ID
|
8336
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8337
8281
|
# @type EniId: String
|
8338
8282
|
# @param ZoneId: 后端服务的可用区ID
|
8339
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8340
8283
|
# @type ZoneId: Integer
|
8341
8284
|
|
8342
8285
|
attr_accessor :TargetGroupId, :Type, :InstanceId, :Port, :Weight, :PublicIpAddresses, :PrivateIpAddresses, :InstanceName, :RegisteredTime, :EniId, :ZoneId
|
@@ -8393,18 +8336,14 @@ module TencentCloud
|
|
8393
8336
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8394
8337
|
# @type Protocol: String
|
8395
8338
|
# @param TargetGroupType: 目标组类型,当前支持v1(旧版目标组), v2(新版目标组), gwlb(全局负载均衡目标组)。
|
8396
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8397
8339
|
# @type TargetGroupType: String
|
8398
8340
|
# @param AssociatedRuleCount: 目标组已关联的规则数。
|
8399
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8400
8341
|
# @type AssociatedRuleCount: Integer
|
8401
8342
|
# @param RegisteredInstancesCount: 目标组内的实例数量。
|
8402
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8403
8343
|
# @type RegisteredInstancesCount: Integer
|
8404
8344
|
# @param Tag: 标签。
|
8405
8345
|
# @type Tag: Array
|
8406
8346
|
# @param Weight: 默认权重。只有v2类型目标组返回该字段。当返回为NULL时, 表示未设置默认权重。
|
8407
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8408
8347
|
# @type Weight: Integer
|
8409
8348
|
# @param FullListenSwitch: 是否全监听目标组
|
8410
8349
|
# @type FullListenSwitch: Boolean
|
@@ -8505,15 +8444,16 @@ module TencentCloud
|
|
8505
8444
|
# @param HealthStatusDetial: (**该参数对象即将下线,不推荐使用,请使用HealthStatusDetail获取健康详情**) 当前健康状态的详细信息。如:Alive、Dead、Unknown。Alive状态为健康,Dead状态为异常,Unknown状态包括尚未开始探测、探测中、状态未知。
|
8506
8445
|
# @type HealthStatusDetial: String
|
8507
8446
|
# @param TargetGroupId: 目标组唯一ID。
|
8508
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8509
8447
|
# @type TargetGroupId: String
|
8448
|
+
# @param Weight: Target的权重。
|
8449
|
+
# @type Weight: Integer
|
8510
8450
|
|
8511
|
-
attr_accessor :IP, :Port, :HealthStatus, :TargetId, :HealthStatusDetail, :HealthStatusDetial, :TargetGroupId
|
8451
|
+
attr_accessor :IP, :Port, :HealthStatus, :TargetId, :HealthStatusDetail, :HealthStatusDetial, :TargetGroupId, :Weight
|
8512
8452
|
extend Gem::Deprecate
|
8513
8453
|
deprecate :HealthStatusDetial, :none, 2025, 4
|
8514
8454
|
deprecate :HealthStatusDetial=, :none, 2025, 4
|
8515
8455
|
|
8516
|
-
def initialize(ip=nil, port=nil, healthstatus=nil, targetid=nil, healthstatusdetail=nil, healthstatusdetial=nil, targetgroupid=nil)
|
8456
|
+
def initialize(ip=nil, port=nil, healthstatus=nil, targetid=nil, healthstatusdetail=nil, healthstatusdetial=nil, targetgroupid=nil, weight=nil)
|
8517
8457
|
@IP = ip
|
8518
8458
|
@Port = port
|
8519
8459
|
@HealthStatus = healthstatus
|
@@ -8521,6 +8461,7 @@ module TencentCloud
|
|
8521
8461
|
@HealthStatusDetail = healthstatusdetail
|
8522
8462
|
@HealthStatusDetial = healthstatusdetial
|
8523
8463
|
@TargetGroupId = targetgroupid
|
8464
|
+
@Weight = weight
|
8524
8465
|
end
|
8525
8466
|
|
8526
8467
|
def deserialize(params)
|
@@ -8531,6 +8472,7 @@ module TencentCloud
|
|
8531
8472
|
@HealthStatusDetail = params['HealthStatusDetail']
|
8532
8473
|
@HealthStatusDetial = params['HealthStatusDetial']
|
8533
8474
|
@TargetGroupId = params['TargetGroupId']
|
8475
|
+
@Weight = params['Weight']
|
8534
8476
|
end
|
8535
8477
|
end
|
8536
8478
|
|
@@ -8541,7 +8483,6 @@ module TencentCloud
|
|
8541
8483
|
# @param VpcId: Target所属网络,私有网络格式如 vpc-abcd1234,如果是基础网络,则为"0"
|
8542
8484
|
# @type VpcId: String
|
8543
8485
|
# @param NumericalVpcId: Target所属网络,私有网络格式如86323,如果是基础网络,则为0
|
8544
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8545
8486
|
# @type NumericalVpcId: Integer
|
8546
8487
|
|
8547
8488
|
attr_accessor :Region, :VpcId, :NumericalVpcId
|
@@ -8562,10 +8503,8 @@ module TencentCloud
|
|
8562
8503
|
# 运营商类型信息
|
8563
8504
|
class TypeInfo < TencentCloud::Common::AbstractModel
|
8564
8505
|
# @param Type: 运营商类型
|
8565
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8566
8506
|
# @type Type: String
|
8567
8507
|
# @param SpecAvailabilitySet: 规格可用性
|
8568
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8569
8508
|
# @type SpecAvailabilitySet: Array
|
8570
8509
|
|
8571
8510
|
attr_accessor :Type, :SpecAvailabilitySet
|
@@ -8591,22 +8530,16 @@ module TencentCloud
|
|
8591
8530
|
# 可用区相关信息
|
8592
8531
|
class ZoneInfo < TencentCloud::Common::AbstractModel
|
8593
8532
|
# @param ZoneId: 可用区数值形式的唯一ID,如:100001
|
8594
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8595
8533
|
# @type ZoneId: Integer
|
8596
8534
|
# @param Zone: 可用区字符串形式的唯一ID,如:ap-guangzhou-1
|
8597
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8598
8535
|
# @type Zone: String
|
8599
8536
|
# @param ZoneName: 可用区名称,如:广州一区
|
8600
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8601
8537
|
# @type ZoneName: String
|
8602
8538
|
# @param ZoneRegion: 可用区所属地域,如:ap-guangzhou
|
8603
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8604
8539
|
# @type ZoneRegion: String
|
8605
8540
|
# @param LocalZone: 可用区是否是LocalZone可用区,如:false
|
8606
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8607
8541
|
# @type LocalZone: Boolean
|
8608
8542
|
# @param EdgeZone: 可用区是否是EdgeZone可用区,如:false
|
8609
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8610
8543
|
# @type EdgeZone: Boolean
|
8611
8544
|
|
8612
8545
|
attr_accessor :ZoneId, :Zone, :ZoneName, :ZoneRegion, :LocalZone, :EdgeZone
|
@@ -8635,7 +8568,6 @@ module TencentCloud
|
|
8635
8568
|
# @param MasterZone: 主可用区,如"ap-guangzhou-1"。
|
8636
8569
|
# @type MasterZone: String
|
8637
8570
|
# @param ResourceSet: 资源列表。
|
8638
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8639
8571
|
# @type ResourceSet: Array
|
8640
8572
|
# @param SlaveZone: 备可用区,如"ap-guangzhou-2",单可用区时,备可用区为null。
|
8641
8573
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -8651,7 +8583,6 @@ module TencentCloud
|
|
8651
8583
|
# @param EdgeZone: 可用区是否是EdgeZone可用区,如:false
|
8652
8584
|
# @type EdgeZone: Boolean
|
8653
8585
|
# @param Egress: 网络出口
|
8654
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8655
8586
|
# @type Egress: String
|
8656
8587
|
|
8657
8588
|
attr_accessor :MasterZone, :ResourceSet, :SlaveZone, :IPVersion, :ZoneRegion, :LocalZone, :ZoneResourceType, :EdgeZone, :Egress
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-clb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1044
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|