tencentcloud-sdk-clb 3.0.1143 → 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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180317/client.rb +0 -120
- data/lib/v20180317/models.rb +58 -259
- 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: 480f1afa35c713782ce080f78e0aa4277cd9b1fd
|
|
4
|
+
data.tar.gz: c75008446ef50a73054f53035832e749bf95517c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7304f75df064f69812b9a00fb0a65ddd559b166c9caf1c07aebdb97d3b03dfd9907d0968d4219c9f3726c50959fdf22081b49990c309f6c79a72076e48c48b8f
|
|
7
|
+
data.tar.gz: b61622f35c5bb6c7e7dd1391875ac6d9f95e3f41c10b0911f1ae99aa2020f3e42e153904fb72407cf39875138a6aa04ed8fcbdaeb3f76fed4c257f3960a55b45
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1161
|
data/lib/v20180317/client.rb
CHANGED
|
@@ -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
|
|
data/lib/v20180317/models.rb
CHANGED
|
@@ -17,104 +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
|
-
# @param Tags: 标签
|
|
29
|
-
# @type Tags: Array
|
|
30
|
-
|
|
31
|
-
attr_accessor :ConfigName, :ConfigType, :ConfigContent, :Tags
|
|
32
|
-
|
|
33
|
-
def initialize(configname=nil, configtype=nil, configcontent=nil, tags=nil)
|
|
34
|
-
@ConfigName = configname
|
|
35
|
-
@ConfigType = configtype
|
|
36
|
-
@ConfigContent = configcontent
|
|
37
|
-
@Tags = tags
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
def deserialize(params)
|
|
41
|
-
@ConfigName = params['ConfigName']
|
|
42
|
-
@ConfigType = params['ConfigType']
|
|
43
|
-
@ConfigContent = params['ConfigContent']
|
|
44
|
-
unless params['Tags'].nil?
|
|
45
|
-
@Tags = []
|
|
46
|
-
params['Tags'].each do |i|
|
|
47
|
-
taginfo_tmp = TagInfo.new
|
|
48
|
-
taginfo_tmp.deserialize(i)
|
|
49
|
-
@Tags << taginfo_tmp
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
end
|
|
54
|
-
|
|
55
|
-
# AddCustomizedConfig返回参数结构体
|
|
56
|
-
class AddCustomizedConfigResponse < TencentCloud::Common::AbstractModel
|
|
57
|
-
# @param ConfigId: 配置ID
|
|
58
|
-
# @type ConfigId: String
|
|
59
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
60
|
-
# @type RequestId: String
|
|
61
|
-
|
|
62
|
-
attr_accessor :ConfigId, :RequestId
|
|
63
|
-
|
|
64
|
-
def initialize(configid=nil, requestid=nil)
|
|
65
|
-
@ConfigId = configid
|
|
66
|
-
@RequestId = requestid
|
|
67
|
-
end
|
|
68
|
-
|
|
69
|
-
def deserialize(params)
|
|
70
|
-
@ConfigId = params['ConfigId']
|
|
71
|
-
@RequestId = params['RequestId']
|
|
72
|
-
end
|
|
73
|
-
end
|
|
74
|
-
|
|
75
|
-
# AssociateCustomizedConfig请求参数结构体
|
|
76
|
-
class AssociateCustomizedConfigRequest < TencentCloud::Common::AbstractModel
|
|
77
|
-
# @param UconfigId: 配置ID
|
|
78
|
-
# @type UconfigId: String
|
|
79
|
-
# @param BindList: 关联的server或location
|
|
80
|
-
# @type BindList: Array
|
|
81
|
-
|
|
82
|
-
attr_accessor :UconfigId, :BindList
|
|
83
|
-
|
|
84
|
-
def initialize(uconfigid=nil, bindlist=nil)
|
|
85
|
-
@UconfigId = uconfigid
|
|
86
|
-
@BindList = bindlist
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
def deserialize(params)
|
|
90
|
-
@UconfigId = params['UconfigId']
|
|
91
|
-
unless params['BindList'].nil?
|
|
92
|
-
@BindList = []
|
|
93
|
-
params['BindList'].each do |i|
|
|
94
|
-
binditem_tmp = BindItem.new
|
|
95
|
-
binditem_tmp.deserialize(i)
|
|
96
|
-
@BindList << binditem_tmp
|
|
97
|
-
end
|
|
98
|
-
end
|
|
99
|
-
end
|
|
100
|
-
end
|
|
101
|
-
|
|
102
|
-
# AssociateCustomizedConfig返回参数结构体
|
|
103
|
-
class AssociateCustomizedConfigResponse < TencentCloud::Common::AbstractModel
|
|
104
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
105
|
-
# @type RequestId: String
|
|
106
|
-
|
|
107
|
-
attr_accessor :RequestId
|
|
108
|
-
|
|
109
|
-
def initialize(requestid=nil)
|
|
110
|
-
@RequestId = requestid
|
|
111
|
-
end
|
|
112
|
-
|
|
113
|
-
def deserialize(params)
|
|
114
|
-
@RequestId = params['RequestId']
|
|
115
|
-
end
|
|
116
|
-
end
|
|
117
|
-
|
|
118
20
|
# AssociateTargetGroups请求参数结构体
|
|
119
21
|
class AssociateTargetGroupsRequest < TencentCloud::Common::AbstractModel
|
|
120
22
|
# @param Associations: 绑定的关系数组,目标组类型需要一致。
|
|
@@ -619,34 +521,6 @@ module TencentCloud
|
|
|
619
521
|
end
|
|
620
522
|
end
|
|
621
523
|
|
|
622
|
-
# 配置绑定关系
|
|
623
|
-
class BindItem < TencentCloud::Common::AbstractModel
|
|
624
|
-
# @param LoadBalancerId: 配置绑定的CLB ID
|
|
625
|
-
# @type LoadBalancerId: String
|
|
626
|
-
# @param ListenerId: 配置绑定的监听器ID
|
|
627
|
-
# @type ListenerId: String
|
|
628
|
-
# @param Domain: 配置绑定的域名
|
|
629
|
-
# @type Domain: String
|
|
630
|
-
# @param LocationId: 配置绑定的规则
|
|
631
|
-
# @type LocationId: String
|
|
632
|
-
|
|
633
|
-
attr_accessor :LoadBalancerId, :ListenerId, :Domain, :LocationId
|
|
634
|
-
|
|
635
|
-
def initialize(loadbalancerid=nil, listenerid=nil, domain=nil, locationid=nil)
|
|
636
|
-
@LoadBalancerId = loadbalancerid
|
|
637
|
-
@ListenerId = listenerid
|
|
638
|
-
@Domain = domain
|
|
639
|
-
@LocationId = locationid
|
|
640
|
-
end
|
|
641
|
-
|
|
642
|
-
def deserialize(params)
|
|
643
|
-
@LoadBalancerId = params['LoadBalancerId']
|
|
644
|
-
@ListenerId = params['ListenerId']
|
|
645
|
-
@Domain = params['Domain']
|
|
646
|
-
@LocationId = params['LocationId']
|
|
647
|
-
end
|
|
648
|
-
end
|
|
649
|
-
|
|
650
524
|
# 加入了12306黑名单的IP
|
|
651
525
|
class BlockedIP < TencentCloud::Common::AbstractModel
|
|
652
526
|
# @param IP: 黑名单IP
|
|
@@ -1412,8 +1286,8 @@ module TencentCloud
|
|
|
1412
1286
|
|
|
1413
1287
|
attr_accessor :LogsetName, :Period, :LogsetType
|
|
1414
1288
|
extend Gem::Deprecate
|
|
1415
|
-
deprecate :Period, :none, 2025,
|
|
1416
|
-
deprecate :Period=, :none, 2025,
|
|
1289
|
+
deprecate :Period, :none, 2025, 10
|
|
1290
|
+
deprecate :Period=, :none, 2025, 10
|
|
1417
1291
|
|
|
1418
1292
|
def initialize(logsetname=nil, period=nil, logsettype=nil)
|
|
1419
1293
|
@LogsetName = logsetname
|
|
@@ -1508,10 +1382,20 @@ module TencentCloud
|
|
|
1508
1382
|
# @type SslCloseSwitch: Boolean
|
|
1509
1383
|
# @param DataCompressMode: 数据压缩模式。可选值:transparent(透传模式)、compatibility(兼容模式)
|
|
1510
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
|
|
1511
1395
|
|
|
1512
|
-
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
|
|
1513
1397
|
|
|
1514
|
-
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)
|
|
1515
1399
|
@LoadBalancerId = loadbalancerid
|
|
1516
1400
|
@Ports = ports
|
|
1517
1401
|
@Protocol = protocol
|
|
@@ -1536,6 +1420,11 @@ module TencentCloud
|
|
|
1536
1420
|
@H2cSwitch = h2cswitch
|
|
1537
1421
|
@SslCloseSwitch = sslcloseswitch
|
|
1538
1422
|
@DataCompressMode = datacompressmode
|
|
1423
|
+
@RescheduleTargetZeroWeight = rescheduletargetzeroweight
|
|
1424
|
+
@RescheduleUnhealthy = rescheduleunhealthy
|
|
1425
|
+
@RescheduleExpandTarget = rescheduleexpandtarget
|
|
1426
|
+
@RescheduleStartTime = reschedulestarttime
|
|
1427
|
+
@RescheduleInterval = rescheduleinterval
|
|
1539
1428
|
end
|
|
1540
1429
|
|
|
1541
1430
|
def deserialize(params)
|
|
@@ -1572,6 +1461,11 @@ module TencentCloud
|
|
|
1572
1461
|
@H2cSwitch = params['H2cSwitch']
|
|
1573
1462
|
@SslCloseSwitch = params['SslCloseSwitch']
|
|
1574
1463
|
@DataCompressMode = params['DataCompressMode']
|
|
1464
|
+
@RescheduleTargetZeroWeight = params['RescheduleTargetZeroWeight']
|
|
1465
|
+
@RescheduleUnhealthy = params['RescheduleUnhealthy']
|
|
1466
|
+
@RescheduleExpandTarget = params['RescheduleExpandTarget']
|
|
1467
|
+
@RescheduleStartTime = params['RescheduleStartTime']
|
|
1468
|
+
@RescheduleInterval = params['RescheduleInterval']
|
|
1575
1469
|
end
|
|
1576
1470
|
end
|
|
1577
1471
|
|
|
@@ -1613,7 +1507,7 @@ module TencentCloud
|
|
|
1613
1507
|
# @type ProjectId: Integer
|
|
1614
1508
|
# @param AddressIPVersion: 仅适用于公网负载均衡。IP版本,可取值:IPV4、IPV6、IPv6FullChain,不区分大小写,默认值 IPV4。说明:取值为IPV6表示为IPV6 NAT64版本;取值为IPv6FullChain,表示为IPv6版本。
|
|
1615
1509
|
# @type AddressIPVersion: String
|
|
1616
|
-
# @param Number: 创建负载均衡的个数,默认值 1
|
|
1510
|
+
# @param Number: 创建负载均衡的个数,默认值 1。创建个数不能超过账号所能创建的最大值,默认创建最大值为20。
|
|
1617
1511
|
# @type Number: Integer
|
|
1618
1512
|
# @param MasterZoneId: 仅适用于公网且IP版本为IPv4的负载均衡。设置跨可用区容灾时的主可用区ID, 可用区 ID 和名称均支持,例如 100001 或 ap-guangzhou-1
|
|
1619
1513
|
# 注:主可用区是需要承载流量的可用区,备可用区默认不承载流量,主可用区不可用时才使用备可用区。
|
|
@@ -2090,38 +1984,6 @@ module TencentCloud
|
|
|
2090
1984
|
end
|
|
2091
1985
|
end
|
|
2092
1986
|
|
|
2093
|
-
# DeleteCustomizedConfig请求参数结构体
|
|
2094
|
-
class DeleteCustomizedConfigRequest < TencentCloud::Common::AbstractModel
|
|
2095
|
-
# @param UconfigIdList: 删除的配置ID列表
|
|
2096
|
-
# @type UconfigIdList: Array
|
|
2097
|
-
|
|
2098
|
-
attr_accessor :UconfigIdList
|
|
2099
|
-
|
|
2100
|
-
def initialize(uconfigidlist=nil)
|
|
2101
|
-
@UconfigIdList = uconfigidlist
|
|
2102
|
-
end
|
|
2103
|
-
|
|
2104
|
-
def deserialize(params)
|
|
2105
|
-
@UconfigIdList = params['UconfigIdList']
|
|
2106
|
-
end
|
|
2107
|
-
end
|
|
2108
|
-
|
|
2109
|
-
# DeleteCustomizedConfig返回参数结构体
|
|
2110
|
-
class DeleteCustomizedConfigResponse < TencentCloud::Common::AbstractModel
|
|
2111
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2112
|
-
# @type RequestId: String
|
|
2113
|
-
|
|
2114
|
-
attr_accessor :RequestId
|
|
2115
|
-
|
|
2116
|
-
def initialize(requestid=nil)
|
|
2117
|
-
@RequestId = requestid
|
|
2118
|
-
end
|
|
2119
|
-
|
|
2120
|
-
def deserialize(params)
|
|
2121
|
-
@RequestId = params['RequestId']
|
|
2122
|
-
end
|
|
2123
|
-
end
|
|
2124
|
-
|
|
2125
1987
|
# DeleteListener请求参数结构体
|
|
2126
1988
|
class DeleteListenerRequest < TencentCloud::Common::AbstractModel
|
|
2127
1989
|
# @param LoadBalancerId: 负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
|
|
@@ -2198,9 +2060,9 @@ module TencentCloud
|
|
|
2198
2060
|
class DeleteLoadBalancerRequest < TencentCloud::Common::AbstractModel
|
|
2199
2061
|
# @param LoadBalancerIds: 要删除的负载均衡实例 ID 数组,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取,数组大小最大支持20。
|
|
2200
2062
|
# @type LoadBalancerIds: Array
|
|
2201
|
-
# @param ForceDelete: 是否强制删除clb。
|
|
2202
|
-
# 默认为
|
|
2203
|
-
#
|
|
2063
|
+
# @param ForceDelete: 是否强制删除clb。true表示强制删除,false表示不是强制删除,需要做拦截校验。
|
|
2064
|
+
# 默认为false。
|
|
2065
|
+
# 以下几种情况会默认拦截删除操作,如果触发情况1、2但确认强制删除则需要传强制校验参数ForceDelete为true。
|
|
2204
2066
|
# 1、删除后端绑定大于等于 20 个 RS 的实例时。
|
|
2205
2067
|
# 2、删除后端有 RS 且 5 分钟 内“出/入带宽”峰值取大 > 10Mbps 的实例时。
|
|
2206
2068
|
# 3、单地域内 5 分钟 内删除大于等于 30 个实例时。
|
|
@@ -4446,49 +4308,6 @@ module TencentCloud
|
|
|
4446
4308
|
end
|
|
4447
4309
|
end
|
|
4448
4310
|
|
|
4449
|
-
# DisassociateCustomizedConfig请求参数结构体
|
|
4450
|
-
class DisassociateCustomizedConfigRequest < TencentCloud::Common::AbstractModel
|
|
4451
|
-
# @param UconfigId: 配置ID
|
|
4452
|
-
# @type UconfigId: String
|
|
4453
|
-
# @param BindList: 解绑的列表
|
|
4454
|
-
# @type BindList: Array
|
|
4455
|
-
|
|
4456
|
-
attr_accessor :UconfigId, :BindList
|
|
4457
|
-
|
|
4458
|
-
def initialize(uconfigid=nil, bindlist=nil)
|
|
4459
|
-
@UconfigId = uconfigid
|
|
4460
|
-
@BindList = bindlist
|
|
4461
|
-
end
|
|
4462
|
-
|
|
4463
|
-
def deserialize(params)
|
|
4464
|
-
@UconfigId = params['UconfigId']
|
|
4465
|
-
unless params['BindList'].nil?
|
|
4466
|
-
@BindList = []
|
|
4467
|
-
params['BindList'].each do |i|
|
|
4468
|
-
binditem_tmp = BindItem.new
|
|
4469
|
-
binditem_tmp.deserialize(i)
|
|
4470
|
-
@BindList << binditem_tmp
|
|
4471
|
-
end
|
|
4472
|
-
end
|
|
4473
|
-
end
|
|
4474
|
-
end
|
|
4475
|
-
|
|
4476
|
-
# DisassociateCustomizedConfig返回参数结构体
|
|
4477
|
-
class DisassociateCustomizedConfigResponse < TencentCloud::Common::AbstractModel
|
|
4478
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4479
|
-
# @type RequestId: String
|
|
4480
|
-
|
|
4481
|
-
attr_accessor :RequestId
|
|
4482
|
-
|
|
4483
|
-
def initialize(requestid=nil)
|
|
4484
|
-
@RequestId = requestid
|
|
4485
|
-
end
|
|
4486
|
-
|
|
4487
|
-
def deserialize(params)
|
|
4488
|
-
@RequestId = params['RequestId']
|
|
4489
|
-
end
|
|
4490
|
-
end
|
|
4491
|
-
|
|
4492
4311
|
# DisassociateTargetGroups请求参数结构体
|
|
4493
4312
|
class DisassociateTargetGroupsRequest < TencentCloud::Common::AbstractModel
|
|
4494
4313
|
# @param Associations: 待解绑的规则关系数组,支持批量解绑多个监听器,单次批量解除最多20个。
|
|
@@ -5695,8 +5514,8 @@ module TencentCloud
|
|
|
5695
5514
|
|
|
5696
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
|
|
5697
5516
|
extend Gem::Deprecate
|
|
5698
|
-
deprecate :Log, :none, 2025,
|
|
5699
|
-
deprecate :Log=, :none, 2025,
|
|
5517
|
+
deprecate :Log, :none, 2025, 10
|
|
5518
|
+
deprecate :Log=, :none, 2025, 10
|
|
5700
5519
|
|
|
5701
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)
|
|
5702
5521
|
@LoadBalancerId = loadbalancerid
|
|
@@ -6316,46 +6135,6 @@ module TencentCloud
|
|
|
6316
6135
|
end
|
|
6317
6136
|
end
|
|
6318
6137
|
|
|
6319
|
-
# ModifyCustomizedConfig请求参数结构体
|
|
6320
|
-
class ModifyCustomizedConfigRequest < TencentCloud::Common::AbstractModel
|
|
6321
|
-
# @param ConfigName: 配置名字
|
|
6322
|
-
# @type ConfigName: String
|
|
6323
|
-
# @param UconfigId: 配置ID
|
|
6324
|
-
# @type UconfigId: String
|
|
6325
|
-
# @param ConfigContent: 配置内容
|
|
6326
|
-
# @type ConfigContent: String
|
|
6327
|
-
|
|
6328
|
-
attr_accessor :ConfigName, :UconfigId, :ConfigContent
|
|
6329
|
-
|
|
6330
|
-
def initialize(configname=nil, uconfigid=nil, configcontent=nil)
|
|
6331
|
-
@ConfigName = configname
|
|
6332
|
-
@UconfigId = uconfigid
|
|
6333
|
-
@ConfigContent = configcontent
|
|
6334
|
-
end
|
|
6335
|
-
|
|
6336
|
-
def deserialize(params)
|
|
6337
|
-
@ConfigName = params['ConfigName']
|
|
6338
|
-
@UconfigId = params['UconfigId']
|
|
6339
|
-
@ConfigContent = params['ConfigContent']
|
|
6340
|
-
end
|
|
6341
|
-
end
|
|
6342
|
-
|
|
6343
|
-
# ModifyCustomizedConfig返回参数结构体
|
|
6344
|
-
class ModifyCustomizedConfigResponse < TencentCloud::Common::AbstractModel
|
|
6345
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6346
|
-
# @type RequestId: String
|
|
6347
|
-
|
|
6348
|
-
attr_accessor :RequestId
|
|
6349
|
-
|
|
6350
|
-
def initialize(requestid=nil)
|
|
6351
|
-
@RequestId = requestid
|
|
6352
|
-
end
|
|
6353
|
-
|
|
6354
|
-
def deserialize(params)
|
|
6355
|
-
@RequestId = params['RequestId']
|
|
6356
|
-
end
|
|
6357
|
-
end
|
|
6358
|
-
|
|
6359
6138
|
# ModifyDomainAttributes请求参数结构体
|
|
6360
6139
|
class ModifyDomainAttributesRequest < TencentCloud::Common::AbstractModel
|
|
6361
6140
|
# @param LoadBalancerId: 负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
|
|
@@ -6591,10 +6370,20 @@ module TencentCloud
|
|
|
6591
6370
|
# @type SnatEnable: Boolean
|
|
6592
6371
|
# @param DataCompressMode: 数据压缩模式
|
|
6593
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
|
|
6594
6383
|
|
|
6595
|
-
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
|
|
6596
6385
|
|
|
6597
|
-
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)
|
|
6598
6387
|
@LoadBalancerId = loadbalancerid
|
|
6599
6388
|
@ListenerId = listenerid
|
|
6600
6389
|
@ListenerName = listenername
|
|
@@ -6614,6 +6403,11 @@ module TencentCloud
|
|
|
6614
6403
|
@ProxyProtocol = proxyprotocol
|
|
6615
6404
|
@SnatEnable = snatenable
|
|
6616
6405
|
@DataCompressMode = datacompressmode
|
|
6406
|
+
@RescheduleTargetZeroWeight = rescheduletargetzeroweight
|
|
6407
|
+
@RescheduleUnhealthy = rescheduleunhealthy
|
|
6408
|
+
@RescheduleExpandTarget = rescheduleexpandtarget
|
|
6409
|
+
@RescheduleStartTime = reschedulestarttime
|
|
6410
|
+
@RescheduleInterval = rescheduleinterval
|
|
6617
6411
|
end
|
|
6618
6412
|
|
|
6619
6413
|
def deserialize(params)
|
|
@@ -6645,6 +6439,11 @@ module TencentCloud
|
|
|
6645
6439
|
@ProxyProtocol = params['ProxyProtocol']
|
|
6646
6440
|
@SnatEnable = params['SnatEnable']
|
|
6647
6441
|
@DataCompressMode = params['DataCompressMode']
|
|
6442
|
+
@RescheduleTargetZeroWeight = params['RescheduleTargetZeroWeight']
|
|
6443
|
+
@RescheduleUnhealthy = params['RescheduleUnhealthy']
|
|
6444
|
+
@RescheduleExpandTarget = params['RescheduleExpandTarget']
|
|
6445
|
+
@RescheduleStartTime = params['RescheduleStartTime']
|
|
6446
|
+
@RescheduleInterval = params['RescheduleInterval']
|
|
6648
6447
|
end
|
|
6649
6448
|
end
|
|
6650
6449
|
|
|
@@ -7763,10 +7562,10 @@ module TencentCloud
|
|
|
7763
7562
|
|
|
7764
7563
|
attr_accessor :ListenerId, :Targets, :LocationId, :Domain, :Url, :Weight
|
|
7765
7564
|
extend Gem::Deprecate
|
|
7766
|
-
deprecate :Domain, :none, 2025,
|
|
7767
|
-
deprecate :Domain=, :none, 2025,
|
|
7768
|
-
deprecate :Url, :none, 2025,
|
|
7769
|
-
deprecate :Url=, :none, 2025,
|
|
7565
|
+
deprecate :Domain, :none, 2025, 10
|
|
7566
|
+
deprecate :Domain=, :none, 2025, 10
|
|
7567
|
+
deprecate :Url, :none, 2025, 10
|
|
7568
|
+
deprecate :Url=, :none, 2025, 10
|
|
7770
7569
|
|
|
7771
7570
|
def initialize(listenerid=nil, targets=nil, locationid=nil, domain=nil, url=nil, weight=nil)
|
|
7772
7571
|
@ListenerId = listenerid
|
|
@@ -8837,8 +8636,8 @@ module TencentCloud
|
|
|
8837
8636
|
|
|
8838
8637
|
attr_accessor :IP, :Port, :HealthStatus, :TargetId, :HealthStatusDetail, :HealthStatusDetial, :TargetGroupId, :Weight
|
|
8839
8638
|
extend Gem::Deprecate
|
|
8840
|
-
deprecate :HealthStatusDetial, :none, 2025,
|
|
8841
|
-
deprecate :HealthStatusDetial=, :none, 2025,
|
|
8639
|
+
deprecate :HealthStatusDetial, :none, 2025, 10
|
|
8640
|
+
deprecate :HealthStatusDetial=, :none, 2025, 10
|
|
8842
8641
|
|
|
8843
8642
|
def initialize(ip=nil, port=nil, healthstatus=nil, targetid=nil, healthstatusdetail=nil, healthstatusdetial=nil, targetgroupid=nil, weight=nil)
|
|
8844
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.
|
|
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-
|
|
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
|