tencentcloud-sdk-clb 3.0.1073 → 3.0.1079

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97c58d4b44f96c90e1a672d9d4e1aebb1cad8198
4
- data.tar.gz: 9bade1c20e0e5a5a70db4fd6a693072edf14f2ca
3
+ metadata.gz: 51844c36ff43b463931b0c12c10bd8f455bfd387
4
+ data.tar.gz: 25621b5447ecc6cdc3bde20086f0cc811d0ab061
5
5
  SHA512:
6
- metadata.gz: 7c33285c419e54eb60211638eeaf70743ae010062152bffd5123744821b9198bc54734532299eba501294c5785cde4d48bd43120fcbc04b50965f7fb2285a05f
7
- data.tar.gz: 07ba4c380620d8a17059bc6aa8e1592bf5e7aaa28599758e1a5482b4d4ad9f9726f54648908e1badd88fe27b75722585910c77623710335d4ccb9bd7f20cf1cd
6
+ metadata.gz: dd29cb7f64be5b2ed683344c36e18e82db8ca0d607c92db6232d3298dff9f15b7c7faa948be32e9fcb02fa17d1b2de0c310a44181eb8008c7b1b481f7253e8cd
7
+ data.tar.gz: 439e67a5a6162ed0658c9cc85e48f7c6d7aa9a79014324f5b02141bdd2503e177417d434a5f4d6a522436cecea33de85771ec655904b4f62f249cb50b3677019
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1073
1
+ 3.0.1079
@@ -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.
@@ -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, 5
1401
- deprecate :Period=, :none, 2025, 5
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
@@ -1478,6 +1478,8 @@ module TencentCloud
1478
1478
  # @type MaxCps: Integer
1479
1479
  # @param IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。取值范围:共享型实例和独占型实例支持:300-900,性能容量型实例支持:300-1980。如需设置请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)。
1480
1480
  # @type IdleConnectTimeout: Integer
1481
+ # @param ProxyProtocol: TCP_SSL和QUIC是否支持PP
1482
+ # @type ProxyProtocol: Boolean
1481
1483
  # @param SnatEnable: 是否开启SNAT,True(开启)、False(关闭)。
1482
1484
  # 默认为关闭。
1483
1485
  # @type SnatEnable: Boolean
@@ -1492,9 +1494,9 @@ module TencentCloud
1492
1494
  # @param DataCompressMode: 数据压缩模式。可选值:transparent(透传模式)、compatibility(兼容模式)
1493
1495
  # @type DataCompressMode: String
1494
1496
 
1495
- attr_accessor :LoadBalancerId, :Ports, :Protocol, :ListenerNames, :HealthCheck, :Certificate, :SessionExpireTime, :Scheduler, :SniSwitch, :TargetType, :SessionType, :KeepaliveEnable, :EndPort, :DeregisterTargetRst, :MultiCertInfo, :MaxConn, :MaxCps, :IdleConnectTimeout, :SnatEnable, :FullEndPorts, :H2cSwitch, :SslCloseSwitch, :DataCompressMode
1497
+ attr_accessor :LoadBalancerId, :Ports, :Protocol, :ListenerNames, :HealthCheck, :Certificate, :SessionExpireTime, :Scheduler, :SniSwitch, :TargetType, :SessionType, :KeepaliveEnable, :EndPort, :DeregisterTargetRst, :MultiCertInfo, :MaxConn, :MaxCps, :IdleConnectTimeout, :ProxyProtocol, :SnatEnable, :FullEndPorts, :H2cSwitch, :SslCloseSwitch, :DataCompressMode
1496
1498
 
1497
- def initialize(loadbalancerid=nil, ports=nil, protocol=nil, listenernames=nil, healthcheck=nil, certificate=nil, sessionexpiretime=nil, scheduler=nil, sniswitch=nil, targettype=nil, sessiontype=nil, keepaliveenable=nil, endport=nil, deregistertargetrst=nil, multicertinfo=nil, maxconn=nil, maxcps=nil, idleconnecttimeout=nil, snatenable=nil, fullendports=nil, h2cswitch=nil, sslcloseswitch=nil, datacompressmode=nil)
1499
+ def initialize(loadbalancerid=nil, ports=nil, protocol=nil, listenernames=nil, healthcheck=nil, certificate=nil, sessionexpiretime=nil, scheduler=nil, sniswitch=nil, targettype=nil, sessiontype=nil, keepaliveenable=nil, endport=nil, deregistertargetrst=nil, multicertinfo=nil, maxconn=nil, maxcps=nil, idleconnecttimeout=nil, proxyprotocol=nil, snatenable=nil, fullendports=nil, h2cswitch=nil, sslcloseswitch=nil, datacompressmode=nil)
1498
1500
  @LoadBalancerId = loadbalancerid
1499
1501
  @Ports = ports
1500
1502
  @Protocol = protocol
@@ -1513,6 +1515,7 @@ module TencentCloud
1513
1515
  @MaxConn = maxconn
1514
1516
  @MaxCps = maxcps
1515
1517
  @IdleConnectTimeout = idleconnecttimeout
1518
+ @ProxyProtocol = proxyprotocol
1516
1519
  @SnatEnable = snatenable
1517
1520
  @FullEndPorts = fullendports
1518
1521
  @H2cSwitch = h2cswitch
@@ -1548,6 +1551,7 @@ module TencentCloud
1548
1551
  @MaxConn = params['MaxConn']
1549
1552
  @MaxCps = params['MaxCps']
1550
1553
  @IdleConnectTimeout = params['IdleConnectTimeout']
1554
+ @ProxyProtocol = params['ProxyProtocol']
1551
1555
  @SnatEnable = params['SnatEnable']
1552
1556
  @FullEndPorts = params['FullEndPorts']
1553
1557
  @H2cSwitch = params['H2cSwitch']
@@ -3342,6 +3346,49 @@ module TencentCloud
3342
3346
  end
3343
3347
  end
3344
3348
 
3349
+ # DescribeLBOperateProtect请求参数结构体
3350
+ class DescribeLBOperateProtectRequest < TencentCloud::Common::AbstractModel
3351
+ # @param LoadBalancerIds: 负载均衡实例ID。
3352
+ # @type LoadBalancerIds: Array
3353
+
3354
+ attr_accessor :LoadBalancerIds
3355
+
3356
+ def initialize(loadbalancerids=nil)
3357
+ @LoadBalancerIds = loadbalancerids
3358
+ end
3359
+
3360
+ def deserialize(params)
3361
+ @LoadBalancerIds = params['LoadBalancerIds']
3362
+ end
3363
+ end
3364
+
3365
+ # DescribeLBOperateProtect返回参数结构体
3366
+ class DescribeLBOperateProtectResponse < TencentCloud::Common::AbstractModel
3367
+ # @param LoadBalancerSet: 返回的负载均衡操作保护信息数组。
3368
+ # @type LoadBalancerSet: Array
3369
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3370
+ # @type RequestId: String
3371
+
3372
+ attr_accessor :LoadBalancerSet, :RequestId
3373
+
3374
+ def initialize(loadbalancerset=nil, requestid=nil)
3375
+ @LoadBalancerSet = loadbalancerset
3376
+ @RequestId = requestid
3377
+ end
3378
+
3379
+ def deserialize(params)
3380
+ unless params['LoadBalancerSet'].nil?
3381
+ @LoadBalancerSet = []
3382
+ params['LoadBalancerSet'].each do |i|
3383
+ lboperateprotectinfo_tmp = LBOperateProtectInfo.new
3384
+ lboperateprotectinfo_tmp.deserialize(i)
3385
+ @LoadBalancerSet << lboperateprotectinfo_tmp
3386
+ end
3387
+ end
3388
+ @RequestId = params['RequestId']
3389
+ end
3390
+ end
3391
+
3345
3392
  # DescribeListeners请求参数结构体
3346
3393
  class DescribeListenersRequest < TencentCloud::Common::AbstractModel
3347
3394
  # @param LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/api/214/30685) 接口获取。
@@ -5069,6 +5116,41 @@ module TencentCloud
5069
5116
  end
5070
5117
  end
5071
5118
 
5119
+ # 负载均衡的操作保护信息
5120
+ class LBOperateProtectInfo < TencentCloud::Common::AbstractModel
5121
+ # @param LoadBalancerId: 负载均衡实例 ID。
5122
+ # @type LoadBalancerId: String
5123
+ # @param ProtectState: 保护状态,true:表示开启了操作保护,false:表示未开启操作保护。
5124
+ # @type ProtectState: Boolean
5125
+ # @param OperatorUin: 操作保护的设置uin。
5126
+ # 注意:此字段可能返回 null,表示取不到有效值。
5127
+ # @type OperatorUin: String
5128
+ # @param Description: 设置操作保护时的描述信息。
5129
+ # 注意:此字段可能返回 null,表示取不到有效值。
5130
+ # @type Description: String
5131
+ # @param ModifyTime: 最后修改时间。
5132
+ # 注意:此字段可能返回 null,表示取不到有效值。
5133
+ # @type ModifyTime: String
5134
+
5135
+ attr_accessor :LoadBalancerId, :ProtectState, :OperatorUin, :Description, :ModifyTime
5136
+
5137
+ def initialize(loadbalancerid=nil, protectstate=nil, operatoruin=nil, description=nil, modifytime=nil)
5138
+ @LoadBalancerId = loadbalancerid
5139
+ @ProtectState = protectstate
5140
+ @OperatorUin = operatoruin
5141
+ @Description = description
5142
+ @ModifyTime = modifytime
5143
+ end
5144
+
5145
+ def deserialize(params)
5146
+ @LoadBalancerId = params['LoadBalancerId']
5147
+ @ProtectState = params['ProtectState']
5148
+ @OperatorUin = params['OperatorUin']
5149
+ @Description = params['Description']
5150
+ @ModifyTime = params['ModifyTime']
5151
+ end
5152
+ end
5153
+
5072
5154
  # 查询类型
5073
5155
  class LbRsItem < TencentCloud::Common::AbstractModel
5074
5156
  # @param VpcId: vpc的字符串id,只支持字符串id。
@@ -5580,8 +5662,8 @@ module TencentCloud
5580
5662
 
5581
5663
  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
5664
  extend Gem::Deprecate
5583
- deprecate :Log, :none, 2025, 5
5584
- deprecate :Log=, :none, 2025, 5
5665
+ deprecate :Log, :none, 2025, 6
5666
+ deprecate :Log=, :none, 2025, 6
5585
5667
 
5586
5668
  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
5669
  @LoadBalancerId = loadbalancerid
@@ -6467,15 +6549,17 @@ module TencentCloud
6467
6549
  # @type MaxCps: Integer
6468
6550
  # @param IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。默认值:900,取值范围:共享型实例和独占型实例支持:300~900,性能容量型实例支持:300~1980。如需设置超过2000s,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category),最大可设置到3600s。
6469
6551
  # @type IdleConnectTimeout: Integer
6552
+ # @param ProxyProtocol: TCP_SSL和QUIC是否支持PP
6553
+ # @type ProxyProtocol: Boolean
6470
6554
  # @param SnatEnable: 是否开启SNAT, True 表示开启 SNAT,False 表示不开启 SNAT。
6471
6555
  # 不传则表示不修改。
6472
6556
  # @type SnatEnable: Boolean
6473
6557
  # @param DataCompressMode: 数据压缩模式
6474
6558
  # @type DataCompressMode: String
6475
6559
 
6476
- attr_accessor :LoadBalancerId, :ListenerId, :ListenerName, :SessionExpireTime, :HealthCheck, :Certificate, :Scheduler, :SniSwitch, :TargetType, :KeepaliveEnable, :DeregisterTargetRst, :SessionType, :MultiCertInfo, :MaxConn, :MaxCps, :IdleConnectTimeout, :SnatEnable, :DataCompressMode
6560
+ attr_accessor :LoadBalancerId, :ListenerId, :ListenerName, :SessionExpireTime, :HealthCheck, :Certificate, :Scheduler, :SniSwitch, :TargetType, :KeepaliveEnable, :DeregisterTargetRst, :SessionType, :MultiCertInfo, :MaxConn, :MaxCps, :IdleConnectTimeout, :ProxyProtocol, :SnatEnable, :DataCompressMode
6477
6561
 
6478
- def initialize(loadbalancerid=nil, listenerid=nil, listenername=nil, sessionexpiretime=nil, healthcheck=nil, certificate=nil, scheduler=nil, sniswitch=nil, targettype=nil, keepaliveenable=nil, deregistertargetrst=nil, sessiontype=nil, multicertinfo=nil, maxconn=nil, maxcps=nil, idleconnecttimeout=nil, snatenable=nil, datacompressmode=nil)
6562
+ def initialize(loadbalancerid=nil, listenerid=nil, listenername=nil, sessionexpiretime=nil, healthcheck=nil, certificate=nil, scheduler=nil, sniswitch=nil, targettype=nil, keepaliveenable=nil, deregistertargetrst=nil, sessiontype=nil, multicertinfo=nil, maxconn=nil, maxcps=nil, idleconnecttimeout=nil, proxyprotocol=nil, snatenable=nil, datacompressmode=nil)
6479
6563
  @LoadBalancerId = loadbalancerid
6480
6564
  @ListenerId = listenerid
6481
6565
  @ListenerName = listenername
@@ -6492,6 +6576,7 @@ module TencentCloud
6492
6576
  @MaxConn = maxconn
6493
6577
  @MaxCps = maxcps
6494
6578
  @IdleConnectTimeout = idleconnecttimeout
6579
+ @ProxyProtocol = proxyprotocol
6495
6580
  @SnatEnable = snatenable
6496
6581
  @DataCompressMode = datacompressmode
6497
6582
  end
@@ -6522,6 +6607,7 @@ module TencentCloud
6522
6607
  @MaxConn = params['MaxConn']
6523
6608
  @MaxCps = params['MaxCps']
6524
6609
  @IdleConnectTimeout = params['IdleConnectTimeout']
6610
+ @ProxyProtocol = params['ProxyProtocol']
6525
6611
  @SnatEnable = params['SnatEnable']
6526
6612
  @DataCompressMode = params['DataCompressMode']
6527
6613
  end
@@ -7631,10 +7717,10 @@ module TencentCloud
7631
7717
 
7632
7718
  attr_accessor :ListenerId, :Targets, :LocationId, :Domain, :Url, :Weight
7633
7719
  extend Gem::Deprecate
7634
- deprecate :Domain, :none, 2025, 5
7635
- deprecate :Domain=, :none, 2025, 5
7636
- deprecate :Url, :none, 2025, 5
7637
- deprecate :Url=, :none, 2025, 5
7720
+ deprecate :Domain, :none, 2025, 6
7721
+ deprecate :Domain=, :none, 2025, 6
7722
+ deprecate :Url, :none, 2025, 6
7723
+ deprecate :Url=, :none, 2025, 6
7638
7724
 
7639
7725
  def initialize(listenerid=nil, targets=nil, locationid=nil, domain=nil, url=nil, weight=nil)
7640
7726
  @ListenerId = listenerid
@@ -8580,8 +8666,8 @@ module TencentCloud
8580
8666
 
8581
8667
  attr_accessor :IP, :Port, :HealthStatus, :TargetId, :HealthStatusDetail, :HealthStatusDetial, :TargetGroupId, :Weight
8582
8668
  extend Gem::Deprecate
8583
- deprecate :HealthStatusDetial, :none, 2025, 5
8584
- deprecate :HealthStatusDetial=, :none, 2025, 5
8669
+ deprecate :HealthStatusDetial, :none, 2025, 6
8670
+ deprecate :HealthStatusDetial=, :none, 2025, 6
8585
8671
 
8586
8672
  def initialize(ip=nil, port=nil, healthstatus=nil, targetid=nil, healthstatusdetail=nil, healthstatusdetial=nil, targetgroupid=nil, weight=nil)
8587
8673
  @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.1073
4
+ version: 3.0.1079
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-03 00:00:00.000000000 Z
11
+ date: 2025-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common