tencentcloud-sdk-teo 3.0.814 → 3.0.816
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/tencentcloud-sdk-teo.rb +3 -3
- data/lib/v20220901/client.rb +27 -0
- data/lib/v20220901/models.rb +61 -12
- 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: 1a5f0af03452a64d8061d405f2d06e842a691360
|
4
|
+
data.tar.gz: 6f3d3574ede83b4871cf3329457e03ae24aaf30c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a703b92c840e05624835c711d01b541f6879ad9ff2f47ef4d0e2ff1b23dd367b87b3769617a88c84c8c9848cc86de30fcf7d55b96cbe194ed4b0caa0a4b75e9c
|
7
|
+
data.tar.gz: 0b07ede4e1514fe00b2d0ffe86730327b11dcff39d6480006782ed64613c10e360aca216b8cdb6842c55ae09089911a5e8d0f151039f48e103bb44d9c4ee9cbf
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.816
|
data/lib/tencentcloud-sdk-teo.rb
CHANGED
@@ -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
|
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
@@ -1506,8 +1506,8 @@ module TencentCloud
|
|
1506
1506
|
|
1507
1507
|
attr_accessor :Switch, :CacheTime, :IgnoreCacheControl
|
1508
1508
|
extend Gem::Deprecate
|
1509
|
-
deprecate :IgnoreCacheControl, :none, 2024,
|
1510
|
-
deprecate :IgnoreCacheControl=, :none, 2024,
|
1509
|
+
deprecate :IgnoreCacheControl, :none, 2024, 5
|
1510
|
+
deprecate :IgnoreCacheControl=, :none, 2024, 5
|
1511
1511
|
|
1512
1512
|
def initialize(switch=nil, cachetime=nil, ignorecachecontrol=nil)
|
1513
1513
|
@Switch = switch
|
@@ -2667,8 +2667,8 @@ module TencentCloud
|
|
2667
2667
|
|
2668
2668
|
attr_accessor :ZoneId, :Type, :Method, :Targets, :EncodeUrl
|
2669
2669
|
extend Gem::Deprecate
|
2670
|
-
deprecate :EncodeUrl, :none, 2024,
|
2671
|
-
deprecate :EncodeUrl=, :none, 2024,
|
2670
|
+
deprecate :EncodeUrl, :none, 2024, 5
|
2671
|
+
deprecate :EncodeUrl=, :none, 2024, 5
|
2672
2672
|
|
2673
2673
|
def initialize(zoneid=nil, type=nil, method=nil, targets=nil, encodeurl=nil)
|
2674
2674
|
@ZoneId = zoneid
|
@@ -3029,10 +3029,10 @@ module TencentCloud
|
|
3029
3029
|
|
3030
3030
|
attr_accessor :Type, :ZoneName, :Area, :PlanId, :AliasZoneName, :Tags, :AllowDuplicates, :JumpStart
|
3031
3031
|
extend Gem::Deprecate
|
3032
|
-
deprecate :AllowDuplicates, :none, 2024,
|
3033
|
-
deprecate :AllowDuplicates=, :none, 2024,
|
3034
|
-
deprecate :JumpStart, :none, 2024,
|
3035
|
-
deprecate :JumpStart=, :none, 2024,
|
3032
|
+
deprecate :AllowDuplicates, :none, 2024, 5
|
3033
|
+
deprecate :AllowDuplicates=, :none, 2024, 5
|
3034
|
+
deprecate :JumpStart, :none, 2024, 5
|
3035
|
+
deprecate :JumpStart=, :none, 2024, 5
|
3036
3036
|
|
3037
3037
|
def initialize(type=nil, zonename=nil, area=nil, planid=nil, aliaszonename=nil, tags=nil, allowduplicates=nil, jumpstart=nil)
|
3038
3038
|
@Type = type
|
@@ -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。
|
@@ -8822,8 +8871,8 @@ module TencentCloud
|
|
8822
8871
|
|
8823
8872
|
attr_accessor :ZoneId, :Hosts, :Mode, :ServerCertInfo, :ApplyType
|
8824
8873
|
extend Gem::Deprecate
|
8825
|
-
deprecate :ApplyType, :none, 2024,
|
8826
|
-
deprecate :ApplyType=, :none, 2024,
|
8874
|
+
deprecate :ApplyType, :none, 2024, 5
|
8875
|
+
deprecate :ApplyType=, :none, 2024, 5
|
8827
8876
|
|
8828
8877
|
def initialize(zoneid=nil, hosts=nil, mode=nil, servercertinfo=nil, applytype=nil)
|
8829
8878
|
@ZoneId = zoneid
|
@@ -11208,8 +11257,8 @@ module TencentCloud
|
|
11208
11257
|
|
11209
11258
|
attr_accessor :Operator, :Target, :Values, :IgnoreCase, :Name, :IgnoreNameCase
|
11210
11259
|
extend Gem::Deprecate
|
11211
|
-
deprecate :IgnoreNameCase, :none, 2024,
|
11212
|
-
deprecate :IgnoreNameCase=, :none, 2024,
|
11260
|
+
deprecate :IgnoreNameCase, :none, 2024, 5
|
11261
|
+
deprecate :IgnoreNameCase=, :none, 2024, 5
|
11213
11262
|
|
11214
11263
|
def initialize(operator=nil, target=nil, values=nil, ignorecase=nil, name=nil, ignorenamecase=nil)
|
11215
11264
|
@Operator = operator
|
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.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-
|
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/
|
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:
|