tencentcloud-sdk-clb 3.0.977 → 3.0.978
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/models.rb +31 -4
- 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: d55b3f0b837782413ae8bfe7a2b5766a647b9a02
|
4
|
+
data.tar.gz: ec9732d67ec881804415096bb02af8d9f2dba7bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 987d1b6b053a65dd54c4b90cd4c0cbef76ffa4722a8612d84f6c45d958192bc7a31a0b8e756f020ac93a845091908198b25197f68011fd967fed5819f6a291cf
|
7
|
+
data.tar.gz: 0d059bc224cf837918d63d3a24825125ff70a2ae2e414acd4c3dc132e9ff0f69bc3a58925c858eb511e96e20cbd2ee4e04eb8595cb7edda223d81b58871ce6d8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.978
|
data/lib/v20180317/models.rb
CHANGED
@@ -1762,14 +1762,24 @@ module TencentCloud
|
|
1762
1762
|
# @type Port: Integer
|
1763
1763
|
# @param TargetGroupInstances: 目标组绑定的后端服务器
|
1764
1764
|
# @type TargetGroupInstances: Array
|
1765
|
+
# @param Tags: 标签。
|
1766
|
+
# @type Tags: Array
|
1767
|
+
# @param Weight: 后端服务默认权重。
|
1768
|
+
# <ul>
|
1769
|
+
# <li>取值范围[0, 100]</li>
|
1770
|
+
# <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
|
1771
|
+
# </ul>
|
1772
|
+
# @type Weight: Integer
|
1765
1773
|
|
1766
|
-
attr_accessor :TargetGroupName, :VpcId, :Port, :TargetGroupInstances
|
1774
|
+
attr_accessor :TargetGroupName, :VpcId, :Port, :TargetGroupInstances, :Tags, :Weight
|
1767
1775
|
|
1768
|
-
def initialize(targetgroupname=nil, vpcid=nil, port=nil, targetgroupinstances=nil)
|
1776
|
+
def initialize(targetgroupname=nil, vpcid=nil, port=nil, targetgroupinstances=nil, tags=nil, weight=nil)
|
1769
1777
|
@TargetGroupName = targetgroupname
|
1770
1778
|
@VpcId = vpcid
|
1771
1779
|
@Port = port
|
1772
1780
|
@TargetGroupInstances = targetgroupinstances
|
1781
|
+
@Tags = tags
|
1782
|
+
@Weight = weight
|
1773
1783
|
end
|
1774
1784
|
|
1775
1785
|
def deserialize(params)
|
@@ -1784,6 +1794,15 @@ module TencentCloud
|
|
1784
1794
|
@TargetGroupInstances << targetgroupinstance_tmp
|
1785
1795
|
end
|
1786
1796
|
end
|
1797
|
+
unless params['Tags'].nil?
|
1798
|
+
@Tags = []
|
1799
|
+
params['Tags'].each do |i|
|
1800
|
+
taginfo_tmp = TagInfo.new
|
1801
|
+
taginfo_tmp.deserialize(i)
|
1802
|
+
@Tags << taginfo_tmp
|
1803
|
+
end
|
1804
|
+
end
|
1805
|
+
@Weight = params['Weight']
|
1787
1806
|
end
|
1788
1807
|
end
|
1789
1808
|
|
@@ -6441,19 +6460,27 @@ module TencentCloud
|
|
6441
6460
|
# @type TargetGroupName: String
|
6442
6461
|
# @param Port: 目标组的新默认端口。
|
6443
6462
|
# @type Port: Integer
|
6463
|
+
# @param Weight: 后端服务默认权重。
|
6464
|
+
# <ul>
|
6465
|
+
# <li>取值范围[0, 100]</li>
|
6466
|
+
# <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
|
6467
|
+
# </ul>
|
6468
|
+
# @type Weight: Integer
|
6444
6469
|
|
6445
|
-
attr_accessor :TargetGroupId, :TargetGroupName, :Port
|
6470
|
+
attr_accessor :TargetGroupId, :TargetGroupName, :Port, :Weight
|
6446
6471
|
|
6447
|
-
def initialize(targetgroupid=nil, targetgroupname=nil, port=nil)
|
6472
|
+
def initialize(targetgroupid=nil, targetgroupname=nil, port=nil, weight=nil)
|
6448
6473
|
@TargetGroupId = targetgroupid
|
6449
6474
|
@TargetGroupName = targetgroupname
|
6450
6475
|
@Port = port
|
6476
|
+
@Weight = weight
|
6451
6477
|
end
|
6452
6478
|
|
6453
6479
|
def deserialize(params)
|
6454
6480
|
@TargetGroupId = params['TargetGroupId']
|
6455
6481
|
@TargetGroupName = params['TargetGroupName']
|
6456
6482
|
@Port = params['Port']
|
6483
|
+
@Weight = params['Weight']
|
6457
6484
|
end
|
6458
6485
|
end
|
6459
6486
|
|
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.978
|
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-01-
|
11
|
+
date: 2025-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|