tencentcloud-sdk-clb 3.0.1141 → 3.0.1161

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: 99a7d54ca3054171e97818b913d330a4915a3102
4
- data.tar.gz: 545a74d484f7fee9da8c77409980095256060773
3
+ metadata.gz: 480f1afa35c713782ce080f78e0aa4277cd9b1fd
4
+ data.tar.gz: c75008446ef50a73054f53035832e749bf95517c
5
5
  SHA512:
6
- metadata.gz: ee45cc03ca3b6d3610f361cf5285e196adaf51688b2cd7f4a9779dbd9bdedb68a28b780b1be632e2103dbb0931d224d4b73f8b2f76eb9a9648c7a34889aad562
7
- data.tar.gz: 59e5f2363a7ef47bb9073bab9d7a7245295852b8685d21b334907fd5a172169a68438be029b5ce66632c1a98c7a0688381937736bc75a803f0a959022648dbc4
6
+ metadata.gz: 7304f75df064f69812b9a00fb0a65ddd559b166c9caf1c07aebdb97d3b03dfd9907d0968d4219c9f3726c50959fdf22081b49990c309f6c79a72076e48c48b8f
7
+ data.tar.gz: b61622f35c5bb6c7e7dd1391875ac6d9f95e3f41c10b0911f1ae99aa2020f3e42e153904fb72407cf39875138a6aa04ed8fcbdaeb3f76fed4c257f3960a55b45
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1141
1
+ 3.0.1161
@@ -29,54 +29,6 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
- # 新增个性化配置,准备下线,请使用SetCustomizedConfigForLoadBalancer。
33
-
34
- # @param request: Request instance for AddCustomizedConfig.
35
- # @type request: :class:`Tencentcloud::clb::V20180317::AddCustomizedConfigRequest`
36
- # @rtype: :class:`Tencentcloud::clb::V20180317::AddCustomizedConfigResponse`
37
- def AddCustomizedConfig(request)
38
- body = send_request('AddCustomizedConfig', request.serialize)
39
- response = JSON.parse(body)
40
- if response['Response'].key?('Error') == false
41
- model = AddCustomizedConfigResponse.new
42
- model.deserialize(response['Response'])
43
- model
44
- else
45
- code = response['Response']['Error']['Code']
46
- message = response['Response']['Error']['Message']
47
- reqid = response['Response']['RequestId']
48
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
- end
50
- rescue TencentCloud::Common::TencentCloudSDKException => e
51
- raise e
52
- rescue StandardError => e
53
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
- end
55
-
56
- # 关联配置到server或location,根据配置类型关联到server或location。准备下线,请使用SetCustomizedConfigForLoadBalancer。
57
-
58
- # @param request: Request instance for AssociateCustomizedConfig.
59
- # @type request: :class:`Tencentcloud::clb::V20180317::AssociateCustomizedConfigRequest`
60
- # @rtype: :class:`Tencentcloud::clb::V20180317::AssociateCustomizedConfigResponse`
61
- def AssociateCustomizedConfig(request)
62
- body = send_request('AssociateCustomizedConfig', request.serialize)
63
- response = JSON.parse(body)
64
- if response['Response'].key?('Error') == false
65
- model = AssociateCustomizedConfigResponse.new
66
- model.deserialize(response['Response'])
67
- model
68
- else
69
- code = response['Response']['Error']['Code']
70
- message = response['Response']['Error']['Message']
71
- reqid = response['Response']['RequestId']
72
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
- end
74
- rescue TencentCloud::Common::TencentCloudSDKException => e
75
- raise e
76
- rescue StandardError => e
77
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
- end
79
-
80
32
  # 本接口(AssociateTargetGroups)用来将目标组绑定到负载均衡的监听器(四层协议)或转发规则(七层协议)上。
81
33
  # 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
82
34
  # 限制说明:
@@ -444,30 +396,6 @@ module TencentCloud
444
396
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
445
397
  end
446
398
 
447
- # 删除个性化配置,准备下线,请使用SetCustomizedConfigForLoadBalancer。
448
-
449
- # @param request: Request instance for DeleteCustomizedConfig.
450
- # @type request: :class:`Tencentcloud::clb::V20180317::DeleteCustomizedConfigRequest`
451
- # @rtype: :class:`Tencentcloud::clb::V20180317::DeleteCustomizedConfigResponse`
452
- def DeleteCustomizedConfig(request)
453
- body = send_request('DeleteCustomizedConfig', request.serialize)
454
- response = JSON.parse(body)
455
- if response['Response'].key?('Error') == false
456
- model = DeleteCustomizedConfigResponse.new
457
- model.deserialize(response['Response'])
458
- model
459
- else
460
- code = response['Response']['Error']['Code']
461
- message = response['Response']['Error']['Message']
462
- reqid = response['Response']['RequestId']
463
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
464
- end
465
- rescue TencentCloud::Common::TencentCloudSDKException => e
466
- raise e
467
- rescue StandardError => e
468
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
469
- end
470
-
471
399
  # 本接口用来删除负载均衡实例下的监听器(四层和七层)。
472
400
  # 本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
473
401
 
@@ -1471,30 +1399,6 @@ module TencentCloud
1471
1399
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1472
1400
  end
1473
1401
 
1474
- # 去关联个性化配置,准备下线,请使用SetCustomizedConfigForLoadBalancer。
1475
-
1476
- # @param request: Request instance for DisassociateCustomizedConfig.
1477
- # @type request: :class:`Tencentcloud::clb::V20180317::DisassociateCustomizedConfigRequest`
1478
- # @rtype: :class:`Tencentcloud::clb::V20180317::DisassociateCustomizedConfigResponse`
1479
- def DisassociateCustomizedConfig(request)
1480
- body = send_request('DisassociateCustomizedConfig', request.serialize)
1481
- response = JSON.parse(body)
1482
- if response['Response'].key?('Error') == false
1483
- model = DisassociateCustomizedConfigResponse.new
1484
- model.deserialize(response['Response'])
1485
- model
1486
- else
1487
- code = response['Response']['Error']['Code']
1488
- message = response['Response']['Error']['Message']
1489
- reqid = response['Response']['RequestId']
1490
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1491
- end
1492
- rescue TencentCloud::Common::TencentCloudSDKException => e
1493
- raise e
1494
- rescue StandardError => e
1495
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1496
- end
1497
-
1498
1402
  # 解除规则的目标组关联关系。
1499
1403
  # 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
1500
1404
  # 当解绑七层转发规则时,LocationId 为必填项。
@@ -1692,30 +1596,6 @@ module TencentCloud
1692
1596
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1693
1597
  end
1694
1598
 
1695
- # 修改个性化配置。如果配置已经绑定clb、server或location,同时更新。准备下线,请使用SetCustomizedConfigForLoadBalancer。
1696
-
1697
- # @param request: Request instance for ModifyCustomizedConfig.
1698
- # @type request: :class:`Tencentcloud::clb::V20180317::ModifyCustomizedConfigRequest`
1699
- # @rtype: :class:`Tencentcloud::clb::V20180317::ModifyCustomizedConfigResponse`
1700
- def ModifyCustomizedConfig(request)
1701
- body = send_request('ModifyCustomizedConfig', request.serialize)
1702
- response = JSON.parse(body)
1703
- if response['Response'].key?('Error') == false
1704
- model = ModifyCustomizedConfigResponse.new
1705
- model.deserialize(response['Response'])
1706
- model
1707
- else
1708
- code = response['Response']['Error']['Code']
1709
- message = response['Response']['Error']['Message']
1710
- reqid = response['Response']['RequestId']
1711
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1712
- end
1713
- rescue TencentCloud::Common::TencentCloudSDKException => e
1714
- raise e
1715
- rescue StandardError => e
1716
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1717
- end
1718
-
1719
1599
  # ModifyDomain接口用来修改负载均衡七层监听器下的域名。
1720
1600
  # 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
1721
1601
 
@@ -17,93 +17,6 @@
17
17
  module TencentCloud
18
18
  module Clb
19
19
  module V20180317
20
- # AddCustomizedConfig请求参数结构体
21
- class AddCustomizedConfigRequest < TencentCloud::Common::AbstractModel
22
- # @param ConfigName: 配置名字
23
- # @type ConfigName: String
24
- # @param ConfigType: 配置类型,取值范围["CLB", "SERVER", "LOCATION"],分别表示CLB配置,server配置,location配置。
25
- # @type ConfigType: String
26
- # @param ConfigContent: 配置内容
27
- # @type ConfigContent: String
28
-
29
- attr_accessor :ConfigName, :ConfigType, :ConfigContent
30
-
31
- def initialize(configname=nil, configtype=nil, configcontent=nil)
32
- @ConfigName = configname
33
- @ConfigType = configtype
34
- @ConfigContent = configcontent
35
- end
36
-
37
- def deserialize(params)
38
- @ConfigName = params['ConfigName']
39
- @ConfigType = params['ConfigType']
40
- @ConfigContent = params['ConfigContent']
41
- end
42
- end
43
-
44
- # AddCustomizedConfig返回参数结构体
45
- class AddCustomizedConfigResponse < TencentCloud::Common::AbstractModel
46
- # @param ConfigId: 配置ID
47
- # @type ConfigId: String
48
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
49
- # @type RequestId: String
50
-
51
- attr_accessor :ConfigId, :RequestId
52
-
53
- def initialize(configid=nil, requestid=nil)
54
- @ConfigId = configid
55
- @RequestId = requestid
56
- end
57
-
58
- def deserialize(params)
59
- @ConfigId = params['ConfigId']
60
- @RequestId = params['RequestId']
61
- end
62
- end
63
-
64
- # AssociateCustomizedConfig请求参数结构体
65
- class AssociateCustomizedConfigRequest < TencentCloud::Common::AbstractModel
66
- # @param UconfigId: 配置ID
67
- # @type UconfigId: String
68
- # @param BindList: 关联的server或location
69
- # @type BindList: Array
70
-
71
- attr_accessor :UconfigId, :BindList
72
-
73
- def initialize(uconfigid=nil, bindlist=nil)
74
- @UconfigId = uconfigid
75
- @BindList = bindlist
76
- end
77
-
78
- def deserialize(params)
79
- @UconfigId = params['UconfigId']
80
- unless params['BindList'].nil?
81
- @BindList = []
82
- params['BindList'].each do |i|
83
- binditem_tmp = BindItem.new
84
- binditem_tmp.deserialize(i)
85
- @BindList << binditem_tmp
86
- end
87
- end
88
- end
89
- end
90
-
91
- # AssociateCustomizedConfig返回参数结构体
92
- class AssociateCustomizedConfigResponse < TencentCloud::Common::AbstractModel
93
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
94
- # @type RequestId: String
95
-
96
- attr_accessor :RequestId
97
-
98
- def initialize(requestid=nil)
99
- @RequestId = requestid
100
- end
101
-
102
- def deserialize(params)
103
- @RequestId = params['RequestId']
104
- end
105
- end
106
-
107
20
  # AssociateTargetGroups请求参数结构体
108
21
  class AssociateTargetGroupsRequest < TencentCloud::Common::AbstractModel
109
22
  # @param Associations: 绑定的关系数组,目标组类型需要一致。
@@ -608,34 +521,6 @@ module TencentCloud
608
521
  end
609
522
  end
610
523
 
611
- # 配置绑定关系
612
- class BindItem < TencentCloud::Common::AbstractModel
613
- # @param LoadBalancerId: 配置绑定的CLB ID
614
- # @type LoadBalancerId: String
615
- # @param ListenerId: 配置绑定的监听器ID
616
- # @type ListenerId: String
617
- # @param Domain: 配置绑定的域名
618
- # @type Domain: String
619
- # @param LocationId: 配置绑定的规则
620
- # @type LocationId: String
621
-
622
- attr_accessor :LoadBalancerId, :ListenerId, :Domain, :LocationId
623
-
624
- def initialize(loadbalancerid=nil, listenerid=nil, domain=nil, locationid=nil)
625
- @LoadBalancerId = loadbalancerid
626
- @ListenerId = listenerid
627
- @Domain = domain
628
- @LocationId = locationid
629
- end
630
-
631
- def deserialize(params)
632
- @LoadBalancerId = params['LoadBalancerId']
633
- @ListenerId = params['ListenerId']
634
- @Domain = params['Domain']
635
- @LocationId = params['LocationId']
636
- end
637
- end
638
-
639
524
  # 加入了12306黑名单的IP
640
525
  class BlockedIP < TencentCloud::Common::AbstractModel
641
526
  # @param IP: 黑名单IP
@@ -1401,8 +1286,8 @@ module TencentCloud
1401
1286
 
1402
1287
  attr_accessor :LogsetName, :Period, :LogsetType
1403
1288
  extend Gem::Deprecate
1404
- deprecate :Period, :none, 2025, 9
1405
- deprecate :Period=, :none, 2025, 9
1289
+ deprecate :Period, :none, 2025, 10
1290
+ deprecate :Period=, :none, 2025, 10
1406
1291
 
1407
1292
  def initialize(logsetname=nil, period=nil, logsettype=nil)
1408
1293
  @LogsetName = logsetname
@@ -1497,10 +1382,20 @@ module TencentCloud
1497
1382
  # @type SslCloseSwitch: Boolean
1498
1383
  # @param DataCompressMode: 数据压缩模式。可选值:transparent(透传模式)、compatibility(兼容模式)
1499
1384
  # @type DataCompressMode: String
1385
+ # @param RescheduleTargetZeroWeight: 重新调度功能,权重调为0开关,打开此开关,后端服务器权重调为0时触发重新调度。仅TCP/UDP监听器支持。
1386
+ # @type RescheduleTargetZeroWeight: Boolean
1387
+ # @param RescheduleUnhealthy: 重新调度功能,健康检查异常开关,打开此开关,后端服务器健康检查异常时触发重新调度。仅TCP/UDP监听器支持。
1388
+ # @type RescheduleUnhealthy: Boolean
1389
+ # @param RescheduleExpandTarget: 重新调度功能,扩容后端服务开关,打开此开关,后端服务器增加或者减少时触发重新调度。仅TCP/UDP监听器支持。
1390
+ # @type RescheduleExpandTarget: Boolean
1391
+ # @param RescheduleStartTime: 重新调度触发开始时间,取值0~3600s。仅TCP/UDP监听器支持。
1392
+ # @type RescheduleStartTime: Integer
1393
+ # @param RescheduleInterval: 重新调度触发持续时间,取值0~3600s。仅TCP/UDP监听器支持。
1394
+ # @type RescheduleInterval: Integer
1500
1395
 
1501
- 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
1396
+ 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, :RescheduleTargetZeroWeight, :RescheduleUnhealthy, :RescheduleExpandTarget, :RescheduleStartTime, :RescheduleInterval
1502
1397
 
1503
- 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)
1398
+ 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, rescheduletargetzeroweight=nil, rescheduleunhealthy=nil, rescheduleexpandtarget=nil, reschedulestarttime=nil, rescheduleinterval=nil)
1504
1399
  @LoadBalancerId = loadbalancerid
1505
1400
  @Ports = ports
1506
1401
  @Protocol = protocol
@@ -1525,6 +1420,11 @@ module TencentCloud
1525
1420
  @H2cSwitch = h2cswitch
1526
1421
  @SslCloseSwitch = sslcloseswitch
1527
1422
  @DataCompressMode = datacompressmode
1423
+ @RescheduleTargetZeroWeight = rescheduletargetzeroweight
1424
+ @RescheduleUnhealthy = rescheduleunhealthy
1425
+ @RescheduleExpandTarget = rescheduleexpandtarget
1426
+ @RescheduleStartTime = reschedulestarttime
1427
+ @RescheduleInterval = rescheduleinterval
1528
1428
  end
1529
1429
 
1530
1430
  def deserialize(params)
@@ -1561,6 +1461,11 @@ module TencentCloud
1561
1461
  @H2cSwitch = params['H2cSwitch']
1562
1462
  @SslCloseSwitch = params['SslCloseSwitch']
1563
1463
  @DataCompressMode = params['DataCompressMode']
1464
+ @RescheduleTargetZeroWeight = params['RescheduleTargetZeroWeight']
1465
+ @RescheduleUnhealthy = params['RescheduleUnhealthy']
1466
+ @RescheduleExpandTarget = params['RescheduleExpandTarget']
1467
+ @RescheduleStartTime = params['RescheduleStartTime']
1468
+ @RescheduleInterval = params['RescheduleInterval']
1564
1469
  end
1565
1470
  end
1566
1471
 
@@ -1602,7 +1507,7 @@ module TencentCloud
1602
1507
  # @type ProjectId: Integer
1603
1508
  # @param AddressIPVersion: 仅适用于公网负载均衡。IP版本,可取值:IPV4、IPV6、IPv6FullChain,不区分大小写,默认值 IPV4。说明:取值为IPV6表示为IPV6 NAT64版本;取值为IPv6FullChain,表示为IPv6版本。
1604
1509
  # @type AddressIPVersion: String
1605
- # @param Number: 创建负载均衡的个数,默认值 1。创建个数不能超过帐号所能创建的最大值,默认创建最大值为20。
1510
+ # @param Number: 创建负载均衡的个数,默认值 1。创建个数不能超过账号所能创建的最大值,默认创建最大值为20。
1606
1511
  # @type Number: Integer
1607
1512
  # @param MasterZoneId: 仅适用于公网且IP版本为IPv4的负载均衡。设置跨可用区容灾时的主可用区ID, 可用区 ID 和名称均支持,例如 100001 或 ap-guangzhou-1
1608
1513
  # 注:主可用区是需要承载流量的可用区,备可用区默认不承载流量,主可用区不可用时才使用备可用区。
@@ -2079,38 +1984,6 @@ module TencentCloud
2079
1984
  end
2080
1985
  end
2081
1986
 
2082
- # DeleteCustomizedConfig请求参数结构体
2083
- class DeleteCustomizedConfigRequest < TencentCloud::Common::AbstractModel
2084
- # @param UconfigIdList: 删除的配置ID列表
2085
- # @type UconfigIdList: Array
2086
-
2087
- attr_accessor :UconfigIdList
2088
-
2089
- def initialize(uconfigidlist=nil)
2090
- @UconfigIdList = uconfigidlist
2091
- end
2092
-
2093
- def deserialize(params)
2094
- @UconfigIdList = params['UconfigIdList']
2095
- end
2096
- end
2097
-
2098
- # DeleteCustomizedConfig返回参数结构体
2099
- class DeleteCustomizedConfigResponse < TencentCloud::Common::AbstractModel
2100
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2101
- # @type RequestId: String
2102
-
2103
- attr_accessor :RequestId
2104
-
2105
- def initialize(requestid=nil)
2106
- @RequestId = requestid
2107
- end
2108
-
2109
- def deserialize(params)
2110
- @RequestId = params['RequestId']
2111
- end
2112
- end
2113
-
2114
1987
  # DeleteListener请求参数结构体
2115
1988
  class DeleteListenerRequest < TencentCloud::Common::AbstractModel
2116
1989
  # @param LoadBalancerId: 负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
@@ -2187,9 +2060,9 @@ module TencentCloud
2187
2060
  class DeleteLoadBalancerRequest < TencentCloud::Common::AbstractModel
2188
2061
  # @param LoadBalancerIds: 要删除的负载均衡实例 ID 数组,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取,数组大小最大支持20。
2189
2062
  # @type LoadBalancerIds: Array
2190
- # @param ForceDelete: 是否强制删除clb。True表示强制删除,False表示不是强制删除,需要做拦截校验。
2191
- # 默认为 False
2192
- # 以下几种情况会默认拦截删除操作,如果确认强制删除则需要传强制校验参数ForceDelete为True
2063
+ # @param ForceDelete: 是否强制删除clb。true表示强制删除,false表示不是强制删除,需要做拦截校验。
2064
+ # 默认为false
2065
+ # 以下几种情况会默认拦截删除操作,如果触发情况1、2但确认强制删除则需要传强制校验参数ForceDelete为true
2193
2066
  # 1、删除后端绑定大于等于 20 个 RS 的实例时。
2194
2067
  # 2、删除后端有 RS 且 5 分钟 内“出/入带宽”峰值取大 > 10Mbps 的实例时。
2195
2068
  # 3、单地域内 5 分钟 内删除大于等于 30 个实例时。
@@ -4435,49 +4308,6 @@ module TencentCloud
4435
4308
  end
4436
4309
  end
4437
4310
 
4438
- # DisassociateCustomizedConfig请求参数结构体
4439
- class DisassociateCustomizedConfigRequest < TencentCloud::Common::AbstractModel
4440
- # @param UconfigId: 配置ID
4441
- # @type UconfigId: String
4442
- # @param BindList: 解绑的列表
4443
- # @type BindList: Array
4444
-
4445
- attr_accessor :UconfigId, :BindList
4446
-
4447
- def initialize(uconfigid=nil, bindlist=nil)
4448
- @UconfigId = uconfigid
4449
- @BindList = bindlist
4450
- end
4451
-
4452
- def deserialize(params)
4453
- @UconfigId = params['UconfigId']
4454
- unless params['BindList'].nil?
4455
- @BindList = []
4456
- params['BindList'].each do |i|
4457
- binditem_tmp = BindItem.new
4458
- binditem_tmp.deserialize(i)
4459
- @BindList << binditem_tmp
4460
- end
4461
- end
4462
- end
4463
- end
4464
-
4465
- # DisassociateCustomizedConfig返回参数结构体
4466
- class DisassociateCustomizedConfigResponse < TencentCloud::Common::AbstractModel
4467
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4468
- # @type RequestId: String
4469
-
4470
- attr_accessor :RequestId
4471
-
4472
- def initialize(requestid=nil)
4473
- @RequestId = requestid
4474
- end
4475
-
4476
- def deserialize(params)
4477
- @RequestId = params['RequestId']
4478
- end
4479
- end
4480
-
4481
4311
  # DisassociateTargetGroups请求参数结构体
4482
4312
  class DisassociateTargetGroupsRequest < TencentCloud::Common::AbstractModel
4483
4313
  # @param Associations: 待解绑的规则关系数组,支持批量解绑多个监听器,单次批量解除最多20个。
@@ -5684,8 +5514,8 @@ module TencentCloud
5684
5514
 
5685
5515
  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
5686
5516
  extend Gem::Deprecate
5687
- deprecate :Log, :none, 2025, 9
5688
- deprecate :Log=, :none, 2025, 9
5517
+ deprecate :Log, :none, 2025, 10
5518
+ deprecate :Log=, :none, 2025, 10
5689
5519
 
5690
5520
  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)
5691
5521
  @LoadBalancerId = loadbalancerid
@@ -6305,46 +6135,6 @@ module TencentCloud
6305
6135
  end
6306
6136
  end
6307
6137
 
6308
- # ModifyCustomizedConfig请求参数结构体
6309
- class ModifyCustomizedConfigRequest < TencentCloud::Common::AbstractModel
6310
- # @param ConfigName: 配置名字
6311
- # @type ConfigName: String
6312
- # @param UconfigId: 配置ID
6313
- # @type UconfigId: String
6314
- # @param ConfigContent: 配置内容
6315
- # @type ConfigContent: String
6316
-
6317
- attr_accessor :ConfigName, :UconfigId, :ConfigContent
6318
-
6319
- def initialize(configname=nil, uconfigid=nil, configcontent=nil)
6320
- @ConfigName = configname
6321
- @UconfigId = uconfigid
6322
- @ConfigContent = configcontent
6323
- end
6324
-
6325
- def deserialize(params)
6326
- @ConfigName = params['ConfigName']
6327
- @UconfigId = params['UconfigId']
6328
- @ConfigContent = params['ConfigContent']
6329
- end
6330
- end
6331
-
6332
- # ModifyCustomizedConfig返回参数结构体
6333
- class ModifyCustomizedConfigResponse < TencentCloud::Common::AbstractModel
6334
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6335
- # @type RequestId: String
6336
-
6337
- attr_accessor :RequestId
6338
-
6339
- def initialize(requestid=nil)
6340
- @RequestId = requestid
6341
- end
6342
-
6343
- def deserialize(params)
6344
- @RequestId = params['RequestId']
6345
- end
6346
- end
6347
-
6348
6138
  # ModifyDomainAttributes请求参数结构体
6349
6139
  class ModifyDomainAttributesRequest < TencentCloud::Common::AbstractModel
6350
6140
  # @param LoadBalancerId: 负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
@@ -6580,10 +6370,20 @@ module TencentCloud
6580
6370
  # @type SnatEnable: Boolean
6581
6371
  # @param DataCompressMode: 数据压缩模式
6582
6372
  # @type DataCompressMode: String
6373
+ # @param RescheduleTargetZeroWeight: 重新调度功能,权重调为0开关,打开此开关,后端服务器权重调为0时触发重新调度。仅TCP/UDP监听器支持。
6374
+ # @type RescheduleTargetZeroWeight: Boolean
6375
+ # @param RescheduleUnhealthy: 重新调度功能,健康检查异常开关,打开此开关,后端服务器健康检查异常时触发重新调度。仅TCP/UDP监听器支持。
6376
+ # @type RescheduleUnhealthy: Boolean
6377
+ # @param RescheduleExpandTarget: 重新调度功能,扩容后端服务开关,打开此开关,后端服务器增加或者减少时触发重新调度。仅TCP/UDP监听器支持。
6378
+ # @type RescheduleExpandTarget: Boolean
6379
+ # @param RescheduleStartTime: 重新调度触发开始时间,取值0~3600s。仅TCP/UDP监听器支持。
6380
+ # @type RescheduleStartTime: Integer
6381
+ # @param RescheduleInterval: 重新调度触发持续时间,取值0~3600s。仅TCP/UDP监听器支持。
6382
+ # @type RescheduleInterval: Integer
6583
6383
 
6584
- attr_accessor :LoadBalancerId, :ListenerId, :ListenerName, :SessionExpireTime, :HealthCheck, :Certificate, :Scheduler, :SniSwitch, :TargetType, :KeepaliveEnable, :DeregisterTargetRst, :SessionType, :MultiCertInfo, :MaxConn, :MaxCps, :IdleConnectTimeout, :ProxyProtocol, :SnatEnable, :DataCompressMode
6384
+ attr_accessor :LoadBalancerId, :ListenerId, :ListenerName, :SessionExpireTime, :HealthCheck, :Certificate, :Scheduler, :SniSwitch, :TargetType, :KeepaliveEnable, :DeregisterTargetRst, :SessionType, :MultiCertInfo, :MaxConn, :MaxCps, :IdleConnectTimeout, :ProxyProtocol, :SnatEnable, :DataCompressMode, :RescheduleTargetZeroWeight, :RescheduleUnhealthy, :RescheduleExpandTarget, :RescheduleStartTime, :RescheduleInterval
6585
6385
 
6586
- 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)
6386
+ 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, rescheduletargetzeroweight=nil, rescheduleunhealthy=nil, rescheduleexpandtarget=nil, reschedulestarttime=nil, rescheduleinterval=nil)
6587
6387
  @LoadBalancerId = loadbalancerid
6588
6388
  @ListenerId = listenerid
6589
6389
  @ListenerName = listenername
@@ -6603,6 +6403,11 @@ module TencentCloud
6603
6403
  @ProxyProtocol = proxyprotocol
6604
6404
  @SnatEnable = snatenable
6605
6405
  @DataCompressMode = datacompressmode
6406
+ @RescheduleTargetZeroWeight = rescheduletargetzeroweight
6407
+ @RescheduleUnhealthy = rescheduleunhealthy
6408
+ @RescheduleExpandTarget = rescheduleexpandtarget
6409
+ @RescheduleStartTime = reschedulestarttime
6410
+ @RescheduleInterval = rescheduleinterval
6606
6411
  end
6607
6412
 
6608
6413
  def deserialize(params)
@@ -6634,6 +6439,11 @@ module TencentCloud
6634
6439
  @ProxyProtocol = params['ProxyProtocol']
6635
6440
  @SnatEnable = params['SnatEnable']
6636
6441
  @DataCompressMode = params['DataCompressMode']
6442
+ @RescheduleTargetZeroWeight = params['RescheduleTargetZeroWeight']
6443
+ @RescheduleUnhealthy = params['RescheduleUnhealthy']
6444
+ @RescheduleExpandTarget = params['RescheduleExpandTarget']
6445
+ @RescheduleStartTime = params['RescheduleStartTime']
6446
+ @RescheduleInterval = params['RescheduleInterval']
6637
6447
  end
6638
6448
  end
6639
6449
 
@@ -7752,10 +7562,10 @@ module TencentCloud
7752
7562
 
7753
7563
  attr_accessor :ListenerId, :Targets, :LocationId, :Domain, :Url, :Weight
7754
7564
  extend Gem::Deprecate
7755
- deprecate :Domain, :none, 2025, 9
7756
- deprecate :Domain=, :none, 2025, 9
7757
- deprecate :Url, :none, 2025, 9
7758
- deprecate :Url=, :none, 2025, 9
7565
+ deprecate :Domain, :none, 2025, 10
7566
+ deprecate :Domain=, :none, 2025, 10
7567
+ deprecate :Url, :none, 2025, 10
7568
+ deprecate :Url=, :none, 2025, 10
7759
7569
 
7760
7570
  def initialize(listenerid=nil, targets=nil, locationid=nil, domain=nil, url=nil, weight=nil)
7761
7571
  @ListenerId = listenerid
@@ -8826,8 +8636,8 @@ module TencentCloud
8826
8636
 
8827
8637
  attr_accessor :IP, :Port, :HealthStatus, :TargetId, :HealthStatusDetail, :HealthStatusDetial, :TargetGroupId, :Weight
8828
8638
  extend Gem::Deprecate
8829
- deprecate :HealthStatusDetial, :none, 2025, 9
8830
- deprecate :HealthStatusDetial=, :none, 2025, 9
8639
+ deprecate :HealthStatusDetial, :none, 2025, 10
8640
+ deprecate :HealthStatusDetial=, :none, 2025, 10
8831
8641
 
8832
8642
  def initialize(ip=nil, port=nil, healthstatus=nil, targetid=nil, healthstatusdetail=nil, healthstatusdetial=nil, targetgroupid=nil, weight=nil)
8833
8643
  @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.1141
4
+ version: 3.0.1161
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-09-16 00:00:00.000000000 Z
11
+ date: 2025-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common