tencentcloud-sdk-csip 3.0.631 → 3.0.632
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/v20221121/client.rb +24 -0
- data/lib/v20221121/models.rb +124 -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: 1076254a13cee0476bdb3c151ae7dee37fc60616
|
4
|
+
data.tar.gz: 19d770931b0f85d5750f6316183750db0d382396
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b70da1fb970f1937ddc0dfec443d87c0e4ccc7db1e04bfbe9c3492b6240b2c3e74f0b210ac314e97c46851ef550ef43c22bb798948e85e57ab0cb5f3af04b924
|
7
|
+
data.tar.gz: 064700f5a97beab33278ff43b59e8a32bb72c12e3be7220998534febd0a6cf97742440d38228ab20d5248ebd9b3cacfcb21a86110588bbc1a46079d3145042f7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.632
|
data/lib/v20221121/client.rb
CHANGED
@@ -245,6 +245,30 @@ module TencentCloud
|
|
245
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
246
|
end
|
247
247
|
|
248
|
+
# 查询clb监听器列表
|
249
|
+
|
250
|
+
# @param request: Request instance for DescribeListenerList.
|
251
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeListenerListRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeListenerListResponse`
|
253
|
+
def DescribeListenerList(request)
|
254
|
+
body = send_request('DescribeListenerList', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = DescribeListenerListResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
248
272
|
# ip公网列表
|
249
273
|
|
250
274
|
# @param request: Request instance for DescribePublicIpAssets.
|
data/lib/v20221121/models.rb
CHANGED
@@ -830,6 +830,78 @@ module TencentCloud
|
|
830
830
|
end
|
831
831
|
end
|
832
832
|
|
833
|
+
# clb实例和监听器信息
|
834
|
+
class ClbListenerListInfo < TencentCloud::Common::AbstractModel
|
835
|
+
# @param ListenerId: 监听器id
|
836
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
837
|
+
# @type ListenerId: String
|
838
|
+
# @param ListenerName: 监听器名称
|
839
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
840
|
+
# @type ListenerName: String
|
841
|
+
# @param LoadBalancerId: 负载均衡Id
|
842
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
843
|
+
# @type LoadBalancerId: String
|
844
|
+
# @param LoadBalancerName: 负载均衡名称
|
845
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
846
|
+
# @type LoadBalancerName: String
|
847
|
+
# @param Protocol: 协议
|
848
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
849
|
+
# @type Protocol: String
|
850
|
+
# @param Region: 地域
|
851
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
852
|
+
# @type Region: String
|
853
|
+
# @param Vip: 负载均衡ip
|
854
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
855
|
+
# @type Vip: String
|
856
|
+
# @param VPort: 端口
|
857
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
858
|
+
# @type VPort: Integer
|
859
|
+
# @param Zone: 区域
|
860
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
861
|
+
# @type Zone: String
|
862
|
+
# @param NumericalVpcId: 私有网络id
|
863
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
864
|
+
# @type NumericalVpcId: Integer
|
865
|
+
# @param LoadBalancerType: 负载均衡类型
|
866
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
867
|
+
# @type LoadBalancerType: String
|
868
|
+
# @param Domain: 监听器域名
|
869
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
870
|
+
# @type Domain: String
|
871
|
+
|
872
|
+
attr_accessor :ListenerId, :ListenerName, :LoadBalancerId, :LoadBalancerName, :Protocol, :Region, :Vip, :VPort, :Zone, :NumericalVpcId, :LoadBalancerType, :Domain
|
873
|
+
|
874
|
+
def initialize(listenerid=nil, listenername=nil, loadbalancerid=nil, loadbalancername=nil, protocol=nil, region=nil, vip=nil, vport=nil, zone=nil, numericalvpcid=nil, loadbalancertype=nil, domain=nil)
|
875
|
+
@ListenerId = listenerid
|
876
|
+
@ListenerName = listenername
|
877
|
+
@LoadBalancerId = loadbalancerid
|
878
|
+
@LoadBalancerName = loadbalancername
|
879
|
+
@Protocol = protocol
|
880
|
+
@Region = region
|
881
|
+
@Vip = vip
|
882
|
+
@VPort = vport
|
883
|
+
@Zone = zone
|
884
|
+
@NumericalVpcId = numericalvpcid
|
885
|
+
@LoadBalancerType = loadbalancertype
|
886
|
+
@Domain = domain
|
887
|
+
end
|
888
|
+
|
889
|
+
def deserialize(params)
|
890
|
+
@ListenerId = params['ListenerId']
|
891
|
+
@ListenerName = params['ListenerName']
|
892
|
+
@LoadBalancerId = params['LoadBalancerId']
|
893
|
+
@LoadBalancerName = params['LoadBalancerName']
|
894
|
+
@Protocol = params['Protocol']
|
895
|
+
@Region = params['Region']
|
896
|
+
@Vip = params['Vip']
|
897
|
+
@VPort = params['VPort']
|
898
|
+
@Zone = params['Zone']
|
899
|
+
@NumericalVpcId = params['NumericalVpcId']
|
900
|
+
@LoadBalancerType = params['LoadBalancerType']
|
901
|
+
@Domain = params['Domain']
|
902
|
+
end
|
903
|
+
end
|
904
|
+
|
833
905
|
# CreateDomainAndIp请求参数结构体
|
834
906
|
class CreateDomainAndIpRequest < TencentCloud::Common::AbstractModel
|
835
907
|
# @param Content: -
|
@@ -1694,6 +1766,58 @@ module TencentCloud
|
|
1694
1766
|
end
|
1695
1767
|
end
|
1696
1768
|
|
1769
|
+
# DescribeListenerList请求参数结构体
|
1770
|
+
class DescribeListenerListRequest < TencentCloud::Common::AbstractModel
|
1771
|
+
# @param Filter: -
|
1772
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
1773
|
+
|
1774
|
+
attr_accessor :Filter
|
1775
|
+
|
1776
|
+
def initialize(filter=nil)
|
1777
|
+
@Filter = filter
|
1778
|
+
end
|
1779
|
+
|
1780
|
+
def deserialize(params)
|
1781
|
+
unless params['Filter'].nil?
|
1782
|
+
@Filter = Filter.new
|
1783
|
+
@Filter.deserialize(params['Filter'])
|
1784
|
+
end
|
1785
|
+
end
|
1786
|
+
end
|
1787
|
+
|
1788
|
+
# DescribeListenerList返回参数结构体
|
1789
|
+
class DescribeListenerListResponse < TencentCloud::Common::AbstractModel
|
1790
|
+
# @param Total: 总数
|
1791
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1792
|
+
# @type Total: Integer
|
1793
|
+
# @param Data: 监听器列表
|
1794
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1795
|
+
# @type Data: Array
|
1796
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1797
|
+
# @type RequestId: String
|
1798
|
+
|
1799
|
+
attr_accessor :Total, :Data, :RequestId
|
1800
|
+
|
1801
|
+
def initialize(total=nil, data=nil, requestid=nil)
|
1802
|
+
@Total = total
|
1803
|
+
@Data = data
|
1804
|
+
@RequestId = requestid
|
1805
|
+
end
|
1806
|
+
|
1807
|
+
def deserialize(params)
|
1808
|
+
@Total = params['Total']
|
1809
|
+
unless params['Data'].nil?
|
1810
|
+
@Data = []
|
1811
|
+
params['Data'].each do |i|
|
1812
|
+
clblistenerlistinfo_tmp = ClbListenerListInfo.new
|
1813
|
+
clblistenerlistinfo_tmp.deserialize(i)
|
1814
|
+
@Data << clblistenerlistinfo_tmp
|
1815
|
+
end
|
1816
|
+
end
|
1817
|
+
@RequestId = params['RequestId']
|
1818
|
+
end
|
1819
|
+
end
|
1820
|
+
|
1697
1821
|
# DescribePublicIpAssets请求参数结构体
|
1698
1822
|
class DescribePublicIpAssetsRequest < TencentCloud::Common::AbstractModel
|
1699
1823
|
# @param Filter: filte过滤条件
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-csip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.632
|
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-08-
|
11
|
+
date: 2023-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|