tencentcloud-sdk-teo 3.0.815 → 3.0.817
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/v20220901/client.rb +27 -0
- data/lib/v20220901/models.rb +49 -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: c7d9f2acc23cde290dbb96e567488e7f1df10eff
|
4
|
+
data.tar.gz: 1808d291eef33099bafb3b4e8758f0f4acfbd44e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 376773847bcbb57b43ec6158be76a73a6e6a1730a45e6d3a638a1c067f1cecd8c280335fd6849e0cc5a0a6b465affd7f771bf095d362108c81f2b96fde402a1c
|
7
|
+
data.tar.gz: 9d9eb2da8e7ac842f850489152393bffb487989735efec40576e0e3f598cf97240abd2b969ee0a849a612abf05ab89e698c13a4e98a366d90e56c4a691e90304
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.817
|
data/lib/v20220901/client.rb
CHANGED
@@ -1527,6 +1527,33 @@ module TencentCloud
|
|
1527
1527
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1528
1528
|
end
|
1529
1529
|
|
1530
|
+
# 查询安全 IP 组的配置信息,包括安全 IP 组的 ID、名称和内容。
|
1531
|
+
|
1532
|
+
# @param request: Request instance for DescribeSecurityIPGroup.
|
1533
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeSecurityIPGroupRequest`
|
1534
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeSecurityIPGroupResponse`
|
1535
|
+
def DescribeSecurityIPGroup(request)
|
1536
|
+
body = send_request('DescribeSecurityIPGroup', request.serialize)
|
1537
|
+
response = JSON.parse(body)
|
1538
|
+
if response['Response'].key?('Error') == false
|
1539
|
+
model = DescribeSecurityIPGroupResponse.new
|
1540
|
+
model.deserialize(response['Response'])
|
1541
|
+
model
|
1542
|
+
else
|
1543
|
+
code = response['Response']['Error']['Code']
|
1544
|
+
message = response['Response']['Error']['Message']
|
1545
|
+
reqid = response['Response']['RequestId']
|
1546
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1547
|
+
end
|
1548
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1549
|
+
raise e
|
1550
|
+
rescue StandardError => e
|
1551
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1552
|
+
end
|
1553
|
+
|
1554
|
+
# 接口已废弃,将于 2024 年 6 月 30 日停止服务。请使用 [查询安全 IP 组
|
1555
|
+
# ](https://cloud.tencent.com/document/product/1552/105866) 接口。
|
1556
|
+
|
1530
1557
|
# 查询 IP 组的配置信息,包括 IP 组名称、 IP 组内容、 IP 组归属站点。
|
1531
1558
|
|
1532
1559
|
# @param request: Request instance for DescribeSecurityIPGroupInfo.
|
data/lib/v20220901/models.rb
CHANGED
@@ -5866,6 +5866,55 @@ module TencentCloud
|
|
5866
5866
|
end
|
5867
5867
|
end
|
5868
5868
|
|
5869
|
+
# DescribeSecurityIPGroup请求参数结构体
|
5870
|
+
class DescribeSecurityIPGroupRequest < TencentCloud::Common::AbstractModel
|
5871
|
+
# @param ZoneId: 站点 ID ,用于指定查询的站点范围。
|
5872
|
+
# @type ZoneId: String
|
5873
|
+
# @param GroupIds: 指定安全 IP 组 ID。
|
5874
|
+
# <li>提供该参数时,仅查询指定 ID 的安全 IP 组配置;</li>
|
5875
|
+
# <li>不传递参数时,返回站点下所有安全 IP 组信息。</li>
|
5876
|
+
# @type GroupIds: Array
|
5877
|
+
|
5878
|
+
attr_accessor :ZoneId, :GroupIds
|
5879
|
+
|
5880
|
+
def initialize(zoneid=nil, groupids=nil)
|
5881
|
+
@ZoneId = zoneid
|
5882
|
+
@GroupIds = groupids
|
5883
|
+
end
|
5884
|
+
|
5885
|
+
def deserialize(params)
|
5886
|
+
@ZoneId = params['ZoneId']
|
5887
|
+
@GroupIds = params['GroupIds']
|
5888
|
+
end
|
5889
|
+
end
|
5890
|
+
|
5891
|
+
# DescribeSecurityIPGroup返回参数结构体
|
5892
|
+
class DescribeSecurityIPGroupResponse < TencentCloud::Common::AbstractModel
|
5893
|
+
# @param IPGroups: 安全 IP 组的详细配置信息。包含每个安全 IP 组的 ID 、名称和 IP / 网段列表信息。
|
5894
|
+
# @type IPGroups: Array
|
5895
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5896
|
+
# @type RequestId: String
|
5897
|
+
|
5898
|
+
attr_accessor :IPGroups, :RequestId
|
5899
|
+
|
5900
|
+
def initialize(ipgroups=nil, requestid=nil)
|
5901
|
+
@IPGroups = ipgroups
|
5902
|
+
@RequestId = requestid
|
5903
|
+
end
|
5904
|
+
|
5905
|
+
def deserialize(params)
|
5906
|
+
unless params['IPGroups'].nil?
|
5907
|
+
@IPGroups = []
|
5908
|
+
params['IPGroups'].each do |i|
|
5909
|
+
ipgroup_tmp = IPGroup.new
|
5910
|
+
ipgroup_tmp.deserialize(i)
|
5911
|
+
@IPGroups << ipgroup_tmp
|
5912
|
+
end
|
5913
|
+
end
|
5914
|
+
@RequestId = params['RequestId']
|
5915
|
+
end
|
5916
|
+
end
|
5917
|
+
|
5869
5918
|
# DescribeSecurityTemplateBindings请求参数结构体
|
5870
5919
|
class DescribeSecurityTemplateBindingsRequest < TencentCloud::Common::AbstractModel
|
5871
5920
|
# @param ZoneId: 要查询的站点 ID。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-teo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.817
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|