tencentcloud-sdk-teo 3.0.779 → 3.0.781
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/v20220106/models.rb +5 -5
- data/lib/v20220901/client.rb +24 -0
- data/lib/v20220901/models.rb +55 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 248fe3e5a06c6ad161222d58dcd2748097945e0a
|
4
|
+
data.tar.gz: 1441e965f3df49c3fd1d0297c035f95c0a5ba1a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d5625a2bb76eb79235004c666dc535d2e3302d7365daf1e05b816cec5483be6c32e1e45ff2bf20b481e49d8050681b2acabaa1370449677e44a097dcc6b288d
|
7
|
+
data.tar.gz: a504d6ea8d1d85b8a3d8037ea7772a69db4549fdbff785f7281782c76e1a2fa4534d974825f102f4f70b79a68cf12d616161b43ada78e666b688049383faacce
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.781
|
data/lib/v20220106/models.rb
CHANGED
@@ -61,7 +61,7 @@ module TencentCloud
|
|
61
61
|
# @param FailedList: 失败的任务列表
|
62
62
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
63
63
|
# @type FailedList: Array
|
64
|
-
# @param RequestId: 唯一请求 ID
|
64
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
65
65
|
# @type RequestId: String
|
66
66
|
|
67
67
|
attr_accessor :JobId, :FailedList, :RequestId
|
@@ -134,7 +134,7 @@ module TencentCloud
|
|
134
134
|
# @param FailedList: 失败的任务列表及原因
|
135
135
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
136
136
|
# @type FailedList: Array
|
137
|
-
# @param RequestId: 唯一请求 ID
|
137
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
138
138
|
# @type RequestId: String
|
139
139
|
|
140
140
|
attr_accessor :JobId, :FailedList, :RequestId
|
@@ -214,7 +214,7 @@ module TencentCloud
|
|
214
214
|
# @type TotalCount: Integer
|
215
215
|
# @param Tasks: 任务结果列表
|
216
216
|
# @type Tasks: Array
|
217
|
-
# @param RequestId: 唯一请求 ID
|
217
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
218
218
|
# @type RequestId: String
|
219
219
|
|
220
220
|
attr_accessor :TotalCount, :Tasks, :RequestId
|
@@ -298,7 +298,7 @@ module TencentCloud
|
|
298
298
|
# @type TotalCount: Integer
|
299
299
|
# @param Tasks: 任务结果列表
|
300
300
|
# @type Tasks: Array
|
301
|
-
# @param RequestId: 唯一请求 ID
|
301
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
302
302
|
# @type RequestId: String
|
303
303
|
|
304
304
|
attr_accessor :TotalCount, :Tasks, :RequestId
|
@@ -360,7 +360,7 @@ module TencentCloud
|
|
360
360
|
# @type TotalCount: Integer
|
361
361
|
# @param Zones: 站点详细信息列表。
|
362
362
|
# @type Zones: Array
|
363
|
-
# @param RequestId: 唯一请求 ID
|
363
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
364
364
|
# @type RequestId: String
|
365
365
|
|
366
366
|
attr_accessor :TotalCount, :Zones, :RequestId
|
data/lib/v20220901/client.rb
CHANGED
@@ -1502,6 +1502,30 @@ module TencentCloud
|
|
1502
1502
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1503
1503
|
end
|
1504
1504
|
|
1505
|
+
# 查询 IP 组的配置信息,包括 IP 组名称、 IP 组内容、 IP 组归属站点。
|
1506
|
+
|
1507
|
+
# @param request: Request instance for DescribeSecurityIPGroupInfo.
|
1508
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeSecurityIPGroupInfoRequest`
|
1509
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeSecurityIPGroupInfoResponse`
|
1510
|
+
def DescribeSecurityIPGroupInfo(request)
|
1511
|
+
body = send_request('DescribeSecurityIPGroupInfo', request.serialize)
|
1512
|
+
response = JSON.parse(body)
|
1513
|
+
if response['Response'].key?('Error') == false
|
1514
|
+
model = DescribeSecurityIPGroupInfoResponse.new
|
1515
|
+
model.deserialize(response['Response'])
|
1516
|
+
model
|
1517
|
+
else
|
1518
|
+
code = response['Response']['Error']['Code']
|
1519
|
+
message = response['Response']['Error']['Message']
|
1520
|
+
reqid = response['Response']['RequestId']
|
1521
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1522
|
+
end
|
1523
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1524
|
+
raise e
|
1525
|
+
rescue StandardError => e
|
1526
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1527
|
+
end
|
1528
|
+
|
1505
1529
|
# 查询指定策略模板的绑定关系列表。
|
1506
1530
|
|
1507
1531
|
# @param request: Request instance for DescribeSecurityTemplateBindings.
|
data/lib/v20220901/models.rb
CHANGED
@@ -5739,6 +5739,61 @@ module TencentCloud
|
|
5739
5739
|
end
|
5740
5740
|
end
|
5741
5741
|
|
5742
|
+
# DescribeSecurityIPGroupInfo请求参数结构体
|
5743
|
+
class DescribeSecurityIPGroupInfoRequest < TencentCloud::Common::AbstractModel
|
5744
|
+
# @param ZoneId: 站点的 ID ,用于指定查询的站点范围。
|
5745
|
+
# @type ZoneId: String
|
5746
|
+
# @param Limit: 单次返回的最大条目数。默认值为 20 ,最大查询条目为 1000 。
|
5747
|
+
# @type Limit: Integer
|
5748
|
+
# @param Offset: 分页查询的起始条目偏移量。默认值为 0 。
|
5749
|
+
# @type Offset: Integer
|
5750
|
+
|
5751
|
+
attr_accessor :ZoneId, :Limit, :Offset
|
5752
|
+
|
5753
|
+
def initialize(zoneid=nil, limit=nil, offset=nil)
|
5754
|
+
@ZoneId = zoneid
|
5755
|
+
@Limit = limit
|
5756
|
+
@Offset = offset
|
5757
|
+
end
|
5758
|
+
|
5759
|
+
def deserialize(params)
|
5760
|
+
@ZoneId = params['ZoneId']
|
5761
|
+
@Limit = params['Limit']
|
5762
|
+
@Offset = params['Offset']
|
5763
|
+
end
|
5764
|
+
end
|
5765
|
+
|
5766
|
+
# DescribeSecurityIPGroupInfo返回参数结构体
|
5767
|
+
class DescribeSecurityIPGroupInfoResponse < TencentCloud::Common::AbstractModel
|
5768
|
+
# @param TotalCount: 返回的满足条件的 IP 组数量。
|
5769
|
+
# @type TotalCount: Integer
|
5770
|
+
# @param IPGroups: IP 组的详细配置信息。包含每个 IP 组的 ID 、名称和 IP /网段列表信息。
|
5771
|
+
# @type IPGroups: Array
|
5772
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5773
|
+
# @type RequestId: String
|
5774
|
+
|
5775
|
+
attr_accessor :TotalCount, :IPGroups, :RequestId
|
5776
|
+
|
5777
|
+
def initialize(totalcount=nil, ipgroups=nil, requestid=nil)
|
5778
|
+
@TotalCount = totalcount
|
5779
|
+
@IPGroups = ipgroups
|
5780
|
+
@RequestId = requestid
|
5781
|
+
end
|
5782
|
+
|
5783
|
+
def deserialize(params)
|
5784
|
+
@TotalCount = params['TotalCount']
|
5785
|
+
unless params['IPGroups'].nil?
|
5786
|
+
@IPGroups = []
|
5787
|
+
params['IPGroups'].each do |i|
|
5788
|
+
ipgroup_tmp = IPGroup.new
|
5789
|
+
ipgroup_tmp.deserialize(i)
|
5790
|
+
@IPGroups << ipgroup_tmp
|
5791
|
+
end
|
5792
|
+
end
|
5793
|
+
@RequestId = params['RequestId']
|
5794
|
+
end
|
5795
|
+
end
|
5796
|
+
|
5742
5797
|
# DescribeSecurityTemplateBindings请求参数结构体
|
5743
5798
|
class DescribeSecurityTemplateBindingsRequest < TencentCloud::Common::AbstractModel
|
5744
5799
|
# @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.781
|
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-03-
|
11
|
+
date: 2024-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,10 +33,10 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20220901/client.rb
|
37
|
-
- lib/v20220901/models.rb
|
38
|
-
- lib/v20220106/client.rb
|
39
36
|
- lib/v20220106/models.rb
|
37
|
+
- lib/v20220106/client.rb
|
38
|
+
- lib/v20220901/models.rb
|
39
|
+
- lib/v20220901/client.rb
|
40
40
|
- lib/tencentcloud-sdk-teo.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|