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