tencentcloud-sdk-clb 1.0.221 → 1.0.222
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180317/client.rb +25 -0
- data/lib/v20180317/models.rb +39 -0
- 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: 19fad012289e1753d5ee5f5086902b11ee33da14
|
4
|
+
data.tar.gz: e402beec9f6ef524f53bd10e0c660ed3bd587515
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ac99e94594ef1dc9d3cbdc2b737a940fd985370027d7657bf0cab403bd787be5e2a6778803651e2e43da0dec68ed1bf7034b64c03e7fb504af6082839826044
|
7
|
+
data.tar.gz: 02101ca5027b566238c9dc83e3f22f85e4a17cfa7bd684637ccc1e5e4482de633dbda6c97bb232841f575cfbb0eb16908dd61e0f007563bedde059ce655cf910
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.222
|
data/lib/v20180317/client.rb
CHANGED
@@ -1268,6 +1268,31 @@ module TencentCloud
|
|
1268
1268
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1269
1269
|
end
|
1270
1270
|
|
1271
|
+
# 本接口将传统型负载均衡迁移成(原应用型)负载均衡
|
1272
|
+
# 本接口为异步接口,接口成功返回后,可使用 DescribeLoadBalancers 接口查询负载均衡实例的状态(如创建中、正常),以确定是否创建成功。
|
1273
|
+
|
1274
|
+
# @param request: Request instance for MigrateClassicalLoadBalancers.
|
1275
|
+
# @type request: :class:`Tencentcloud::clb::V20180317::MigrateClassicalLoadBalancersRequest`
|
1276
|
+
# @rtype: :class:`Tencentcloud::clb::V20180317::MigrateClassicalLoadBalancersResponse`
|
1277
|
+
def MigrateClassicalLoadBalancers(request)
|
1278
|
+
body = send_request('MigrateClassicalLoadBalancers', request.serialize)
|
1279
|
+
response = JSON.parse(body)
|
1280
|
+
if response['Response'].key?('Error') == false
|
1281
|
+
model = MigrateClassicalLoadBalancersResponse.new
|
1282
|
+
model.deserialize(response['Response'])
|
1283
|
+
model
|
1284
|
+
else
|
1285
|
+
code = response['Response']['Error']['Code']
|
1286
|
+
message = response['Response']['Error']['Message']
|
1287
|
+
reqid = response['Response']['RequestId']
|
1288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1289
|
+
end
|
1290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1291
|
+
raise e
|
1292
|
+
rescue StandardError => e
|
1293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1294
|
+
end
|
1295
|
+
|
1271
1296
|
# 修改负载均衡的IP(client IP)封禁黑名单列表,一个转发规则最多支持封禁 2000000 个IP,及黑名单容量为 2000000。
|
1272
1297
|
# (接口灰度中,如需使用请提工单)
|
1273
1298
|
|
data/lib/v20180317/models.rb
CHANGED
@@ -4773,6 +4773,45 @@ module TencentCloud
|
|
4773
4773
|
end
|
4774
4774
|
end
|
4775
4775
|
|
4776
|
+
# MigrateClassicalLoadBalancers请求参数结构体
|
4777
|
+
class MigrateClassicalLoadBalancersRequest < TencentCloud::Common::AbstractModel
|
4778
|
+
# @param LoadBalancerIds: 传统型负载均衡ID数组
|
4779
|
+
# @type LoadBalancerIds: Array
|
4780
|
+
# @param ExclusiveCluster: 独占集群信息
|
4781
|
+
# @type ExclusiveCluster: :class:`Tencentcloud::Clb.v20180317.models.ExclusiveCluster`
|
4782
|
+
|
4783
|
+
attr_accessor :LoadBalancerIds, :ExclusiveCluster
|
4784
|
+
|
4785
|
+
def initialize(loadbalancerids=nil, exclusivecluster=nil)
|
4786
|
+
@LoadBalancerIds = loadbalancerids
|
4787
|
+
@ExclusiveCluster = exclusivecluster
|
4788
|
+
end
|
4789
|
+
|
4790
|
+
def deserialize(params)
|
4791
|
+
@LoadBalancerIds = params['LoadBalancerIds']
|
4792
|
+
unless params['ExclusiveCluster'].nil?
|
4793
|
+
@ExclusiveCluster = ExclusiveCluster.new
|
4794
|
+
@ExclusiveCluster.deserialize(params['ExclusiveCluster'])
|
4795
|
+
end
|
4796
|
+
end
|
4797
|
+
end
|
4798
|
+
|
4799
|
+
# MigrateClassicalLoadBalancers返回参数结构体
|
4800
|
+
class MigrateClassicalLoadBalancersResponse < TencentCloud::Common::AbstractModel
|
4801
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4802
|
+
# @type RequestId: String
|
4803
|
+
|
4804
|
+
attr_accessor :RequestId
|
4805
|
+
|
4806
|
+
def initialize(requestid=nil)
|
4807
|
+
@RequestId = requestid
|
4808
|
+
end
|
4809
|
+
|
4810
|
+
def deserialize(params)
|
4811
|
+
@RequestId = params['RequestId']
|
4812
|
+
end
|
4813
|
+
end
|
4814
|
+
|
4776
4815
|
# ModifyBlockIPList请求参数结构体
|
4777
4816
|
class ModifyBlockIPListRequest < TencentCloud::Common::AbstractModel
|
4778
4817
|
# @param LoadBalancerIds: 负载均衡实例ID
|
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: 1.0.
|
4
|
+
version: 1.0.222
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|