tencentcloud-sdk-teo 3.0.815 → 3.0.816

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 13a992a35003a7ab3e644319b5bee2a456653944
4
- data.tar.gz: 1895b309bb83f8f2d497e0be98708785c86ad0bb
3
+ metadata.gz: 1a5f0af03452a64d8061d405f2d06e842a691360
4
+ data.tar.gz: 6f3d3574ede83b4871cf3329457e03ae24aaf30c
5
5
  SHA512:
6
- metadata.gz: 22b007238a9a5c3e743ebbf35c668df25984bf3e520697ad6ee574bff29ce3c272e208dabb9fa5b235ebf4523fe1d37f9264745ce0ba9171455655a46fe6f8c4
7
- data.tar.gz: d1c411c2860f4c9a6f7419a64d95d00920656f307dbf1f59c62b03c2dc8282b8490309d0be9e73a3fe6603b8f448d668ba5098f563278712de8b42581d70f809
6
+ metadata.gz: a703b92c840e05624835c711d01b541f6879ad9ff2f47ef4d0e2ff1b23dd367b87b3769617a88c84c8c9848cc86de30fcf7d55b96cbe194ed4b0caa0a4b75e9c
7
+ data.tar.gz: 0b07ede4e1514fe00b2d0ffe86730327b11dcff39d6480006782ed64613c10e360aca216b8cdb6842c55ae09089911a5e8d0f151039f48e103bb44d9c4ee9cbf
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.815
1
+ 3.0.816
@@ -2,12 +2,12 @@
2
2
 
3
3
  require 'tencentcloud-sdk-common'
4
4
 
5
- require_relative 'v20220901/client'
6
- require_relative 'v20220901/models'
7
-
8
5
  require_relative 'v20220106/client'
9
6
  require_relative 'v20220106/models'
10
7
 
8
+ require_relative 'v20220901/client'
9
+ require_relative 'v20220901/models'
10
+
11
11
  module TencentCloud
12
12
  module Teo
13
13
  end
@@ -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.
@@ -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.815
4
+ version: 3.0.816
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-06 00:00:00.000000000 Z
11
+ date: 2024-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,11 +33,11 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20220106/models.rb
37
36
  - lib/v20220106/client.rb
38
- - lib/v20220901/models.rb
39
- - lib/v20220901/client.rb
37
+ - lib/v20220106/models.rb
40
38
  - lib/tencentcloud-sdk-teo.rb
39
+ - lib/v20220901/client.rb
40
+ - lib/v20220901/models.rb
41
41
  - lib/VERSION
42
42
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
43
43
  licenses: