tencentcloud-sdk-teo 3.0.779 → 3.0.780

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 641a2279bbb964e4f5712867c2b4c17de1e2d060
4
- data.tar.gz: e0c917f013a0ac6fd2786e8c5c5c8e1168b185ab
3
+ metadata.gz: 44e17b9d92e905c73a057bf1329f29cb3af71869
4
+ data.tar.gz: dca795f44be0c82ff05f0f8183c29dd9aceaf579
5
5
  SHA512:
6
- metadata.gz: 24f9bd2307086adc69369312c3484e373433b8536462bb6f3272ca66ac1214b1442e663fb3a1ae4aef80d4369c1986aa3663b9d53136377b992369272c8adf19
7
- data.tar.gz: 0cd762c3f3f4e21427c42db4517d8a090273cbdb984ecb13c5b9c2a57d7a347d453a366ab7c43c4e5e938e397bb65c18881616a95931f0d79634d6586a724c3b
6
+ metadata.gz: e45598ce02162c42ce1ead2399ea0d4282d316207a7d1e0fe1c0c6e886968078f3103b4e974067bf1388878c38c3a3a0b2d0a8532d5615f496341da9c3b7e48f
7
+ data.tar.gz: 17b3f044d401300dbcd4db85852cdb1620fe79c3cab03004982e3b0c3e72f39fc20c8ee0289ba1d2a45a862fc31bb07d6215d973e2ffe3807541e329d8fe05b7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.779
1
+ 3.0.780
@@ -61,7 +61,7 @@ module TencentCloud
61
61
  # @param FailedList: 失败的任务列表
62
62
  # 注意:此字段可能返回 null,表示取不到有效值。
63
63
  # @type FailedList: Array
64
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
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,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
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,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
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,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
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,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
363
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
364
364
  # @type RequestId: String
365
365
 
366
366
  attr_accessor :TotalCount, :Zones, :RequestId
@@ -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.
@@ -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.779
4
+ version: 3.0.780
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 00:00:00.000000000 Z
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