tencentcloud-sdk-clb 3.0.1119 → 3.0.1123
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/models.rb +145 -21
- 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: c50f3aa505b5410356a73769356ae30391e37b06
|
4
|
+
data.tar.gz: f87996c92f6f00f7248f2179842a490fab79d9bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15ab9974084bbc215d64b589bc14facd3ad5e55be0efcc8347b96c23d091efa60d6397f88c41f9b60cff3d0badbb6d34dc8122651c14d44cb74e5227cd58f44b
|
7
|
+
data.tar.gz: 726a713ff05ccdac28ee6df6a7d3c170526c5387296b9f7a29d8d1b264665bc35c2422513b333212e6fb72d6a514a5a3cc819cd5d9081a2d100f82d38db171d1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1123
|
data/lib/v20180317/models.rb
CHANGED
@@ -1480,7 +1480,7 @@ module TencentCloud
|
|
1480
1480
|
# @type MaxConn: Integer
|
1481
1481
|
# @param MaxCps: 监听器最大新增连接数,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持,不传或者传-1表示监听器维度不限速。基础网络实例不支持该参数。
|
1482
1482
|
# @type MaxCps: Integer
|
1483
|
-
# @param IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP
|
1483
|
+
# @param IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP/UDP监听器,单位:秒。默认值:TCP监听器默认值为900s,UDP监听器默认值为300s。取值范围:共享型实例和独占型实例支持:10-900,性能容量型实例支持:10-1980。如需设置超过取值范围的值请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)。
|
1484
1484
|
# @type IdleConnectTimeout: Integer
|
1485
1485
|
# @param ProxyProtocol: TCP_SSL和QUIC是否支持PP
|
1486
1486
|
# @type ProxyProtocol: Boolean
|
@@ -1878,7 +1878,7 @@ module TencentCloud
|
|
1878
1878
|
class CreateTargetGroupRequest < TencentCloud::Common::AbstractModel
|
1879
1879
|
# @param TargetGroupName: 目标组名称,限定50个字符
|
1880
1880
|
# @type TargetGroupName: String
|
1881
|
-
# @param VpcId: 目标组的
|
1881
|
+
# @param VpcId: 目标组的vpcId属性,不填则使用默认vpc。
|
1882
1882
|
# @type VpcId: String
|
1883
1883
|
# @param Port: 目标组的默认端口, 后续添加服务器时可使用该默认端口。全监听目标组不支持此参数,非全监听目标组Port和TargetGroupInstances.N中的port二者必填其一。
|
1884
1884
|
# @type Port: Integer
|
@@ -1888,14 +1888,15 @@ module TencentCloud
|
|
1888
1888
|
# @type Type: String
|
1889
1889
|
# @param Protocol: 目标组后端转发协议。v2新版目标组该项必填。目前支持TCP、UDP、HTTP、HTTPS、GRPC。
|
1890
1890
|
# @type Protocol: String
|
1891
|
+
# @param HealthCheck: 健康检查。
|
1892
|
+
# @type HealthCheck: :class:`Tencentcloud::Clb.v20180317.models.TargetGroupHealthCheck`
|
1893
|
+
# @param ScheduleAlgorithm: 调度算法,仅V2新版目标组,且后端转发协议为(HTTP|HTTPS|GRPC)时该参数有效。可选值:
|
1894
|
+
# <ur><li>WRR:按权重轮询。</li><li>LEAST_CONN:最小连接数。</li><li>IP_HASH:按IP哈希。</li><li>默认为 WRR。</li><ur>
|
1895
|
+
# @type ScheduleAlgorithm: String
|
1891
1896
|
# @param Tags: 标签。
|
1892
1897
|
# @type Tags: Array
|
1893
|
-
# @param Weight:
|
1894
|
-
# <ul>
|
1895
|
-
# <li>取值范围[0, 100]</li>
|
1896
|
-
# <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
|
1897
|
-
# </ul>
|
1898
|
-
# v1 目标组类型不支持设置 Weight 参数。
|
1898
|
+
# @param Weight: 后端服务默认权重, 其中:
|
1899
|
+
# <ul><li>取值范围[0, 100]</li><li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li><li>v1 目标组类型不支持设置 Weight 参数。</li></ul>
|
1899
1900
|
# @type Weight: Integer
|
1900
1901
|
# @param FullListenSwitch: 全监听目标组标识,true表示是全监听目标组,false表示不是全监听目标组。仅V2新版类型目标组支持该参数。
|
1901
1902
|
# @type FullListenSwitch: Boolean
|
@@ -1904,15 +1905,17 @@ module TencentCloud
|
|
1904
1905
|
# @param SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。仅V2新版且后端转发协议为HTTP/HTTPS/GRPC目标组支持该参数。
|
1905
1906
|
# @type SessionExpireTime: Integer
|
1906
1907
|
|
1907
|
-
attr_accessor :TargetGroupName, :VpcId, :Port, :TargetGroupInstances, :Type, :Protocol, :Tags, :Weight, :FullListenSwitch, :KeepaliveEnable, :SessionExpireTime
|
1908
|
+
attr_accessor :TargetGroupName, :VpcId, :Port, :TargetGroupInstances, :Type, :Protocol, :HealthCheck, :ScheduleAlgorithm, :Tags, :Weight, :FullListenSwitch, :KeepaliveEnable, :SessionExpireTime
|
1908
1909
|
|
1909
|
-
def initialize(targetgroupname=nil, vpcid=nil, port=nil, targetgroupinstances=nil, type=nil, protocol=nil, tags=nil, weight=nil, fulllistenswitch=nil, keepaliveenable=nil, sessionexpiretime=nil)
|
1910
|
+
def initialize(targetgroupname=nil, vpcid=nil, port=nil, targetgroupinstances=nil, type=nil, protocol=nil, healthcheck=nil, schedulealgorithm=nil, tags=nil, weight=nil, fulllistenswitch=nil, keepaliveenable=nil, sessionexpiretime=nil)
|
1910
1911
|
@TargetGroupName = targetgroupname
|
1911
1912
|
@VpcId = vpcid
|
1912
1913
|
@Port = port
|
1913
1914
|
@TargetGroupInstances = targetgroupinstances
|
1914
1915
|
@Type = type
|
1915
1916
|
@Protocol = protocol
|
1917
|
+
@HealthCheck = healthcheck
|
1918
|
+
@ScheduleAlgorithm = schedulealgorithm
|
1916
1919
|
@Tags = tags
|
1917
1920
|
@Weight = weight
|
1918
1921
|
@FullListenSwitch = fulllistenswitch
|
@@ -1934,6 +1937,11 @@ module TencentCloud
|
|
1934
1937
|
end
|
1935
1938
|
@Type = params['Type']
|
1936
1939
|
@Protocol = params['Protocol']
|
1940
|
+
unless params['HealthCheck'].nil?
|
1941
|
+
@HealthCheck = TargetGroupHealthCheck.new
|
1942
|
+
@HealthCheck.deserialize(params['HealthCheck'])
|
1943
|
+
end
|
1944
|
+
@ScheduleAlgorithm = params['ScheduleAlgorithm']
|
1937
1945
|
unless params['Tags'].nil?
|
1938
1946
|
@Tags = []
|
1939
1947
|
params['Tags'].each do |i|
|
@@ -6555,7 +6563,7 @@ module TencentCloud
|
|
6555
6563
|
# @param MaxCps: 监听器粒度新建连接数上限,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持。取值范围:1-实例规格新建连接上限,其中-1表示关闭监听器粒度新建连接数限速。基础网络实例不支持该参数。
|
6556
6564
|
# 默认为 -1 表示不限速。
|
6557
6565
|
# @type MaxCps: Integer
|
6558
|
-
# @param IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP
|
6566
|
+
# @param IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP/UDP监听器,单位:秒。TCP监听器默认值:900,UDP监听器默认值:300s。取值范围:共享型实例和独占型实例支持:10~900,性能容量型实例支持:10~1980。如需设置超过1980s,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category),最大可设置到3600s。
|
6559
6567
|
# @type IdleConnectTimeout: Integer
|
6560
6568
|
# @param ProxyProtocol: TCP_SSL和QUIC是否支持PP
|
6561
6569
|
# @type ProxyProtocol: Boolean
|
@@ -6916,24 +6924,26 @@ module TencentCloud
|
|
6916
6924
|
# @type TargetGroupName: String
|
6917
6925
|
# @param Port: 目标组的新默认端口。全监听目标组不支持此参数。
|
6918
6926
|
# @type Port: Integer
|
6919
|
-
# @param
|
6920
|
-
# <
|
6921
|
-
#
|
6922
|
-
#
|
6923
|
-
#
|
6924
|
-
# v1目标组类型不支持设置Weight
|
6927
|
+
# @param ScheduleAlgorithm: 调度算法,仅V2新版目标组,且后端转发协议为(HTTP|HTTPS|GRPC)时该参数有效。可选值:
|
6928
|
+
# <ur><li>WRR:按权重轮询。</li><li>LEAST_CONN:最小连接数。</li><li>IP_HASH:按IP哈希。</li><li>默认为 WRR。</li><ur>
|
6929
|
+
# @type ScheduleAlgorithm: String
|
6930
|
+
# @param HealthCheck: 健康检查详情。
|
6931
|
+
# @type HealthCheck: :class:`Tencentcloud::Clb.v20180317.models.TargetGroupHealthCheck`
|
6932
|
+
# @param Weight: 后端服务默认权重, 其中:<ul><li>取值范围[0, 100]</li><li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li><li>v1目标组类型不支持设置Weight参数。</li> </ul>
|
6925
6933
|
# @type Weight: Integer
|
6926
6934
|
# @param KeepaliveEnable: 是否开启长连接,此参数仅适用于HTTP/HTTPS目标组,true:关闭;false:开启, 默认关闭。
|
6927
6935
|
# @type KeepaliveEnable: Boolean
|
6928
6936
|
# @param SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。TCP/UDP目标组不支持该参数。
|
6929
6937
|
# @type SessionExpireTime: Integer
|
6930
6938
|
|
6931
|
-
attr_accessor :TargetGroupId, :TargetGroupName, :Port, :Weight, :KeepaliveEnable, :SessionExpireTime
|
6939
|
+
attr_accessor :TargetGroupId, :TargetGroupName, :Port, :ScheduleAlgorithm, :HealthCheck, :Weight, :KeepaliveEnable, :SessionExpireTime
|
6932
6940
|
|
6933
|
-
def initialize(targetgroupid=nil, targetgroupname=nil, port=nil, weight=nil, keepaliveenable=nil, sessionexpiretime=nil)
|
6941
|
+
def initialize(targetgroupid=nil, targetgroupname=nil, port=nil, schedulealgorithm=nil, healthcheck=nil, weight=nil, keepaliveenable=nil, sessionexpiretime=nil)
|
6934
6942
|
@TargetGroupId = targetgroupid
|
6935
6943
|
@TargetGroupName = targetgroupname
|
6936
6944
|
@Port = port
|
6945
|
+
@ScheduleAlgorithm = schedulealgorithm
|
6946
|
+
@HealthCheck = healthcheck
|
6937
6947
|
@Weight = weight
|
6938
6948
|
@KeepaliveEnable = keepaliveenable
|
6939
6949
|
@SessionExpireTime = sessionexpiretime
|
@@ -6943,6 +6953,11 @@ module TencentCloud
|
|
6943
6953
|
@TargetGroupId = params['TargetGroupId']
|
6944
6954
|
@TargetGroupName = params['TargetGroupName']
|
6945
6955
|
@Port = params['Port']
|
6956
|
+
@ScheduleAlgorithm = params['ScheduleAlgorithm']
|
6957
|
+
unless params['HealthCheck'].nil?
|
6958
|
+
@HealthCheck = TargetGroupHealthCheck.new
|
6959
|
+
@HealthCheck.deserialize(params['HealthCheck'])
|
6960
|
+
end
|
6946
6961
|
@Weight = params['Weight']
|
6947
6962
|
@KeepaliveEnable = params['KeepaliveEnable']
|
6948
6963
|
@SessionExpireTime = params['SessionExpireTime']
|
@@ -8541,6 +8556,96 @@ module TencentCloud
|
|
8541
8556
|
end
|
8542
8557
|
end
|
8543
8558
|
|
8559
|
+
# 目标组健康检查详情
|
8560
|
+
class TargetGroupHealthCheck < TencentCloud::Common::AbstractModel
|
8561
|
+
# @param HealthSwitch: 是否开启健康检查。
|
8562
|
+
# @type HealthSwitch: Boolean
|
8563
|
+
# @param Protocol: 健康检查方式, 其中仅V2新版目标组类型支持该参数, 支持取值 TCP | HTTP | HTTPS | PING | CUSTOM,其中:
|
8564
|
+
# <ur><li>当目标组后端转发协议为TCP时, 健康检查方式支持 TCP/HTTP/CUSTOM, 默认为TCP。</li><li>当目标组后端转发协议为UDP时, 健康检查方式支持 PING/CUSTOM,默认为PING。</li><li>当目标组后端转发协议为HTTP时, 健康检查方式支持 HTTP/TCP, 默认为HTTP。</li><li>当目标组后端转发协议为HTTPS时, 健康检查方式支持 HTTPS/TCP, 默认为HTTPS。</li><li>当目标组后端转发协议为GRPC时, 健康检查方式支持GRPC/TCP, 默认为GRPC。</li></ur>
|
8565
|
+
# @type Protocol: String
|
8566
|
+
# @param Port: 自定义探测相关参数。健康检查端口,默认为后端服务的端口,除非您希望指定特定端口,否则建议留空。(仅适用于TCP/UDP目标组)。
|
8567
|
+
# @type Port: Integer
|
8568
|
+
# @param Timeout: 健康检查超时时间。 默认为2秒。 可配置范围:2 - 30秒。
|
8569
|
+
# @type Timeout: Integer
|
8570
|
+
# @param GapTime: 检测间隔时间。 默认为5秒。 可配置范围:2 - 300秒。
|
8571
|
+
# @type GapTime: Integer
|
8572
|
+
# @param GoodLimit: 检测健康阈值。 默认为3秒。 可配置范围:2 - 10次。
|
8573
|
+
# @type GoodLimit: Integer
|
8574
|
+
# @param BadLimit: 检测不健康阈值。 默认为3秒。 可配置范围:2 - 10次。
|
8575
|
+
# @type BadLimit: Integer
|
8576
|
+
# @param JumboFrame: 目标组下的所有rs的探测包是否开启巨帧。默认开启。仅GWLB类型目标组支持该参数。
|
8577
|
+
# @type JumboFrame: Boolean
|
8578
|
+
# @param HttpCode: 健康检查状态码(仅适用于HTTP/HTTPS目标组、TCP目标组的HTTP健康检查方式)。可选值:1~31,默认 31,其中:<url> <li>1 表示探测后返回值 1xx 代表健康。</li><li>2 表示返回 2xx 代表健康。</li><li>4 表示返回 3xx 代表健康。</li><li>8 表示返回 4xx 代表健康。</li><li>16 表示返回 5xx 代表健康。</li></url>若希望多种返回码都可代表健康,则将相应的值相加。
|
8579
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8580
|
+
# @type HttpCode: Integer
|
8581
|
+
# @param HttpCheckDomain: 健康检查域名, 其中:<ur><li>仅适用于HTTP/HTTPS目标组和TCP目标组的HTTP健康检查方式。</li><li>针对HTTP/HTTPS目标组,当使用HTTP健康检查方式时,该参数为必填项。</li></ur>
|
8582
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8583
|
+
# @type HttpCheckDomain: String
|
8584
|
+
# @param HttpCheckPath: 健康检查路径(仅适用于HTTP/HTTPS转发规则、TCP监听器的HTTP健康检查方式)。
|
8585
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8586
|
+
# @type HttpCheckPath: String
|
8587
|
+
# @param HttpCheckMethod: 健康检查方法(仅适用于HTTP/HTTPS转发规则、TCP监听器的HTTP健康检查方式),默认值:HEAD,可选值HEAD或GET。
|
8588
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8589
|
+
# @type HttpCheckMethod: String
|
8590
|
+
# @param ContextType: 健康检查的输入格式,健康检查方式取CUSTOM时,必填此字段,可取值:HEX或TEXT,其中:<ur><li>TEXT:文本格式。</li><li>HEX:十六进制格式, SendContext和RecvContext的字符只能在0123456789ABCDEF中选取且长度必须是偶数位。</li><li>仅适用于TCP/UDP目标组。</li></ur>
|
8591
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8592
|
+
# @type ContextType: String
|
8593
|
+
# @param SendContext: 自定义探测相关参数。健康检查协议CheckType的值取CUSTOM时,必填此字段,代表健康检查发送的请求内容,只允许ASCII可见字符,最大长度限制500。(仅适用于TCP/UDP目标组)。
|
8594
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8595
|
+
# @type SendContext: String
|
8596
|
+
# @param RecvContext: 自定义探测相关参数。健康检查协议CheckType的值取CUSTOM时,必填此字段,代表健康检查返回的结果,只允许ASCII可见字符,最大长度限制500。(仅适用于TCP/UDP目标组)。
|
8597
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8598
|
+
# @type RecvContext: String
|
8599
|
+
# @param HttpVersion: HTTP版本, 其中:<ur><li>健康检查协议CheckType的值取HTTP时,必传此字段。</li><li>支持配置选项:HTTP/1.0, HTTP/1.1。</li><li>仅适用于TCP目标组。</li></ur>
|
8600
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8601
|
+
# @type HttpVersion: String
|
8602
|
+
# @param ExtendedCode: GRPC健康检查状态码(仅适用于后端转发协议为GRPC的目标组)。默认值为 12,可输入值为数值、多个数值、或者范围,例如 20 或 20,25 或 0-99。
|
8603
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8604
|
+
# @type ExtendedCode: String
|
8605
|
+
|
8606
|
+
attr_accessor :HealthSwitch, :Protocol, :Port, :Timeout, :GapTime, :GoodLimit, :BadLimit, :JumboFrame, :HttpCode, :HttpCheckDomain, :HttpCheckPath, :HttpCheckMethod, :ContextType, :SendContext, :RecvContext, :HttpVersion, :ExtendedCode
|
8607
|
+
|
8608
|
+
def initialize(healthswitch=nil, protocol=nil, port=nil, timeout=nil, gaptime=nil, goodlimit=nil, badlimit=nil, jumboframe=nil, httpcode=nil, httpcheckdomain=nil, httpcheckpath=nil, httpcheckmethod=nil, contexttype=nil, sendcontext=nil, recvcontext=nil, httpversion=nil, extendedcode=nil)
|
8609
|
+
@HealthSwitch = healthswitch
|
8610
|
+
@Protocol = protocol
|
8611
|
+
@Port = port
|
8612
|
+
@Timeout = timeout
|
8613
|
+
@GapTime = gaptime
|
8614
|
+
@GoodLimit = goodlimit
|
8615
|
+
@BadLimit = badlimit
|
8616
|
+
@JumboFrame = jumboframe
|
8617
|
+
@HttpCode = httpcode
|
8618
|
+
@HttpCheckDomain = httpcheckdomain
|
8619
|
+
@HttpCheckPath = httpcheckpath
|
8620
|
+
@HttpCheckMethod = httpcheckmethod
|
8621
|
+
@ContextType = contexttype
|
8622
|
+
@SendContext = sendcontext
|
8623
|
+
@RecvContext = recvcontext
|
8624
|
+
@HttpVersion = httpversion
|
8625
|
+
@ExtendedCode = extendedcode
|
8626
|
+
end
|
8627
|
+
|
8628
|
+
def deserialize(params)
|
8629
|
+
@HealthSwitch = params['HealthSwitch']
|
8630
|
+
@Protocol = params['Protocol']
|
8631
|
+
@Port = params['Port']
|
8632
|
+
@Timeout = params['Timeout']
|
8633
|
+
@GapTime = params['GapTime']
|
8634
|
+
@GoodLimit = params['GoodLimit']
|
8635
|
+
@BadLimit = params['BadLimit']
|
8636
|
+
@JumboFrame = params['JumboFrame']
|
8637
|
+
@HttpCode = params['HttpCode']
|
8638
|
+
@HttpCheckDomain = params['HttpCheckDomain']
|
8639
|
+
@HttpCheckPath = params['HttpCheckPath']
|
8640
|
+
@HttpCheckMethod = params['HttpCheckMethod']
|
8641
|
+
@ContextType = params['ContextType']
|
8642
|
+
@SendContext = params['SendContext']
|
8643
|
+
@RecvContext = params['RecvContext']
|
8644
|
+
@HttpVersion = params['HttpVersion']
|
8645
|
+
@ExtendedCode = params['ExtendedCode']
|
8646
|
+
end
|
8647
|
+
end
|
8648
|
+
|
8544
8649
|
# 目标组信息
|
8545
8650
|
class TargetGroupInfo < TencentCloud::Common::AbstractModel
|
8546
8651
|
# @param TargetGroupId: 目标组ID
|
@@ -8562,6 +8667,18 @@ module TencentCloud
|
|
8562
8667
|
# @param Protocol: 目标组后端转发协议, 仅v2新版目标组返回有效值。
|
8563
8668
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8564
8669
|
# @type Protocol: String
|
8670
|
+
# @param ScheduleAlgorithm: 调度算法,仅后端转发协议为(HTTP、HTTPS、GRPC)的目标组返回有效值, 可选值:
|
8671
|
+
# <ur>
|
8672
|
+
# <li>WRR:按权重轮询。</li>
|
8673
|
+
# <li>LEAST_CONN:最小连接数。</li>
|
8674
|
+
# <li>IP_HASH:按IP哈希。</li>
|
8675
|
+
# </ur>
|
8676
|
+
|
8677
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8678
|
+
# @type ScheduleAlgorithm: String
|
8679
|
+
# @param HealthCheck: 健康检查详情。
|
8680
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8681
|
+
# @type HealthCheck: :class:`Tencentcloud::Clb.v20180317.models.TargetGroupHealthCheck`
|
8565
8682
|
# @param TargetGroupType: 目标组类型,当前支持v1(旧版目标组), v2(新版目标组)。默认为v1旧版目标组。
|
8566
8683
|
# @type TargetGroupType: String
|
8567
8684
|
# @param AssociatedRuleCount: 目标组已关联的规则数。
|
@@ -8580,9 +8697,9 @@ module TencentCloud
|
|
8580
8697
|
# @param SessionExpireTime: 会话保持时间,仅后端转发协议为HTTP/HTTPS/GRPC目标组返回有效值。
|
8581
8698
|
# @type SessionExpireTime: Integer
|
8582
8699
|
|
8583
|
-
attr_accessor :TargetGroupId, :VpcId, :TargetGroupName, :Port, :CreatedTime, :UpdatedTime, :AssociatedRule, :Protocol, :TargetGroupType, :AssociatedRuleCount, :RegisteredInstancesCount, :Tag, :Weight, :FullListenSwitch, :KeepaliveEnable, :SessionExpireTime
|
8700
|
+
attr_accessor :TargetGroupId, :VpcId, :TargetGroupName, :Port, :CreatedTime, :UpdatedTime, :AssociatedRule, :Protocol, :ScheduleAlgorithm, :HealthCheck, :TargetGroupType, :AssociatedRuleCount, :RegisteredInstancesCount, :Tag, :Weight, :FullListenSwitch, :KeepaliveEnable, :SessionExpireTime
|
8584
8701
|
|
8585
|
-
def initialize(targetgroupid=nil, vpcid=nil, targetgroupname=nil, port=nil, createdtime=nil, updatedtime=nil, associatedrule=nil, protocol=nil, targetgrouptype=nil, associatedrulecount=nil, registeredinstancescount=nil, tag=nil, weight=nil, fulllistenswitch=nil, keepaliveenable=nil, sessionexpiretime=nil)
|
8702
|
+
def initialize(targetgroupid=nil, vpcid=nil, targetgroupname=nil, port=nil, createdtime=nil, updatedtime=nil, associatedrule=nil, protocol=nil, schedulealgorithm=nil, healthcheck=nil, targetgrouptype=nil, associatedrulecount=nil, registeredinstancescount=nil, tag=nil, weight=nil, fulllistenswitch=nil, keepaliveenable=nil, sessionexpiretime=nil)
|
8586
8703
|
@TargetGroupId = targetgroupid
|
8587
8704
|
@VpcId = vpcid
|
8588
8705
|
@TargetGroupName = targetgroupname
|
@@ -8591,6 +8708,8 @@ module TencentCloud
|
|
8591
8708
|
@UpdatedTime = updatedtime
|
8592
8709
|
@AssociatedRule = associatedrule
|
8593
8710
|
@Protocol = protocol
|
8711
|
+
@ScheduleAlgorithm = schedulealgorithm
|
8712
|
+
@HealthCheck = healthcheck
|
8594
8713
|
@TargetGroupType = targetgrouptype
|
8595
8714
|
@AssociatedRuleCount = associatedrulecount
|
8596
8715
|
@RegisteredInstancesCount = registeredinstancescount
|
@@ -8617,6 +8736,11 @@ module TencentCloud
|
|
8617
8736
|
end
|
8618
8737
|
end
|
8619
8738
|
@Protocol = params['Protocol']
|
8739
|
+
@ScheduleAlgorithm = params['ScheduleAlgorithm']
|
8740
|
+
unless params['HealthCheck'].nil?
|
8741
|
+
@HealthCheck = TargetGroupHealthCheck.new
|
8742
|
+
@HealthCheck.deserialize(params['HealthCheck'])
|
8743
|
+
end
|
8620
8744
|
@TargetGroupType = params['TargetGroupType']
|
8621
8745
|
@AssociatedRuleCount = params['AssociatedRuleCount']
|
8622
8746
|
@RegisteredInstancesCount = params['RegisteredInstancesCount']
|
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.1123
|
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-08-
|
11
|
+
date: 2025-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|