tencentcloud-sdk-clb 3.0.1073 → 3.0.1074
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 +88 -10
- 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: 42f13190ed222f2113f65e68be98af64fd4e7793
|
4
|
+
data.tar.gz: 66f170c043a2091bd1cd52a2f127f5583557da83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2d4f14655f2c84a2ce8c773f817965ec8c1630400d2f8fa37ed8da0dea8fa08793ef89751e578e7cee348916bc7e08cd2fa6ef8f69e617434301c339124683a
|
7
|
+
data.tar.gz: a5df56f686088644cdefc00b726cf9629cfdeb6251c43d30615129869ba74da632c9d4b32bfae5c2dc3f5ee56420ad2bbf128b9760333e5b23aac91bee6781db
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1074
|
data/lib/v20180317/client.rb
CHANGED
@@ -1087,6 +1087,30 @@ module TencentCloud
|
|
1087
1087
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1088
1088
|
end
|
1089
1089
|
|
1090
|
+
# 查询负载均衡的操作保护信息。
|
1091
|
+
|
1092
|
+
# @param request: Request instance for DescribeLBOperateProtect.
|
1093
|
+
# @type request: :class:`Tencentcloud::clb::V20180317::DescribeLBOperateProtectRequest`
|
1094
|
+
# @rtype: :class:`Tencentcloud::clb::V20180317::DescribeLBOperateProtectResponse`
|
1095
|
+
def DescribeLBOperateProtect(request)
|
1096
|
+
body = send_request('DescribeLBOperateProtect', request.serialize)
|
1097
|
+
response = JSON.parse(body)
|
1098
|
+
if response['Response'].key?('Error') == false
|
1099
|
+
model = DescribeLBOperateProtectResponse.new
|
1100
|
+
model.deserialize(response['Response'])
|
1101
|
+
model
|
1102
|
+
else
|
1103
|
+
code = response['Response']['Error']['Code']
|
1104
|
+
message = response['Response']['Error']['Message']
|
1105
|
+
reqid = response['Response']['RequestId']
|
1106
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1107
|
+
end
|
1108
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1109
|
+
raise e
|
1110
|
+
rescue StandardError => e
|
1111
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1112
|
+
end
|
1113
|
+
|
1090
1114
|
# DescribeListeners 接口可根据负载均衡器 ID、监听器的协议或端口作为过滤条件获取监听器列表。如果不指定任何过滤条件,则返回该负载均衡实例下的所有监听器。
|
1091
1115
|
|
1092
1116
|
# @param request: Request instance for DescribeListeners.
|
data/lib/v20180317/models.rb
CHANGED
@@ -1397,8 +1397,8 @@ module TencentCloud
|
|
1397
1397
|
|
1398
1398
|
attr_accessor :LogsetName, :Period, :LogsetType
|
1399
1399
|
extend Gem::Deprecate
|
1400
|
-
deprecate :Period, :none, 2025,
|
1401
|
-
deprecate :Period=, :none, 2025,
|
1400
|
+
deprecate :Period, :none, 2025, 6
|
1401
|
+
deprecate :Period=, :none, 2025, 6
|
1402
1402
|
|
1403
1403
|
def initialize(logsetname=nil, period=nil, logsettype=nil)
|
1404
1404
|
@LogsetName = logsetname
|
@@ -3342,6 +3342,49 @@ module TencentCloud
|
|
3342
3342
|
end
|
3343
3343
|
end
|
3344
3344
|
|
3345
|
+
# DescribeLBOperateProtect请求参数结构体
|
3346
|
+
class DescribeLBOperateProtectRequest < TencentCloud::Common::AbstractModel
|
3347
|
+
# @param LoadBalancerIds: 负载均衡实例ID。
|
3348
|
+
# @type LoadBalancerIds: Array
|
3349
|
+
|
3350
|
+
attr_accessor :LoadBalancerIds
|
3351
|
+
|
3352
|
+
def initialize(loadbalancerids=nil)
|
3353
|
+
@LoadBalancerIds = loadbalancerids
|
3354
|
+
end
|
3355
|
+
|
3356
|
+
def deserialize(params)
|
3357
|
+
@LoadBalancerIds = params['LoadBalancerIds']
|
3358
|
+
end
|
3359
|
+
end
|
3360
|
+
|
3361
|
+
# DescribeLBOperateProtect返回参数结构体
|
3362
|
+
class DescribeLBOperateProtectResponse < TencentCloud::Common::AbstractModel
|
3363
|
+
# @param LoadBalancerSet: 返回的负载均衡操作保护信息数组。
|
3364
|
+
# @type LoadBalancerSet: Array
|
3365
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3366
|
+
# @type RequestId: String
|
3367
|
+
|
3368
|
+
attr_accessor :LoadBalancerSet, :RequestId
|
3369
|
+
|
3370
|
+
def initialize(loadbalancerset=nil, requestid=nil)
|
3371
|
+
@LoadBalancerSet = loadbalancerset
|
3372
|
+
@RequestId = requestid
|
3373
|
+
end
|
3374
|
+
|
3375
|
+
def deserialize(params)
|
3376
|
+
unless params['LoadBalancerSet'].nil?
|
3377
|
+
@LoadBalancerSet = []
|
3378
|
+
params['LoadBalancerSet'].each do |i|
|
3379
|
+
lboperateprotectinfo_tmp = LBOperateProtectInfo.new
|
3380
|
+
lboperateprotectinfo_tmp.deserialize(i)
|
3381
|
+
@LoadBalancerSet << lboperateprotectinfo_tmp
|
3382
|
+
end
|
3383
|
+
end
|
3384
|
+
@RequestId = params['RequestId']
|
3385
|
+
end
|
3386
|
+
end
|
3387
|
+
|
3345
3388
|
# DescribeListeners请求参数结构体
|
3346
3389
|
class DescribeListenersRequest < TencentCloud::Common::AbstractModel
|
3347
3390
|
# @param LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/api/214/30685) 接口获取。
|
@@ -5069,6 +5112,41 @@ module TencentCloud
|
|
5069
5112
|
end
|
5070
5113
|
end
|
5071
5114
|
|
5115
|
+
# 负载均衡的操作保护信息
|
5116
|
+
class LBOperateProtectInfo < TencentCloud::Common::AbstractModel
|
5117
|
+
# @param LoadBalancerId: 负载均衡实例 ID。
|
5118
|
+
# @type LoadBalancerId: String
|
5119
|
+
# @param ProtectState: 保护状态,true:表示开启了操作保护,false:表示未开启操作保护。
|
5120
|
+
# @type ProtectState: Boolean
|
5121
|
+
# @param OperatorUin: 操作保护的设置uin。
|
5122
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5123
|
+
# @type OperatorUin: String
|
5124
|
+
# @param Description: 设置操作保护时的描述信息。
|
5125
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5126
|
+
# @type Description: String
|
5127
|
+
# @param ModifyTime: 最后修改时间。
|
5128
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5129
|
+
# @type ModifyTime: String
|
5130
|
+
|
5131
|
+
attr_accessor :LoadBalancerId, :ProtectState, :OperatorUin, :Description, :ModifyTime
|
5132
|
+
|
5133
|
+
def initialize(loadbalancerid=nil, protectstate=nil, operatoruin=nil, description=nil, modifytime=nil)
|
5134
|
+
@LoadBalancerId = loadbalancerid
|
5135
|
+
@ProtectState = protectstate
|
5136
|
+
@OperatorUin = operatoruin
|
5137
|
+
@Description = description
|
5138
|
+
@ModifyTime = modifytime
|
5139
|
+
end
|
5140
|
+
|
5141
|
+
def deserialize(params)
|
5142
|
+
@LoadBalancerId = params['LoadBalancerId']
|
5143
|
+
@ProtectState = params['ProtectState']
|
5144
|
+
@OperatorUin = params['OperatorUin']
|
5145
|
+
@Description = params['Description']
|
5146
|
+
@ModifyTime = params['ModifyTime']
|
5147
|
+
end
|
5148
|
+
end
|
5149
|
+
|
5072
5150
|
# 查询类型
|
5073
5151
|
class LbRsItem < TencentCloud::Common::AbstractModel
|
5074
5152
|
# @param VpcId: vpc的字符串id,只支持字符串id。
|
@@ -5580,8 +5658,8 @@ module TencentCloud
|
|
5580
5658
|
|
5581
5659
|
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
|
5582
5660
|
extend Gem::Deprecate
|
5583
|
-
deprecate :Log, :none, 2025,
|
5584
|
-
deprecate :Log=, :none, 2025,
|
5661
|
+
deprecate :Log, :none, 2025, 6
|
5662
|
+
deprecate :Log=, :none, 2025, 6
|
5585
5663
|
|
5586
5664
|
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)
|
5587
5665
|
@LoadBalancerId = loadbalancerid
|
@@ -7631,10 +7709,10 @@ module TencentCloud
|
|
7631
7709
|
|
7632
7710
|
attr_accessor :ListenerId, :Targets, :LocationId, :Domain, :Url, :Weight
|
7633
7711
|
extend Gem::Deprecate
|
7634
|
-
deprecate :Domain, :none, 2025,
|
7635
|
-
deprecate :Domain=, :none, 2025,
|
7636
|
-
deprecate :Url, :none, 2025,
|
7637
|
-
deprecate :Url=, :none, 2025,
|
7712
|
+
deprecate :Domain, :none, 2025, 6
|
7713
|
+
deprecate :Domain=, :none, 2025, 6
|
7714
|
+
deprecate :Url, :none, 2025, 6
|
7715
|
+
deprecate :Url=, :none, 2025, 6
|
7638
7716
|
|
7639
7717
|
def initialize(listenerid=nil, targets=nil, locationid=nil, domain=nil, url=nil, weight=nil)
|
7640
7718
|
@ListenerId = listenerid
|
@@ -8580,8 +8658,8 @@ module TencentCloud
|
|
8580
8658
|
|
8581
8659
|
attr_accessor :IP, :Port, :HealthStatus, :TargetId, :HealthStatusDetail, :HealthStatusDetial, :TargetGroupId, :Weight
|
8582
8660
|
extend Gem::Deprecate
|
8583
|
-
deprecate :HealthStatusDetial, :none, 2025,
|
8584
|
-
deprecate :HealthStatusDetial=, :none, 2025,
|
8661
|
+
deprecate :HealthStatusDetial, :none, 2025, 6
|
8662
|
+
deprecate :HealthStatusDetial=, :none, 2025, 6
|
8585
8663
|
|
8586
8664
|
def initialize(ip=nil, port=nil, healthstatus=nil, targetid=nil, healthstatusdetail=nil, healthstatusdetial=nil, targetgroupid=nil, weight=nil)
|
8587
8665
|
@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.1074
|
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-06-
|
11
|
+
date: 2025-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|