tencentcloud-sdk-csip 3.0.631 → 3.0.633
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: 035a94175e2fd12f0d959c323ee525dba74a7b1d
|
4
|
+
data.tar.gz: 89bffa2bc02e66f2231eb0c7fefaec527b9406a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49fbfcbd12deac44b9c515a34635c9d5710cb0c8591ee9a5d69c8d3570224d5eeccf10b0aba20e054d277be5bd8d5820679f7ce23b04aa8309d8a71462762bd7
|
7
|
+
data.tar.gz: 9d4cd6cd9cb2e33680e606c0b0c45f19d40b6381d6b49ce838b6a1459548e4cf8ef0b480d132d076ba5ecd74a1e36be4e9755da0fa73b428799d2c4ed67a220c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.633
|
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.633
|
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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|