tencentcloud-sdk-clb 3.0.1005 → 3.0.1006
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 +120 -0
- data/lib/v20180317/models.rb +243 -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: bec2a1ffcf92086ad2f06fc659cea31704a1ee07
|
4
|
+
data.tar.gz: 65cbf761e2e483e3f01fab5a4a5476cac5592cb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0988b6c7067fe8867cee207b032c8f45d66f64c99b46391ab8be171fc0cda3169013411d7b2d7b196fc1f1abafcc31901c7195811275cf682c20a0e2eee71c7
|
7
|
+
data.tar.gz: 1a24ba9ac70d397d5dc97951dd7fca2bfcee7f70a2ca0831b8ad6cbb80c96333f036cb914f91491615dc8cc2eb65ccdb4d3676e13acea33c63c97062098e2201
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1006
|
data/lib/v20180317/client.rb
CHANGED
@@ -29,6 +29,54 @@ 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
|
+
|
32
80
|
# 本接口(AssociateTargetGroups)用来将目标组绑定到负载均衡的监听器(四层协议)或转发规则(七层协议)上。
|
33
81
|
# 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
|
34
82
|
|
@@ -392,6 +440,30 @@ module TencentCloud
|
|
392
440
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
393
441
|
end
|
394
442
|
|
443
|
+
# 删除个性化配置,准备下线,请使用SetCustomizedConfigForLoadBalancer。
|
444
|
+
|
445
|
+
# @param request: Request instance for DeleteCustomizedConfig.
|
446
|
+
# @type request: :class:`Tencentcloud::clb::V20180317::DeleteCustomizedConfigRequest`
|
447
|
+
# @rtype: :class:`Tencentcloud::clb::V20180317::DeleteCustomizedConfigResponse`
|
448
|
+
def DeleteCustomizedConfig(request)
|
449
|
+
body = send_request('DeleteCustomizedConfig', request.serialize)
|
450
|
+
response = JSON.parse(body)
|
451
|
+
if response['Response'].key?('Error') == false
|
452
|
+
model = DeleteCustomizedConfigResponse.new
|
453
|
+
model.deserialize(response['Response'])
|
454
|
+
model
|
455
|
+
else
|
456
|
+
code = response['Response']['Error']['Code']
|
457
|
+
message = response['Response']['Error']['Message']
|
458
|
+
reqid = response['Response']['RequestId']
|
459
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
460
|
+
end
|
461
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
462
|
+
raise e
|
463
|
+
rescue StandardError => e
|
464
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
465
|
+
end
|
466
|
+
|
395
467
|
# 本接口用来删除负载均衡实例下的监听器(四层和七层)。
|
396
468
|
# 本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
|
397
469
|
|
@@ -1371,6 +1443,30 @@ module TencentCloud
|
|
1371
1443
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1372
1444
|
end
|
1373
1445
|
|
1446
|
+
# 去关联个性化配置,准备下线,请使用SetCustomizedConfigForLoadBalancer。
|
1447
|
+
|
1448
|
+
# @param request: Request instance for DisassociateCustomizedConfig.
|
1449
|
+
# @type request: :class:`Tencentcloud::clb::V20180317::DisassociateCustomizedConfigRequest`
|
1450
|
+
# @rtype: :class:`Tencentcloud::clb::V20180317::DisassociateCustomizedConfigResponse`
|
1451
|
+
def DisassociateCustomizedConfig(request)
|
1452
|
+
body = send_request('DisassociateCustomizedConfig', request.serialize)
|
1453
|
+
response = JSON.parse(body)
|
1454
|
+
if response['Response'].key?('Error') == false
|
1455
|
+
model = DisassociateCustomizedConfigResponse.new
|
1456
|
+
model.deserialize(response['Response'])
|
1457
|
+
model
|
1458
|
+
else
|
1459
|
+
code = response['Response']['Error']['Code']
|
1460
|
+
message = response['Response']['Error']['Message']
|
1461
|
+
reqid = response['Response']['RequestId']
|
1462
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1463
|
+
end
|
1464
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1465
|
+
raise e
|
1466
|
+
rescue StandardError => e
|
1467
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1468
|
+
end
|
1469
|
+
|
1374
1470
|
# 解除规则的目标组关联关系。
|
1375
1471
|
# 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
|
1376
1472
|
|
@@ -1567,6 +1663,30 @@ module TencentCloud
|
|
1567
1663
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1568
1664
|
end
|
1569
1665
|
|
1666
|
+
# 修改个性化配置。如果配置已经绑定clb、server或location,同时更新。准备下线,请使用SetCustomizedConfigForLoadBalancer。
|
1667
|
+
|
1668
|
+
# @param request: Request instance for ModifyCustomizedConfig.
|
1669
|
+
# @type request: :class:`Tencentcloud::clb::V20180317::ModifyCustomizedConfigRequest`
|
1670
|
+
# @rtype: :class:`Tencentcloud::clb::V20180317::ModifyCustomizedConfigResponse`
|
1671
|
+
def ModifyCustomizedConfig(request)
|
1672
|
+
body = send_request('ModifyCustomizedConfig', request.serialize)
|
1673
|
+
response = JSON.parse(body)
|
1674
|
+
if response['Response'].key?('Error') == false
|
1675
|
+
model = ModifyCustomizedConfigResponse.new
|
1676
|
+
model.deserialize(response['Response'])
|
1677
|
+
model
|
1678
|
+
else
|
1679
|
+
code = response['Response']['Error']['Code']
|
1680
|
+
message = response['Response']['Error']['Message']
|
1681
|
+
reqid = response['Response']['RequestId']
|
1682
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1683
|
+
end
|
1684
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1685
|
+
raise e
|
1686
|
+
rescue StandardError => e
|
1687
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1688
|
+
end
|
1689
|
+
|
1570
1690
|
# ModifyDomain接口用来修改负载均衡七层监听器下的域名。
|
1571
1691
|
# 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
|
1572
1692
|
|
data/lib/v20180317/models.rb
CHANGED
@@ -17,6 +17,93 @@
|
|
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
|
+
|
20
107
|
# AssociateTargetGroups请求参数结构体
|
21
108
|
class AssociateTargetGroupsRequest < TencentCloud::Common::AbstractModel
|
22
109
|
# @param Associations: 绑定的关系数组。一次请求最多支持20个。
|
@@ -528,6 +615,37 @@ module TencentCloud
|
|
528
615
|
end
|
529
616
|
end
|
530
617
|
|
618
|
+
# 配置绑定关系
|
619
|
+
class BindItem < TencentCloud::Common::AbstractModel
|
620
|
+
# @param LoadBalancerId: 配置绑定的CLB ID
|
621
|
+
# @type LoadBalancerId: String
|
622
|
+
# @param ListenerId: 配置绑定的监听器ID
|
623
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
624
|
+
# @type ListenerId: String
|
625
|
+
# @param Domain: 配置绑定的域名
|
626
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
627
|
+
# @type Domain: String
|
628
|
+
# @param LocationId: 配置绑定的规则
|
629
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
630
|
+
# @type LocationId: String
|
631
|
+
|
632
|
+
attr_accessor :LoadBalancerId, :ListenerId, :Domain, :LocationId
|
633
|
+
|
634
|
+
def initialize(loadbalancerid=nil, listenerid=nil, domain=nil, locationid=nil)
|
635
|
+
@LoadBalancerId = loadbalancerid
|
636
|
+
@ListenerId = listenerid
|
637
|
+
@Domain = domain
|
638
|
+
@LocationId = locationid
|
639
|
+
end
|
640
|
+
|
641
|
+
def deserialize(params)
|
642
|
+
@LoadBalancerId = params['LoadBalancerId']
|
643
|
+
@ListenerId = params['ListenerId']
|
644
|
+
@Domain = params['Domain']
|
645
|
+
@LocationId = params['LocationId']
|
646
|
+
end
|
647
|
+
end
|
648
|
+
|
531
649
|
# 加入了12306黑名单的IP
|
532
650
|
class BlockedIP < TencentCloud::Common::AbstractModel
|
533
651
|
# @param IP: 黑名单IP
|
@@ -1300,8 +1418,8 @@ module TencentCloud
|
|
1300
1418
|
|
1301
1419
|
attr_accessor :LogsetName, :Period, :LogsetType
|
1302
1420
|
extend Gem::Deprecate
|
1303
|
-
deprecate :Period, :none, 2025,
|
1304
|
-
deprecate :Period=, :none, 2025,
|
1421
|
+
deprecate :Period, :none, 2025, 2
|
1422
|
+
deprecate :Period=, :none, 2025, 2
|
1305
1423
|
|
1306
1424
|
def initialize(logsetname=nil, period=nil, logsettype=nil)
|
1307
1425
|
@LogsetName = logsetname
|
@@ -1936,6 +2054,38 @@ module TencentCloud
|
|
1936
2054
|
end
|
1937
2055
|
end
|
1938
2056
|
|
2057
|
+
# DeleteCustomizedConfig请求参数结构体
|
2058
|
+
class DeleteCustomizedConfigRequest < TencentCloud::Common::AbstractModel
|
2059
|
+
# @param UconfigIdList: 删除的配置ID列表
|
2060
|
+
# @type UconfigIdList: Array
|
2061
|
+
|
2062
|
+
attr_accessor :UconfigIdList
|
2063
|
+
|
2064
|
+
def initialize(uconfigidlist=nil)
|
2065
|
+
@UconfigIdList = uconfigidlist
|
2066
|
+
end
|
2067
|
+
|
2068
|
+
def deserialize(params)
|
2069
|
+
@UconfigIdList = params['UconfigIdList']
|
2070
|
+
end
|
2071
|
+
end
|
2072
|
+
|
2073
|
+
# DeleteCustomizedConfig返回参数结构体
|
2074
|
+
class DeleteCustomizedConfigResponse < TencentCloud::Common::AbstractModel
|
2075
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2076
|
+
# @type RequestId: String
|
2077
|
+
|
2078
|
+
attr_accessor :RequestId
|
2079
|
+
|
2080
|
+
def initialize(requestid=nil)
|
2081
|
+
@RequestId = requestid
|
2082
|
+
end
|
2083
|
+
|
2084
|
+
def deserialize(params)
|
2085
|
+
@RequestId = params['RequestId']
|
2086
|
+
end
|
2087
|
+
end
|
2088
|
+
|
1939
2089
|
# DeleteListener请求参数结构体
|
1940
2090
|
class DeleteListenerRequest < TencentCloud::Common::AbstractModel
|
1941
2091
|
# @param LoadBalancerId: 负载均衡实例ID。
|
@@ -4097,6 +4247,49 @@ module TencentCloud
|
|
4097
4247
|
end
|
4098
4248
|
end
|
4099
4249
|
|
4250
|
+
# DisassociateCustomizedConfig请求参数结构体
|
4251
|
+
class DisassociateCustomizedConfigRequest < TencentCloud::Common::AbstractModel
|
4252
|
+
# @param UconfigId: 配置ID
|
4253
|
+
# @type UconfigId: String
|
4254
|
+
# @param BindList: 解绑的列表
|
4255
|
+
# @type BindList: Array
|
4256
|
+
|
4257
|
+
attr_accessor :UconfigId, :BindList
|
4258
|
+
|
4259
|
+
def initialize(uconfigid=nil, bindlist=nil)
|
4260
|
+
@UconfigId = uconfigid
|
4261
|
+
@BindList = bindlist
|
4262
|
+
end
|
4263
|
+
|
4264
|
+
def deserialize(params)
|
4265
|
+
@UconfigId = params['UconfigId']
|
4266
|
+
unless params['BindList'].nil?
|
4267
|
+
@BindList = []
|
4268
|
+
params['BindList'].each do |i|
|
4269
|
+
binditem_tmp = BindItem.new
|
4270
|
+
binditem_tmp.deserialize(i)
|
4271
|
+
@BindList << binditem_tmp
|
4272
|
+
end
|
4273
|
+
end
|
4274
|
+
end
|
4275
|
+
end
|
4276
|
+
|
4277
|
+
# DisassociateCustomizedConfig返回参数结构体
|
4278
|
+
class DisassociateCustomizedConfigResponse < TencentCloud::Common::AbstractModel
|
4279
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4280
|
+
# @type RequestId: String
|
4281
|
+
|
4282
|
+
attr_accessor :RequestId
|
4283
|
+
|
4284
|
+
def initialize(requestid=nil)
|
4285
|
+
@RequestId = requestid
|
4286
|
+
end
|
4287
|
+
|
4288
|
+
def deserialize(params)
|
4289
|
+
@RequestId = params['RequestId']
|
4290
|
+
end
|
4291
|
+
end
|
4292
|
+
|
4100
4293
|
# DisassociateTargetGroups请求参数结构体
|
4101
4294
|
class DisassociateTargetGroupsRequest < TencentCloud::Common::AbstractModel
|
4102
4295
|
# @param Associations: 待解绑的规则关系数组。
|
@@ -5286,8 +5479,8 @@ module TencentCloud
|
|
5286
5479
|
|
5287
5480
|
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
|
5288
5481
|
extend Gem::Deprecate
|
5289
|
-
deprecate :Log, :none, 2025,
|
5290
|
-
deprecate :Log=, :none, 2025,
|
5482
|
+
deprecate :Log, :none, 2025, 2
|
5483
|
+
deprecate :Log=, :none, 2025, 2
|
5291
5484
|
|
5292
5485
|
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)
|
5293
5486
|
@LoadBalancerId = loadbalancerid
|
@@ -5910,6 +6103,46 @@ module TencentCloud
|
|
5910
6103
|
end
|
5911
6104
|
end
|
5912
6105
|
|
6106
|
+
# ModifyCustomizedConfig请求参数结构体
|
6107
|
+
class ModifyCustomizedConfigRequest < TencentCloud::Common::AbstractModel
|
6108
|
+
# @param ConfigName: 配置名字
|
6109
|
+
# @type ConfigName: String
|
6110
|
+
# @param UconfigId: 配置ID
|
6111
|
+
# @type UconfigId: String
|
6112
|
+
# @param ConfigContent: 配置内容
|
6113
|
+
# @type ConfigContent: String
|
6114
|
+
|
6115
|
+
attr_accessor :ConfigName, :UconfigId, :ConfigContent
|
6116
|
+
|
6117
|
+
def initialize(configname=nil, uconfigid=nil, configcontent=nil)
|
6118
|
+
@ConfigName = configname
|
6119
|
+
@UconfigId = uconfigid
|
6120
|
+
@ConfigContent = configcontent
|
6121
|
+
end
|
6122
|
+
|
6123
|
+
def deserialize(params)
|
6124
|
+
@ConfigName = params['ConfigName']
|
6125
|
+
@UconfigId = params['UconfigId']
|
6126
|
+
@ConfigContent = params['ConfigContent']
|
6127
|
+
end
|
6128
|
+
end
|
6129
|
+
|
6130
|
+
# ModifyCustomizedConfig返回参数结构体
|
6131
|
+
class ModifyCustomizedConfigResponse < TencentCloud::Common::AbstractModel
|
6132
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6133
|
+
# @type RequestId: String
|
6134
|
+
|
6135
|
+
attr_accessor :RequestId
|
6136
|
+
|
6137
|
+
def initialize(requestid=nil)
|
6138
|
+
@RequestId = requestid
|
6139
|
+
end
|
6140
|
+
|
6141
|
+
def deserialize(params)
|
6142
|
+
@RequestId = params['RequestId']
|
6143
|
+
end
|
6144
|
+
end
|
6145
|
+
|
5913
6146
|
# ModifyDomainAttributes请求参数结构体
|
5914
6147
|
class ModifyDomainAttributesRequest < TencentCloud::Common::AbstractModel
|
5915
6148
|
# @param LoadBalancerId: 负载均衡实例ID。
|
@@ -7275,10 +7508,10 @@ module TencentCloud
|
|
7275
7508
|
|
7276
7509
|
attr_accessor :ListenerId, :Targets, :LocationId, :Domain, :Url, :Weight
|
7277
7510
|
extend Gem::Deprecate
|
7278
|
-
deprecate :Domain, :none, 2025,
|
7279
|
-
deprecate :Domain=, :none, 2025,
|
7280
|
-
deprecate :Url, :none, 2025,
|
7281
|
-
deprecate :Url=, :none, 2025,
|
7511
|
+
deprecate :Domain, :none, 2025, 2
|
7512
|
+
deprecate :Domain=, :none, 2025, 2
|
7513
|
+
deprecate :Url, :none, 2025, 2
|
7514
|
+
deprecate :Url=, :none, 2025, 2
|
7282
7515
|
|
7283
7516
|
def initialize(listenerid=nil, targets=nil, locationid=nil, domain=nil, url=nil, weight=nil)
|
7284
7517
|
@ListenerId = listenerid
|
@@ -8236,8 +8469,8 @@ module TencentCloud
|
|
8236
8469
|
|
8237
8470
|
attr_accessor :IP, :Port, :HealthStatus, :TargetId, :HealthStatusDetail, :HealthStatusDetial, :TargetGroupId
|
8238
8471
|
extend Gem::Deprecate
|
8239
|
-
deprecate :HealthStatusDetial, :none, 2025,
|
8240
|
-
deprecate :HealthStatusDetial=, :none, 2025,
|
8472
|
+
deprecate :HealthStatusDetial, :none, 2025, 2
|
8473
|
+
deprecate :HealthStatusDetial=, :none, 2025, 2
|
8241
8474
|
|
8242
8475
|
def initialize(ip=nil, port=nil, healthstatus=nil, targetid=nil, healthstatusdetail=nil, healthstatusdetial=nil, targetgroupid=nil)
|
8243
8476
|
@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.1006
|
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-02-
|
11
|
+
date: 2025-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|