tencentcloud-sdk-clb 1.0.222 → 1.0.223
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 -1
- data/lib/v20180317/models.rb +115 -3
- 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: fb5306ba640fe97c139a6670387d453e287b580a
|
4
|
+
data.tar.gz: 55d0e73bd2e84e9a48ebd388514ccec39b982c2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8076ddfa0d8fb194eb1696b7f5b659ce2d8ff555e1e27973d9fadd269bd5f46d827d74f24bfb4290d7c522ddc8c5a7f6e1f8773c39a7b5abdd0ad9c2713cc737
|
7
|
+
data.tar.gz: 1d34db866b9866150e68ef7cf9d486a0fec7dc30d85e1bdd395d0cb3655fef7089e8176ce95bfc3983d3b9894700bb5272d2ddb21f0e01186fcf550ffda699f8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.223
|
data/lib/v20180317/client.rb
CHANGED
@@ -786,6 +786,30 @@ module TencentCloud
|
|
786
786
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
787
787
|
end
|
788
788
|
|
789
|
+
# 查询跨域2.0版本云联网后端子机和网卡信息。
|
790
|
+
|
791
|
+
# @param request: Request instance for DescribeCrossTargets.
|
792
|
+
# @type request: :class:`Tencentcloud::clb::V20180317::DescribeCrossTargetsRequest`
|
793
|
+
# @rtype: :class:`Tencentcloud::clb::V20180317::DescribeCrossTargetsResponse`
|
794
|
+
def DescribeCrossTargets(request)
|
795
|
+
body = send_request('DescribeCrossTargets', request.serialize)
|
796
|
+
response = JSON.parse(body)
|
797
|
+
if response['Response'].key?('Error') == false
|
798
|
+
model = DescribeCrossTargetsResponse.new
|
799
|
+
model.deserialize(response['Response'])
|
800
|
+
model
|
801
|
+
else
|
802
|
+
code = response['Response']['Error']['Code']
|
803
|
+
message = response['Response']['Error']['Message']
|
804
|
+
reqid = response['Response']['RequestId']
|
805
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
806
|
+
end
|
807
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
808
|
+
raise e
|
809
|
+
rescue StandardError => e
|
810
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
811
|
+
end
|
812
|
+
|
789
813
|
# 拉取配置绑定的 server 或 location,如果 domain 存在,结果将根据 domain 过滤。或拉取配置绑定的 loadbalancer。
|
790
814
|
|
791
815
|
# @param request: Request instance for DescribeCustomizedConfigAssociateList.
|
@@ -1417,7 +1441,7 @@ module TencentCloud
|
|
1417
1441
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1418
1442
|
end
|
1419
1443
|
|
1420
|
-
#
|
1444
|
+
# 支持共享型clb升级到性能容量型clb(不支持性能保障降级到共享型)。
|
1421
1445
|
|
1422
1446
|
# @param request: Request instance for ModifyLoadBalancerSla.
|
1423
1447
|
# @type request: :class:`Tencentcloud::clb::V20180317::ModifyLoadBalancerSlaRequest`
|
data/lib/v20180317/models.rb
CHANGED
@@ -1641,6 +1641,52 @@ module TencentCloud
|
|
1641
1641
|
end
|
1642
1642
|
end
|
1643
1643
|
|
1644
|
+
# 跨域2.0云联网下子机和网卡信息
|
1645
|
+
class CrossTargets < TencentCloud::Common::AbstractModel
|
1646
|
+
# @param LocalVpcId: 本地私有网络ID,即负载均衡的VpcId。
|
1647
|
+
# @type LocalVpcId: String
|
1648
|
+
# @param VpcId: 子机或网卡所属的私有网络ID。
|
1649
|
+
# @type VpcId: String
|
1650
|
+
# @param IP: 子机或网卡的IP地址
|
1651
|
+
# @type IP: String
|
1652
|
+
# @param VpcName: 子机或网卡所属的私有网络名称。
|
1653
|
+
# @type VpcName: String
|
1654
|
+
# @param EniId: 子机的网卡ID。
|
1655
|
+
# @type EniId: String
|
1656
|
+
# @param InstanceId: 子机实例ID。
|
1657
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1658
|
+
# @type InstanceId: String
|
1659
|
+
# @param InstanceName: 子机实例名称。
|
1660
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1661
|
+
# @type InstanceName: String
|
1662
|
+
# @param Region: 子机或者网卡所属的地域。
|
1663
|
+
# @type Region: String
|
1664
|
+
|
1665
|
+
attr_accessor :LocalVpcId, :VpcId, :IP, :VpcName, :EniId, :InstanceId, :InstanceName, :Region
|
1666
|
+
|
1667
|
+
def initialize(localvpcid=nil, vpcid=nil, ip=nil, vpcname=nil, eniid=nil, instanceid=nil, instancename=nil, region=nil)
|
1668
|
+
@LocalVpcId = localvpcid
|
1669
|
+
@VpcId = vpcid
|
1670
|
+
@IP = ip
|
1671
|
+
@VpcName = vpcname
|
1672
|
+
@EniId = eniid
|
1673
|
+
@InstanceId = instanceid
|
1674
|
+
@InstanceName = instancename
|
1675
|
+
@Region = region
|
1676
|
+
end
|
1677
|
+
|
1678
|
+
def deserialize(params)
|
1679
|
+
@LocalVpcId = params['LocalVpcId']
|
1680
|
+
@VpcId = params['VpcId']
|
1681
|
+
@IP = params['IP']
|
1682
|
+
@VpcName = params['VpcName']
|
1683
|
+
@EniId = params['EniId']
|
1684
|
+
@InstanceId = params['InstanceId']
|
1685
|
+
@InstanceName = params['InstanceName']
|
1686
|
+
@Region = params['Region']
|
1687
|
+
end
|
1688
|
+
end
|
1689
|
+
|
1644
1690
|
# DeleteListener请求参数结构体
|
1645
1691
|
class DeleteListenerRequest < TencentCloud::Common::AbstractModel
|
1646
1692
|
# @param LoadBalancerId: 负载均衡实例ID。
|
@@ -2445,6 +2491,72 @@ module TencentCloud
|
|
2445
2491
|
end
|
2446
2492
|
end
|
2447
2493
|
|
2494
|
+
# DescribeCrossTargets请求参数结构体
|
2495
|
+
class DescribeCrossTargetsRequest < TencentCloud::Common::AbstractModel
|
2496
|
+
# @param Limit: 返回后端服务列表数目,默认20,最大值100。
|
2497
|
+
# @type Limit: Integer
|
2498
|
+
# @param Offset: 返回后端服务列表起始偏移量,默认0。
|
2499
|
+
# @type Offset: Integer
|
2500
|
+
# @param Filters: 查询跨域2.0版本云联网后端子机和网卡服务列表条件,详细的过滤条件如下:
|
2501
|
+
# <li> vpc-id - String - 是否必填:否 - (过滤条件)按照 本地私有网络ID,即负载均衡的VpcId 过滤,如:"vpc-12345678"。</li>
|
2502
|
+
# <li> ip - String - 是否必填:否 - (过滤条件)按照 后端服务ip 过滤,如:"192.168.0.1"。</li>
|
2503
|
+
# <li> listener-id - String - 是否必填:否 - (过滤条件)按照 监听器ID 过滤,如:"lbl-12345678"。</li>
|
2504
|
+
# <li> location-id - String - 是否必填:否 - (过滤条件)按照 七层监听器规则ID 过滤,如:"loc-12345678"。</li>
|
2505
|
+
# @type Filters: Array
|
2506
|
+
|
2507
|
+
attr_accessor :Limit, :Offset, :Filters
|
2508
|
+
|
2509
|
+
def initialize(limit=nil, offset=nil, filters=nil)
|
2510
|
+
@Limit = limit
|
2511
|
+
@Offset = offset
|
2512
|
+
@Filters = filters
|
2513
|
+
end
|
2514
|
+
|
2515
|
+
def deserialize(params)
|
2516
|
+
@Limit = params['Limit']
|
2517
|
+
@Offset = params['Offset']
|
2518
|
+
unless params['Filters'].nil?
|
2519
|
+
@Filters = []
|
2520
|
+
params['Filters'].each do |i|
|
2521
|
+
filter_tmp = Filter.new
|
2522
|
+
filter_tmp.deserialize(i)
|
2523
|
+
@Filters << filter_tmp
|
2524
|
+
end
|
2525
|
+
end
|
2526
|
+
end
|
2527
|
+
end
|
2528
|
+
|
2529
|
+
# DescribeCrossTargets返回参数结构体
|
2530
|
+
class DescribeCrossTargetsResponse < TencentCloud::Common::AbstractModel
|
2531
|
+
# @param TotalCount: 后端服务列表总数。
|
2532
|
+
# @type TotalCount: Integer
|
2533
|
+
# @param CrossTargetSet: 后端服务列表。
|
2534
|
+
# @type CrossTargetSet: Array
|
2535
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2536
|
+
# @type RequestId: String
|
2537
|
+
|
2538
|
+
attr_accessor :TotalCount, :CrossTargetSet, :RequestId
|
2539
|
+
|
2540
|
+
def initialize(totalcount=nil, crosstargetset=nil, requestid=nil)
|
2541
|
+
@TotalCount = totalcount
|
2542
|
+
@CrossTargetSet = crosstargetset
|
2543
|
+
@RequestId = requestid
|
2544
|
+
end
|
2545
|
+
|
2546
|
+
def deserialize(params)
|
2547
|
+
@TotalCount = params['TotalCount']
|
2548
|
+
unless params['CrossTargetSet'].nil?
|
2549
|
+
@CrossTargetSet = []
|
2550
|
+
params['CrossTargetSet'].each do |i|
|
2551
|
+
crosstargets_tmp = CrossTargets.new
|
2552
|
+
crosstargets_tmp.deserialize(i)
|
2553
|
+
@CrossTargetSet << crosstargets_tmp
|
2554
|
+
end
|
2555
|
+
end
|
2556
|
+
@RequestId = params['RequestId']
|
2557
|
+
end
|
2558
|
+
end
|
2559
|
+
|
2448
2560
|
# DescribeCustomizedConfigAssociateList请求参数结构体
|
2449
2561
|
class DescribeCustomizedConfigAssociateListRequest < TencentCloud::Common::AbstractModel
|
2450
2562
|
# @param UconfigId: 配置ID
|
@@ -5129,7 +5241,7 @@ module TencentCloud
|
|
5129
5241
|
|
5130
5242
|
# ModifyLoadBalancerSla请求参数结构体
|
5131
5243
|
class ModifyLoadBalancerSlaRequest < TencentCloud::Common::AbstractModel
|
5132
|
-
# @param LoadBalancerSla:
|
5244
|
+
# @param LoadBalancerSla: 负载均衡实例信息
|
5133
5245
|
# @type LoadBalancerSla: Array
|
5134
5246
|
|
5135
5247
|
attr_accessor :LoadBalancerSla
|
@@ -6296,11 +6408,11 @@ module TencentCloud
|
|
6296
6408
|
end
|
6297
6409
|
end
|
6298
6410
|
|
6299
|
-
#
|
6411
|
+
# 性能容量型变配参数
|
6300
6412
|
class SlaUpdateParam < TencentCloud::Common::AbstractModel
|
6301
6413
|
# @param LoadBalancerId: lb的字符串ID
|
6302
6414
|
# @type LoadBalancerId: String
|
6303
|
-
# @param SlaType:
|
6415
|
+
# @param SlaType: 变更为性能容量型,固定为SLA
|
6304
6416
|
# @type SlaType: String
|
6305
6417
|
|
6306
6418
|
attr_accessor :LoadBalancerId, :SlaType
|
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.223
|
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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|