tencentcloud-sdk-clb 3.0.679 → 3.0.681

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: e31d8c14ac86a7e60692f8340a415c907e5048e8
4
- data.tar.gz: f5a9e6c4bbe04dbf8ef81f3e88b51b511ae7a5fb
3
+ metadata.gz: 28f4557ba4715f6d7d044cd5a82b75d98c193037
4
+ data.tar.gz: 919f606dcc501e223838baeffae9cc6b8835df10
5
5
  SHA512:
6
- metadata.gz: 435003a09d24df5d60dd80153ccf68b0d7ae5bacc71239e7bebec78e7ea5591e360ccaf5e3ddebed2b74c23a33a086456fd17fa27b2889658932cd9d92fcc020
7
- data.tar.gz: d699b913020bb49683b2a3c609ee2f9f544ea9b62b49dc676e9f38812ce7802ed7093c0d6626d51359d9d954f8400e0cf04b8480b7dea32a6944a872d4979fd1
6
+ metadata.gz: bae197c840225c8e6f1209d667c43664a20e62f91da9c2a42076e89e2f63e9580f79d0634ef2e9d5917009e6008748886c4324d340c0056299373e586b55082e
7
+ data.tar.gz: 66f8143fe37239eb874c82214f5bf82a98a0428894421d8d43d42caf9cc237c27208a0cdc295e70f386828717c69e4718e075d252632ebf21151c5e30c08c0fc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.679
1
+ 3.0.681
@@ -103,6 +103,30 @@ module TencentCloud
103
103
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
104
104
  end
105
105
 
106
+ # BatchModifyTargetTag 接口用于批量修改负载均衡监听器绑定的后端机器的标签。批量修改的资源数量上限为500。本接口为同步接口。<br/>负载均衡的4层和7层监听器支持此接口,传统型负载均衡不支持。
107
+
108
+ # @param request: Request instance for BatchModifyTargetTag.
109
+ # @type request: :class:`Tencentcloud::clb::V20180317::BatchModifyTargetTagRequest`
110
+ # @rtype: :class:`Tencentcloud::clb::V20180317::BatchModifyTargetTagResponse`
111
+ def BatchModifyTargetTag(request)
112
+ body = send_request('BatchModifyTargetTag', request.serialize)
113
+ response = JSON.parse(body)
114
+ if response['Response'].key?('Error') == false
115
+ model = BatchModifyTargetTagResponse.new
116
+ model.deserialize(response['Response'])
117
+ model
118
+ else
119
+ code = response['Response']['Error']['Code']
120
+ message = response['Response']['Error']['Message']
121
+ reqid = response['Response']['RequestId']
122
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
123
+ end
124
+ rescue TencentCloud::Common::TencentCloudSDKException => e
125
+ raise e
126
+ rescue StandardError => e
127
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
128
+ end
129
+
106
130
  # BatchModifyTargetWeight 接口用于批量修改负载均衡监听器绑定的后端机器的转发权重。批量修改的资源数量上限为500。本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。<br/>负载均衡的4层和7层监听器支持此接口,传统型负载均衡不支持。
107
131
 
108
132
  # @param request: Request instance for BatchModifyTargetWeight.
@@ -173,7 +197,7 @@ module TencentCloud
173
197
  # 通过接口调用:
174
198
  # BGP带宽包必须传带宽包id
175
199
  # 独占集群克隆必须传对应的参数,否则按共享型创建
176
- # 功能内测中,[申请开通](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&step=1)。
200
+ # 功能内测中,请提交 [内测申请](https://cloud.tencent.com/apply/p/1akuvsmyn0g)。
177
201
 
178
202
  # @param request: Request instance for CloneLoadBalancer.
179
203
  # @type request: :class:`Tencentcloud::clb::V20180317::CloneLoadBalancerRequest`
@@ -157,7 +157,7 @@ module TencentCloud
157
157
 
158
158
  # 监听器绑定的后端服务的详细信息
159
159
  class Backend < TencentCloud::Common::AbstractModel
160
- # @param Type: 后端服务的类型,可取:CVM、ENI
160
+ # @param Type: 后端服务的类型,可取:CVM、ENI、CCN
161
161
  # @type Type: String
162
162
  # @param InstanceId: 后端服务的唯一 ID,如 ins-abcd1234
163
163
  # @type InstanceId: String
@@ -180,10 +180,13 @@ module TencentCloud
180
180
  # @param EniId: 弹性网卡唯一ID,如 eni-1234abcd
181
181
  # 注意:此字段可能返回 null,表示取不到有效值。
182
182
  # @type EniId: String
183
+ # @param Tag: 标签。
184
+ # 注意:此字段可能返回 null,表示取不到有效值。
185
+ # @type Tag: String
183
186
 
184
- attr_accessor :Type, :InstanceId, :Port, :Weight, :PublicIpAddresses, :PrivateIpAddresses, :InstanceName, :RegisteredTime, :EniId
187
+ attr_accessor :Type, :InstanceId, :Port, :Weight, :PublicIpAddresses, :PrivateIpAddresses, :InstanceName, :RegisteredTime, :EniId, :Tag
185
188
 
186
- def initialize(type=nil, instanceid=nil, port=nil, weight=nil, publicipaddresses=nil, privateipaddresses=nil, instancename=nil, registeredtime=nil, eniid=nil)
189
+ def initialize(type=nil, instanceid=nil, port=nil, weight=nil, publicipaddresses=nil, privateipaddresses=nil, instancename=nil, registeredtime=nil, eniid=nil, tag=nil)
187
190
  @Type = type
188
191
  @InstanceId = instanceid
189
192
  @Port = port
@@ -193,6 +196,7 @@ module TencentCloud
193
196
  @InstanceName = instancename
194
197
  @RegisteredTime = registeredtime
195
198
  @EniId = eniid
199
+ @Tag = tag
196
200
  end
197
201
 
198
202
  def deserialize(params)
@@ -205,6 +209,7 @@ module TencentCloud
205
209
  @InstanceName = params['InstanceName']
206
210
  @RegisteredTime = params['RegisteredTime']
207
211
  @EniId = params['EniId']
212
+ @Tag = params['Tag']
208
213
  end
209
214
  end
210
215
 
@@ -275,6 +280,49 @@ module TencentCloud
275
280
  end
276
281
  end
277
282
 
283
+ # BatchModifyTargetTag请求参数结构体
284
+ class BatchModifyTargetTagRequest < TencentCloud::Common::AbstractModel
285
+ # @param LoadBalancerId: 负载均衡实例 ID。
286
+ # @type LoadBalancerId: String
287
+ # @param ModifyList: 要批量修改标签的列表。
288
+ # @type ModifyList: Array
289
+
290
+ attr_accessor :LoadBalancerId, :ModifyList
291
+
292
+ def initialize(loadbalancerid=nil, modifylist=nil)
293
+ @LoadBalancerId = loadbalancerid
294
+ @ModifyList = modifylist
295
+ end
296
+
297
+ def deserialize(params)
298
+ @LoadBalancerId = params['LoadBalancerId']
299
+ unless params['ModifyList'].nil?
300
+ @ModifyList = []
301
+ params['ModifyList'].each do |i|
302
+ rstagrule_tmp = RsTagRule.new
303
+ rstagrule_tmp.deserialize(i)
304
+ @ModifyList << rstagrule_tmp
305
+ end
306
+ end
307
+ end
308
+ end
309
+
310
+ # BatchModifyTargetTag返回参数结构体
311
+ class BatchModifyTargetTagResponse < TencentCloud::Common::AbstractModel
312
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
313
+ # @type RequestId: String
314
+
315
+ attr_accessor :RequestId
316
+
317
+ def initialize(requestid=nil)
318
+ @RequestId = requestid
319
+ end
320
+
321
+ def deserialize(params)
322
+ @RequestId = params['RequestId']
323
+ end
324
+ end
325
+
278
326
  # BatchModifyTargetWeight请求参数结构体
279
327
  class BatchModifyTargetWeightRequest < TencentCloud::Common::AbstractModel
280
328
  # @param LoadBalancerId: 负载均衡实例 ID。
@@ -381,16 +429,19 @@ module TencentCloud
381
429
  # @type Weight: Integer
382
430
  # @param LocationId: 七层规则 ID。
383
431
  # @type LocationId: String
432
+ # @param Tag: 标签。
433
+ # @type Tag: String
384
434
 
385
- attr_accessor :ListenerId, :Port, :InstanceId, :EniIp, :Weight, :LocationId
435
+ attr_accessor :ListenerId, :Port, :InstanceId, :EniIp, :Weight, :LocationId, :Tag
386
436
 
387
- def initialize(listenerid=nil, port=nil, instanceid=nil, eniip=nil, weight=nil, locationid=nil)
437
+ def initialize(listenerid=nil, port=nil, instanceid=nil, eniip=nil, weight=nil, locationid=nil, tag=nil)
388
438
  @ListenerId = listenerid
389
439
  @Port = port
390
440
  @InstanceId = instanceid
391
441
  @EniIp = eniip
392
442
  @Weight = weight
393
443
  @LocationId = locationid
444
+ @Tag = tag
394
445
  end
395
446
 
396
447
  def deserialize(params)
@@ -400,6 +451,7 @@ module TencentCloud
400
451
  @EniIp = params['EniIp']
401
452
  @Weight = params['Weight']
402
453
  @LocationId = params['LocationId']
454
+ @Tag = params['Tag']
403
455
  end
404
456
  end
405
457
 
@@ -2587,7 +2639,7 @@ module TencentCloud
2587
2639
  # @param Filters: 查询集群中资源列表条件,详细的过滤条件如下:
2588
2640
  # <li> cluster-id - String - 是否必填:否 - (过滤条件)按照 集群 的唯一ID过滤,如 :"tgw-12345678","stgw-12345678","vpcgw-12345678"。</li>
2589
2641
  # <li> vip - String - 是否必填:否 - (过滤条件)按照vip过滤。</li>
2590
- # <li> loadblancer-id - String - 是否必填:否 - (过滤条件)按照负载均衡唯一ID过滤。</li>
2642
+ # <li> loadbalancer-id - String - 是否必填:否 - (过滤条件)按照负载均衡唯一ID过滤。</li>
2591
2643
  # <li> idle - String 是否必填:否 - (过滤条件)按照是否闲置过滤,如"True","False"。</li>
2592
2644
  # @type Filters: Array
2593
2645
 
@@ -6982,6 +7034,41 @@ module TencentCloud
6982
7034
  end
6983
7035
  end
6984
7036
 
7037
+ # 修改节点标签的数据类型
7038
+ class RsTagRule < TencentCloud::Common::AbstractModel
7039
+ # @param ListenerId: 负载均衡监听器 ID。
7040
+ # @type ListenerId: String
7041
+ # @param Targets: 要修改标签的后端机器列表。
7042
+ # @type Targets: Array
7043
+ # @param LocationId: 转发规则的ID,七层规则时需要此参数,4层规则不需要。
7044
+ # @type LocationId: String
7045
+ # @param Tag: 后端服务修改后的标签。此参数的优先级低于前述[Target](https://cloud.tencent.com/document/api/214/30694#Target)中的Tag参数,即最终的标签以Target中的Tag参数值为准,仅当Target中的Weight参数为空时,才以RsTagRule中的Tag参数为准。
7046
+ # @type Tag: String
7047
+
7048
+ attr_accessor :ListenerId, :Targets, :LocationId, :Tag
7049
+
7050
+ def initialize(listenerid=nil, targets=nil, locationid=nil, tag=nil)
7051
+ @ListenerId = listenerid
7052
+ @Targets = targets
7053
+ @LocationId = locationid
7054
+ @Tag = tag
7055
+ end
7056
+
7057
+ def deserialize(params)
7058
+ @ListenerId = params['ListenerId']
7059
+ unless params['Targets'].nil?
7060
+ @Targets = []
7061
+ params['Targets'].each do |i|
7062
+ target_tmp = Target.new
7063
+ target_tmp.deserialize(i)
7064
+ @Targets << target_tmp
7065
+ end
7066
+ end
7067
+ @LocationId = params['LocationId']
7068
+ @Tag = params['Tag']
7069
+ end
7070
+ end
7071
+
6985
7072
  # 修改节点权重的数据类型
6986
7073
  class RsWeightRule < TencentCloud::Common::AbstractModel
6987
7074
  # @param ListenerId: 负载均衡监听器 ID。
@@ -7652,15 +7739,19 @@ module TencentCloud
7652
7739
  # 注意:参数 InstanceId、EniIp 有且只能传入其中一个参数。如果绑定双栈IPV6子机,则必须传该参数。如果是跨地域绑定,则必须传该参数,不支持传InstanceId参数。
7653
7740
  # 注意:此字段可能返回 null,表示取不到有效值。
7654
7741
  # @type EniIp: String
7742
+ # @param Tag: 标签。
7743
+ # 注意:此字段可能返回 null,表示取不到有效值。
7744
+ # @type Tag: String
7655
7745
 
7656
- attr_accessor :Port, :Type, :InstanceId, :Weight, :EniIp
7746
+ attr_accessor :Port, :Type, :InstanceId, :Weight, :EniIp, :Tag
7657
7747
 
7658
- def initialize(port=nil, type=nil, instanceid=nil, weight=nil, eniip=nil)
7748
+ def initialize(port=nil, type=nil, instanceid=nil, weight=nil, eniip=nil, tag=nil)
7659
7749
  @Port = port
7660
7750
  @Type = type
7661
7751
  @InstanceId = instanceid
7662
7752
  @Weight = weight
7663
7753
  @EniIp = eniip
7754
+ @Tag = tag
7664
7755
  end
7665
7756
 
7666
7757
  def deserialize(params)
@@ -7669,6 +7760,7 @@ module TencentCloud
7669
7760
  @InstanceId = params['InstanceId']
7670
7761
  @Weight = params['Weight']
7671
7762
  @EniIp = params['EniIp']
7763
+ @Tag = params['Tag']
7672
7764
  end
7673
7765
  end
7674
7766
 
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.679
4
+ version: 3.0.681
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-18 00:00:00.000000000 Z
11
+ date: 2023-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-clb.rb
37
- - lib/v20180317/models.rb
38
36
  - lib/v20180317/client.rb
37
+ - lib/v20180317/models.rb
38
+ - lib/tencentcloud-sdk-clb.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: