tencentcloud-sdk-clb 3.0.1169 → 3.0.1183
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 +24 -0
- data/lib/v20180317/models.rb +146 -16
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ce14ce7fb36120b22b5d52ccdcb86062748c0ab7
|
|
4
|
+
data.tar.gz: 92c530466ecd8f7f97645154496ae338a402481a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec230868a96698301cc68f903b5986bf50f5f86751d921bbcc29b98b92bd9f779ff6392ad4e2615450c9d2976f8b5fa1558d44845b27ef576267df30c7cc7e9b
|
|
7
|
+
data.tar.gz: 9be0f2eb46f464feaef7c5a27d9ab803d24903947ae4ebfc7fb77335ce5a66abe7bb6bd833e8f3a67d17ae1b11309637d9dc982abeafc286cf916914c1199711
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1183
|
data/lib/v20180317/client.rb
CHANGED
|
@@ -1255,6 +1255,30 @@ module TencentCloud
|
|
|
1255
1255
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1256
1256
|
end
|
|
1257
1257
|
|
|
1258
|
+
# 查询目标组后端服务状态。目前仅支持网关负载均衡类型的目标组支持查询后端服务状态。
|
|
1259
|
+
|
|
1260
|
+
# @param request: Request instance for DescribeTargetGroupInstanceStatus.
|
|
1261
|
+
# @type request: :class:`Tencentcloud::clb::V20180317::DescribeTargetGroupInstanceStatusRequest`
|
|
1262
|
+
# @rtype: :class:`Tencentcloud::clb::V20180317::DescribeTargetGroupInstanceStatusResponse`
|
|
1263
|
+
def DescribeTargetGroupInstanceStatus(request)
|
|
1264
|
+
body = send_request('DescribeTargetGroupInstanceStatus', request.serialize)
|
|
1265
|
+
response = JSON.parse(body)
|
|
1266
|
+
if response['Response'].key?('Error') == false
|
|
1267
|
+
model = DescribeTargetGroupInstanceStatusResponse.new
|
|
1268
|
+
model.deserialize(response['Response'])
|
|
1269
|
+
model
|
|
1270
|
+
else
|
|
1271
|
+
code = response['Response']['Error']['Code']
|
|
1272
|
+
message = response['Response']['Error']['Message']
|
|
1273
|
+
reqid = response['Response']['RequestId']
|
|
1274
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1275
|
+
end
|
|
1276
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1277
|
+
raise e
|
|
1278
|
+
rescue StandardError => e
|
|
1279
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1280
|
+
end
|
|
1281
|
+
|
|
1258
1282
|
# 获取目标组绑定的服务器信息
|
|
1259
1283
|
|
|
1260
1284
|
# @param request: Request instance for DescribeTargetGroupInstances.
|
data/lib/v20180317/models.rb
CHANGED
|
@@ -164,6 +164,32 @@ module TencentCloud
|
|
|
164
164
|
end
|
|
165
165
|
end
|
|
166
166
|
|
|
167
|
+
# 可用区转发亲和信息
|
|
168
|
+
class AvailableZoneAffinityInfo < TencentCloud::Common::AbstractModel
|
|
169
|
+
# @param Enable: 是否开启可用区转发亲和。true:开启可用区转发亲和;false:开启可用区转发亲和。
|
|
170
|
+
# @type Enable: Boolean
|
|
171
|
+
# @param ExitRatio: 可用区转发亲和失效阈值,当可用区内后端服务健康比例小于该阈值时,负载均衡会退出可用区转发亲和,转为全可用区转发。
|
|
172
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
173
|
+
# @type ExitRatio: Integer
|
|
174
|
+
# @param ReentryRatio: 可用区转发亲和的重新生效阈值,当处于全可用区转发,且负载均衡可用区内的后端服务健康比例大于等于该阈值时,负载均衡会重新进入可用区转发亲和。
|
|
175
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
176
|
+
# @type ReentryRatio: Integer
|
|
177
|
+
|
|
178
|
+
attr_accessor :Enable, :ExitRatio, :ReentryRatio
|
|
179
|
+
|
|
180
|
+
def initialize(enable=nil, exitratio=nil, reentryratio=nil)
|
|
181
|
+
@Enable = enable
|
|
182
|
+
@ExitRatio = exitratio
|
|
183
|
+
@ReentryRatio = reentryratio
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
def deserialize(params)
|
|
187
|
+
@Enable = params['Enable']
|
|
188
|
+
@ExitRatio = params['ExitRatio']
|
|
189
|
+
@ReentryRatio = params['ReentryRatio']
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
|
|
167
193
|
# 监听器绑定的后端服务的详细信息
|
|
168
194
|
class Backend < TencentCloud::Common::AbstractModel
|
|
169
195
|
# @param Type: 后端服务的类型,可取:CVM、ENI、CCN、EVM、GLOBALROUTE、NAT、SRV等
|
|
@@ -189,10 +215,13 @@ module TencentCloud
|
|
|
189
215
|
# @type EniId: String
|
|
190
216
|
# @param Tag: 标签。
|
|
191
217
|
# @type Tag: String
|
|
218
|
+
# @param Zone: 后端服务所在的可用区,如ap-guangzhou-1
|
|
219
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
220
|
+
# @type Zone: String
|
|
192
221
|
|
|
193
|
-
attr_accessor :Type, :InstanceId, :Port, :Weight, :PublicIpAddresses, :PrivateIpAddresses, :InstanceName, :RegisteredTime, :EniId, :Tag
|
|
222
|
+
attr_accessor :Type, :InstanceId, :Port, :Weight, :PublicIpAddresses, :PrivateIpAddresses, :InstanceName, :RegisteredTime, :EniId, :Tag, :Zone
|
|
194
223
|
|
|
195
|
-
def initialize(type=nil, instanceid=nil, port=nil, weight=nil, publicipaddresses=nil, privateipaddresses=nil, instancename=nil, registeredtime=nil, eniid=nil, tag=nil)
|
|
224
|
+
def initialize(type=nil, instanceid=nil, port=nil, weight=nil, publicipaddresses=nil, privateipaddresses=nil, instancename=nil, registeredtime=nil, eniid=nil, tag=nil, zone=nil)
|
|
196
225
|
@Type = type
|
|
197
226
|
@InstanceId = instanceid
|
|
198
227
|
@Port = port
|
|
@@ -203,6 +232,7 @@ module TencentCloud
|
|
|
203
232
|
@RegisteredTime = registeredtime
|
|
204
233
|
@EniId = eniid
|
|
205
234
|
@Tag = tag
|
|
235
|
+
@Zone = zone
|
|
206
236
|
end
|
|
207
237
|
|
|
208
238
|
def deserialize(params)
|
|
@@ -216,6 +246,7 @@ module TencentCloud
|
|
|
216
246
|
@RegisteredTime = params['RegisteredTime']
|
|
217
247
|
@EniId = params['EniId']
|
|
218
248
|
@Tag = params['Tag']
|
|
249
|
+
@Zone = params['Zone']
|
|
219
250
|
end
|
|
220
251
|
end
|
|
221
252
|
|
|
@@ -1286,8 +1317,8 @@ module TencentCloud
|
|
|
1286
1317
|
|
|
1287
1318
|
attr_accessor :LogsetName, :Period, :LogsetType
|
|
1288
1319
|
extend Gem::Deprecate
|
|
1289
|
-
deprecate :Period, :none, 2025,
|
|
1290
|
-
deprecate :Period=, :none, 2025,
|
|
1320
|
+
deprecate :Period, :none, 2025, 12
|
|
1321
|
+
deprecate :Period=, :none, 2025, 12
|
|
1291
1322
|
|
|
1292
1323
|
def initialize(logsetname=nil, period=nil, logsettype=nil)
|
|
1293
1324
|
@LogsetName = logsetname
|
|
@@ -3938,6 +3969,53 @@ module TencentCloud
|
|
|
3938
3969
|
end
|
|
3939
3970
|
end
|
|
3940
3971
|
|
|
3972
|
+
# DescribeTargetGroupInstanceStatus请求参数结构体
|
|
3973
|
+
class DescribeTargetGroupInstanceStatusRequest < TencentCloud::Common::AbstractModel
|
|
3974
|
+
# @param TargetGroupId: 目标组唯一id
|
|
3975
|
+
# @type TargetGroupId: String
|
|
3976
|
+
# @param TargetGroupInstanceIps: 目标组绑定的后端服务ip列表
|
|
3977
|
+
# @type TargetGroupInstanceIps: Array
|
|
3978
|
+
|
|
3979
|
+
attr_accessor :TargetGroupId, :TargetGroupInstanceIps
|
|
3980
|
+
|
|
3981
|
+
def initialize(targetgroupid=nil, targetgroupinstanceips=nil)
|
|
3982
|
+
@TargetGroupId = targetgroupid
|
|
3983
|
+
@TargetGroupInstanceIps = targetgroupinstanceips
|
|
3984
|
+
end
|
|
3985
|
+
|
|
3986
|
+
def deserialize(params)
|
|
3987
|
+
@TargetGroupId = params['TargetGroupId']
|
|
3988
|
+
@TargetGroupInstanceIps = params['TargetGroupInstanceIps']
|
|
3989
|
+
end
|
|
3990
|
+
end
|
|
3991
|
+
|
|
3992
|
+
# DescribeTargetGroupInstanceStatus返回参数结构体
|
|
3993
|
+
class DescribeTargetGroupInstanceStatusResponse < TencentCloud::Common::AbstractModel
|
|
3994
|
+
# @param TargetGroupInstanceSet: 健康检查后端rs状态列表
|
|
3995
|
+
# @type TargetGroupInstanceSet: Array
|
|
3996
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3997
|
+
# @type RequestId: String
|
|
3998
|
+
|
|
3999
|
+
attr_accessor :TargetGroupInstanceSet, :RequestId
|
|
4000
|
+
|
|
4001
|
+
def initialize(targetgroupinstanceset=nil, requestid=nil)
|
|
4002
|
+
@TargetGroupInstanceSet = targetgroupinstanceset
|
|
4003
|
+
@RequestId = requestid
|
|
4004
|
+
end
|
|
4005
|
+
|
|
4006
|
+
def deserialize(params)
|
|
4007
|
+
unless params['TargetGroupInstanceSet'].nil?
|
|
4008
|
+
@TargetGroupInstanceSet = []
|
|
4009
|
+
params['TargetGroupInstanceSet'].each do |i|
|
|
4010
|
+
targetgroupinstancestatus_tmp = TargetGroupInstanceStatus.new
|
|
4011
|
+
targetgroupinstancestatus_tmp.deserialize(i)
|
|
4012
|
+
@TargetGroupInstanceSet << targetgroupinstancestatus_tmp
|
|
4013
|
+
end
|
|
4014
|
+
end
|
|
4015
|
+
@RequestId = params['RequestId']
|
|
4016
|
+
end
|
|
4017
|
+
end
|
|
4018
|
+
|
|
3941
4019
|
# DescribeTargetGroupInstances请求参数结构体
|
|
3942
4020
|
class DescribeTargetGroupInstancesRequest < TencentCloud::Common::AbstractModel
|
|
3943
4021
|
# @param Filters: 过滤条件,当前支持按照 TargetGroupId,BindIP,InstanceId 多个条件组合过滤。
|
|
@@ -5514,13 +5592,15 @@ module TencentCloud
|
|
|
5514
5592
|
# @type TargetCount: Integer
|
|
5515
5593
|
# @param AssociateEndpoint: 负载均衡实例关联的Endpoint id。
|
|
5516
5594
|
# @type AssociateEndpoint: String
|
|
5595
|
+
# @param AvailableZoneAffinityInfo: 可用区转发亲和信息
|
|
5596
|
+
# @type AvailableZoneAffinityInfo: :class:`Tencentcloud::Clb.v20180317.models.AvailableZoneAffinityInfo`
|
|
5517
5597
|
|
|
5518
|
-
attr_accessor :LoadBalancerId, :LoadBalancerName, :LoadBalancerType, :Forward, :Domain, :LoadBalancerVips, :Status, :CreateTime, :StatusTime, :ProjectId, :VpcId, :OpenBgp, :Snat, :Isolation, :Log, :SubnetId, :Tags, :SecureGroups, :TargetRegionInfo, :AnycastZone, :AddressIPVersion, :NumericalVpcId, :VipIsp, :MasterZone, :BackupZoneSet, :IsolatedTime, :ExpireTime, :ChargeType, :NetworkAttributes, :PrepaidAttributes, :LogSetId, :LogTopicId, :AddressIPv6, :ExtraInfo, :IsDDos, :ConfigId, :LoadBalancerPassToTarget, :ExclusiveCluster, :IPv6Mode, :SnatPro, :SnatIps, :SlaType, :IsBlock, :IsBlockTime, :LocalBgp, :ClusterTag, :MixIpTarget, :Zones, :NfvInfo, :HealthLogSetId, :HealthLogTopicId, :ClusterIds, :AttributeFlags, :LoadBalancerDomain, :Egress, :Exclusive, :TargetCount, :AssociateEndpoint
|
|
5598
|
+
attr_accessor :LoadBalancerId, :LoadBalancerName, :LoadBalancerType, :Forward, :Domain, :LoadBalancerVips, :Status, :CreateTime, :StatusTime, :ProjectId, :VpcId, :OpenBgp, :Snat, :Isolation, :Log, :SubnetId, :Tags, :SecureGroups, :TargetRegionInfo, :AnycastZone, :AddressIPVersion, :NumericalVpcId, :VipIsp, :MasterZone, :BackupZoneSet, :IsolatedTime, :ExpireTime, :ChargeType, :NetworkAttributes, :PrepaidAttributes, :LogSetId, :LogTopicId, :AddressIPv6, :ExtraInfo, :IsDDos, :ConfigId, :LoadBalancerPassToTarget, :ExclusiveCluster, :IPv6Mode, :SnatPro, :SnatIps, :SlaType, :IsBlock, :IsBlockTime, :LocalBgp, :ClusterTag, :MixIpTarget, :Zones, :NfvInfo, :HealthLogSetId, :HealthLogTopicId, :ClusterIds, :AttributeFlags, :LoadBalancerDomain, :Egress, :Exclusive, :TargetCount, :AssociateEndpoint, :AvailableZoneAffinityInfo
|
|
5519
5599
|
extend Gem::Deprecate
|
|
5520
|
-
deprecate :Log, :none, 2025,
|
|
5521
|
-
deprecate :Log=, :none, 2025,
|
|
5600
|
+
deprecate :Log, :none, 2025, 12
|
|
5601
|
+
deprecate :Log=, :none, 2025, 12
|
|
5522
5602
|
|
|
5523
|
-
def initialize(loadbalancerid=nil, loadbalancername=nil, loadbalancertype=nil, forward=nil, domain=nil, loadbalancervips=nil, status=nil, createtime=nil, statustime=nil, projectid=nil, vpcid=nil, openbgp=nil, snat=nil, isolation=nil, log=nil, subnetid=nil, tags=nil, securegroups=nil, targetregioninfo=nil, anycastzone=nil, addressipversion=nil, numericalvpcid=nil, vipisp=nil, masterzone=nil, backupzoneset=nil, isolatedtime=nil, expiretime=nil, chargetype=nil, networkattributes=nil, prepaidattributes=nil, logsetid=nil, logtopicid=nil, addressipv6=nil, extrainfo=nil, isddos=nil, configid=nil, loadbalancerpasstotarget=nil, exclusivecluster=nil, ipv6mode=nil, snatpro=nil, snatips=nil, slatype=nil, isblock=nil, isblocktime=nil, localbgp=nil, clustertag=nil, mixiptarget=nil, zones=nil, nfvinfo=nil, healthlogsetid=nil, healthlogtopicid=nil, clusterids=nil, attributeflags=nil, loadbalancerdomain=nil, egress=nil, exclusive=nil, targetcount=nil, associateendpoint=nil)
|
|
5603
|
+
def initialize(loadbalancerid=nil, loadbalancername=nil, loadbalancertype=nil, forward=nil, domain=nil, loadbalancervips=nil, status=nil, createtime=nil, statustime=nil, projectid=nil, vpcid=nil, openbgp=nil, snat=nil, isolation=nil, log=nil, subnetid=nil, tags=nil, securegroups=nil, targetregioninfo=nil, anycastzone=nil, addressipversion=nil, numericalvpcid=nil, vipisp=nil, masterzone=nil, backupzoneset=nil, isolatedtime=nil, expiretime=nil, chargetype=nil, networkattributes=nil, prepaidattributes=nil, logsetid=nil, logtopicid=nil, addressipv6=nil, extrainfo=nil, isddos=nil, configid=nil, loadbalancerpasstotarget=nil, exclusivecluster=nil, ipv6mode=nil, snatpro=nil, snatips=nil, slatype=nil, isblock=nil, isblocktime=nil, localbgp=nil, clustertag=nil, mixiptarget=nil, zones=nil, nfvinfo=nil, healthlogsetid=nil, healthlogtopicid=nil, clusterids=nil, attributeflags=nil, loadbalancerdomain=nil, egress=nil, exclusive=nil, targetcount=nil, associateendpoint=nil, availablezoneaffinityinfo=nil)
|
|
5524
5604
|
@LoadBalancerId = loadbalancerid
|
|
5525
5605
|
@LoadBalancerName = loadbalancername
|
|
5526
5606
|
@LoadBalancerType = loadbalancertype
|
|
@@ -5579,6 +5659,7 @@ module TencentCloud
|
|
|
5579
5659
|
@Exclusive = exclusive
|
|
5580
5660
|
@TargetCount = targetcount
|
|
5581
5661
|
@AssociateEndpoint = associateendpoint
|
|
5662
|
+
@AvailableZoneAffinityInfo = availablezoneaffinityinfo
|
|
5582
5663
|
end
|
|
5583
5664
|
|
|
5584
5665
|
def deserialize(params)
|
|
@@ -5679,6 +5760,10 @@ module TencentCloud
|
|
|
5679
5760
|
@Exclusive = params['Exclusive']
|
|
5680
5761
|
@TargetCount = params['TargetCount']
|
|
5681
5762
|
@AssociateEndpoint = params['AssociateEndpoint']
|
|
5763
|
+
unless params['AvailableZoneAffinityInfo'].nil?
|
|
5764
|
+
@AvailableZoneAffinityInfo = AvailableZoneAffinityInfo.new
|
|
5765
|
+
@AvailableZoneAffinityInfo.deserialize(params['AvailableZoneAffinityInfo'])
|
|
5766
|
+
end
|
|
5682
5767
|
end
|
|
5683
5768
|
end
|
|
5684
5769
|
|
|
@@ -5809,10 +5894,13 @@ module TencentCloud
|
|
|
5809
5894
|
# @param Exclusive: 0:表示非独占型实例,1:表示独占型态实例。
|
|
5810
5895
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5811
5896
|
# @type Exclusive: Integer
|
|
5897
|
+
# @param AvailableZoneAffinityInfo: 可用区转发亲和信息
|
|
5898
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5899
|
+
# @type AvailableZoneAffinityInfo: :class:`Tencentcloud::Clb.v20180317.models.AvailableZoneAffinityInfo`
|
|
5812
5900
|
|
|
5813
|
-
attr_accessor :LoadBalancerId, :LoadBalancerName, :LoadBalancerType, :Status, :Address, :AddressIPv6, :AddressIPVersion, :IPv6Mode, :Zone, :AddressIsp, :VpcId, :ProjectId, :CreateTime, :ChargeType, :NetworkAttributes, :PrepaidAttributes, :ExtraInfo, :ConfigId, :Tags, :ListenerId, :Protocol, :Port, :LocationId, :Domain, :Url, :TargetId, :TargetAddress, :TargetPort, :TargetWeight, :Isolation, :SecurityGroup, :LoadBalancerPassToTarget, :TargetHealth, :Domains, :SlaveZone, :Zones, :SniSwitch, :LoadBalancerDomain, :Egress, :AttributeFlags, :SlaType, :Exclusive
|
|
5901
|
+
attr_accessor :LoadBalancerId, :LoadBalancerName, :LoadBalancerType, :Status, :Address, :AddressIPv6, :AddressIPVersion, :IPv6Mode, :Zone, :AddressIsp, :VpcId, :ProjectId, :CreateTime, :ChargeType, :NetworkAttributes, :PrepaidAttributes, :ExtraInfo, :ConfigId, :Tags, :ListenerId, :Protocol, :Port, :LocationId, :Domain, :Url, :TargetId, :TargetAddress, :TargetPort, :TargetWeight, :Isolation, :SecurityGroup, :LoadBalancerPassToTarget, :TargetHealth, :Domains, :SlaveZone, :Zones, :SniSwitch, :LoadBalancerDomain, :Egress, :AttributeFlags, :SlaType, :Exclusive, :AvailableZoneAffinityInfo
|
|
5814
5902
|
|
|
5815
|
-
def initialize(loadbalancerid=nil, loadbalancername=nil, loadbalancertype=nil, status=nil, address=nil, addressipv6=nil, addressipversion=nil, ipv6mode=nil, zone=nil, addressisp=nil, vpcid=nil, projectid=nil, createtime=nil, chargetype=nil, networkattributes=nil, prepaidattributes=nil, extrainfo=nil, configid=nil, tags=nil, listenerid=nil, protocol=nil, port=nil, locationid=nil, domain=nil, url=nil, targetid=nil, targetaddress=nil, targetport=nil, targetweight=nil, isolation=nil, securitygroup=nil, loadbalancerpasstotarget=nil, targethealth=nil, domains=nil, slavezone=nil, zones=nil, sniswitch=nil, loadbalancerdomain=nil, egress=nil, attributeflags=nil, slatype=nil, exclusive=nil)
|
|
5903
|
+
def initialize(loadbalancerid=nil, loadbalancername=nil, loadbalancertype=nil, status=nil, address=nil, addressipv6=nil, addressipversion=nil, ipv6mode=nil, zone=nil, addressisp=nil, vpcid=nil, projectid=nil, createtime=nil, chargetype=nil, networkattributes=nil, prepaidattributes=nil, extrainfo=nil, configid=nil, tags=nil, listenerid=nil, protocol=nil, port=nil, locationid=nil, domain=nil, url=nil, targetid=nil, targetaddress=nil, targetport=nil, targetweight=nil, isolation=nil, securitygroup=nil, loadbalancerpasstotarget=nil, targethealth=nil, domains=nil, slavezone=nil, zones=nil, sniswitch=nil, loadbalancerdomain=nil, egress=nil, attributeflags=nil, slatype=nil, exclusive=nil, availablezoneaffinityinfo=nil)
|
|
5816
5904
|
@LoadBalancerId = loadbalancerid
|
|
5817
5905
|
@LoadBalancerName = loadbalancername
|
|
5818
5906
|
@LoadBalancerType = loadbalancertype
|
|
@@ -5855,6 +5943,7 @@ module TencentCloud
|
|
|
5855
5943
|
@AttributeFlags = attributeflags
|
|
5856
5944
|
@SlaType = slatype
|
|
5857
5945
|
@Exclusive = exclusive
|
|
5946
|
+
@AvailableZoneAffinityInfo = availablezoneaffinityinfo
|
|
5858
5947
|
end
|
|
5859
5948
|
|
|
5860
5949
|
def deserialize(params)
|
|
@@ -5916,6 +6005,10 @@ module TencentCloud
|
|
|
5916
6005
|
@AttributeFlags = params['AttributeFlags']
|
|
5917
6006
|
@SlaType = params['SlaType']
|
|
5918
6007
|
@Exclusive = params['Exclusive']
|
|
6008
|
+
unless params['AvailableZoneAffinityInfo'].nil?
|
|
6009
|
+
@AvailableZoneAffinityInfo = AvailableZoneAffinityInfo.new
|
|
6010
|
+
@AvailableZoneAffinityInfo.deserialize(params['AvailableZoneAffinityInfo'])
|
|
6011
|
+
end
|
|
5919
6012
|
end
|
|
5920
6013
|
end
|
|
5921
6014
|
|
|
@@ -7566,10 +7659,10 @@ module TencentCloud
|
|
|
7566
7659
|
|
|
7567
7660
|
attr_accessor :ListenerId, :Targets, :LocationId, :Domain, :Url, :Weight
|
|
7568
7661
|
extend Gem::Deprecate
|
|
7569
|
-
deprecate :Domain, :none, 2025,
|
|
7570
|
-
deprecate :Domain=, :none, 2025,
|
|
7571
|
-
deprecate :Url, :none, 2025,
|
|
7572
|
-
deprecate :Url=, :none, 2025,
|
|
7662
|
+
deprecate :Domain, :none, 2025, 12
|
|
7663
|
+
deprecate :Domain=, :none, 2025, 12
|
|
7664
|
+
deprecate :Url, :none, 2025, 12
|
|
7665
|
+
deprecate :Url=, :none, 2025, 12
|
|
7573
7666
|
|
|
7574
7667
|
def initialize(listenerid=nil, targets=nil, locationid=nil, domain=nil, url=nil, weight=nil)
|
|
7575
7668
|
@ListenerId = listenerid
|
|
@@ -8627,6 +8720,43 @@ module TencentCloud
|
|
|
8627
8720
|
end
|
|
8628
8721
|
end
|
|
8629
8722
|
|
|
8723
|
+
# 用于目标组后端rs健康检查状态。
|
|
8724
|
+
class TargetGroupInstanceStatus < TencentCloud::Common::AbstractModel
|
|
8725
|
+
# @param InstanceIp: 后端rs的IP
|
|
8726
|
+
# @type InstanceIp: String
|
|
8727
|
+
# @param Status: 健康检查状态,参数值及含义如下:
|
|
8728
|
+
# ● on:表示探测中。
|
|
8729
|
+
# ● off:表示健康检查关闭。
|
|
8730
|
+
# ● health:表示健康。
|
|
8731
|
+
# ● unhealth:表示异常。
|
|
8732
|
+
# @type Status: String
|
|
8733
|
+
# @param InstanceId: 实例ID
|
|
8734
|
+
# @type InstanceId: String
|
|
8735
|
+
# @param Port: 端口
|
|
8736
|
+
# @type Port: Integer
|
|
8737
|
+
# @param EniId: 网卡ID
|
|
8738
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8739
|
+
# @type EniId: String
|
|
8740
|
+
|
|
8741
|
+
attr_accessor :InstanceIp, :Status, :InstanceId, :Port, :EniId
|
|
8742
|
+
|
|
8743
|
+
def initialize(instanceip=nil, status=nil, instanceid=nil, port=nil, eniid=nil)
|
|
8744
|
+
@InstanceIp = instanceip
|
|
8745
|
+
@Status = status
|
|
8746
|
+
@InstanceId = instanceid
|
|
8747
|
+
@Port = port
|
|
8748
|
+
@EniId = eniid
|
|
8749
|
+
end
|
|
8750
|
+
|
|
8751
|
+
def deserialize(params)
|
|
8752
|
+
@InstanceIp = params['InstanceIp']
|
|
8753
|
+
@Status = params['Status']
|
|
8754
|
+
@InstanceId = params['InstanceId']
|
|
8755
|
+
@Port = params['Port']
|
|
8756
|
+
@EniId = params['EniId']
|
|
8757
|
+
end
|
|
8758
|
+
end
|
|
8759
|
+
|
|
8630
8760
|
# 描述一个Target的健康信息
|
|
8631
8761
|
class TargetHealth < TencentCloud::Common::AbstractModel
|
|
8632
8762
|
# @param IP: Target的内网IP
|
|
@@ -8648,8 +8778,8 @@ module TencentCloud
|
|
|
8648
8778
|
|
|
8649
8779
|
attr_accessor :IP, :Port, :HealthStatus, :TargetId, :HealthStatusDetail, :HealthStatusDetial, :TargetGroupId, :Weight
|
|
8650
8780
|
extend Gem::Deprecate
|
|
8651
|
-
deprecate :HealthStatusDetial, :none, 2025,
|
|
8652
|
-
deprecate :HealthStatusDetial=, :none, 2025,
|
|
8781
|
+
deprecate :HealthStatusDetial, :none, 2025, 12
|
|
8782
|
+
deprecate :HealthStatusDetial=, :none, 2025, 12
|
|
8653
8783
|
|
|
8654
8784
|
def initialize(ip=nil, port=nil, healthstatus=nil, targetid=nil, healthstatusdetail=nil, healthstatusdetial=nil, targetgroupid=nil, weight=nil)
|
|
8655
8785
|
@IP = ip
|
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.1183
|
|
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-
|
|
11
|
+
date: 2025-12-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -34,8 +34,8 @@ extensions: []
|
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
36
|
- lib/tencentcloud-sdk-clb.rb
|
|
37
|
-
- lib/v20180317/client.rb
|
|
38
37
|
- lib/v20180317/models.rb
|
|
38
|
+
- lib/v20180317/client.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|