tencentcloud-sdk-cfw 3.0.1174 → 3.0.1191
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/v20190904/client.rb +0 -24
- data/lib/v20190904/models.rb +0 -48
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9665c56283b01e3ebe0a0f50a31b0f07b2abedff
|
|
4
|
+
data.tar.gz: 397fb96aa38954186e2b6564c960cb5ffa036ee9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6088591719afefba27e1f709faa16b06e86c0460c9c6e701c383879d11fecce36684f94bd7b7bd1d156443a6bb59d2bb8e1e119f8ad1af61cb714362b820b7f1
|
|
7
|
+
data.tar.gz: 72a2f11b360a841e288caca732e97008026e49134046fd57140ca952e31d0245e93207d95637818e887c8913347f0d79a08b665d48b54714bc623fc18cefa64c
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1191
|
data/lib/v20190904/client.rb
CHANGED
|
@@ -485,30 +485,6 @@ module TencentCloud
|
|
|
485
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
486
486
|
end
|
|
487
487
|
|
|
488
|
-
# 全部删除规则
|
|
489
|
-
|
|
490
|
-
# @param request: Request instance for DeleteAllAccessControlRule.
|
|
491
|
-
# @type request: :class:`Tencentcloud::cfw::V20190904::DeleteAllAccessControlRuleRequest`
|
|
492
|
-
# @rtype: :class:`Tencentcloud::cfw::V20190904::DeleteAllAccessControlRuleResponse`
|
|
493
|
-
def DeleteAllAccessControlRule(request)
|
|
494
|
-
body = send_request('DeleteAllAccessControlRule', request.serialize)
|
|
495
|
-
response = JSON.parse(body)
|
|
496
|
-
if response['Response'].key?('Error') == false
|
|
497
|
-
model = DeleteAllAccessControlRuleResponse.new
|
|
498
|
-
model.deserialize(response['Response'])
|
|
499
|
-
model
|
|
500
|
-
else
|
|
501
|
-
code = response['Response']['Error']['Code']
|
|
502
|
-
message = response['Response']['Error']['Message']
|
|
503
|
-
reqid = response['Response']['RequestId']
|
|
504
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
505
|
-
end
|
|
506
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
507
|
-
raise e
|
|
508
|
-
rescue StandardError => e
|
|
509
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
510
|
-
end
|
|
511
|
-
|
|
512
488
|
# 批量删除入侵防御封禁列表、放通列表规则
|
|
513
489
|
|
|
514
490
|
# @param request: Request instance for DeleteBlockIgnoreRuleList.
|
data/lib/v20190904/models.rb
CHANGED
|
@@ -1982,54 +1982,6 @@ module TencentCloud
|
|
|
1982
1982
|
end
|
|
1983
1983
|
end
|
|
1984
1984
|
|
|
1985
|
-
# DeleteAllAccessControlRule请求参数结构体
|
|
1986
|
-
class DeleteAllAccessControlRuleRequest < TencentCloud::Common::AbstractModel
|
|
1987
|
-
# @param Direction: 方向,0:出站,1:入站 默认值是 0
|
|
1988
|
-
# @type Direction: Integer
|
|
1989
|
-
# @param EdgeId: VPC间防火墙开关ID 全部删除 EdgeId和Area只填写一个,不填写则不删除vpc间防火墙开关 ,默认值为‘’
|
|
1990
|
-
# @type EdgeId: String
|
|
1991
|
-
# @param Area: nat地域 全部删除 EdgeId和Area只填写一个,不填写则不删除nat防火墙开关 默认值为‘’
|
|
1992
|
-
# @type Area: String
|
|
1993
|
-
|
|
1994
|
-
attr_accessor :Direction, :EdgeId, :Area
|
|
1995
|
-
|
|
1996
|
-
def initialize(direction=nil, edgeid=nil, area=nil)
|
|
1997
|
-
@Direction = direction
|
|
1998
|
-
@EdgeId = edgeid
|
|
1999
|
-
@Area = area
|
|
2000
|
-
end
|
|
2001
|
-
|
|
2002
|
-
def deserialize(params)
|
|
2003
|
-
@Direction = params['Direction']
|
|
2004
|
-
@EdgeId = params['EdgeId']
|
|
2005
|
-
@Area = params['Area']
|
|
2006
|
-
end
|
|
2007
|
-
end
|
|
2008
|
-
|
|
2009
|
-
# DeleteAllAccessControlRule返回参数结构体
|
|
2010
|
-
class DeleteAllAccessControlRuleResponse < TencentCloud::Common::AbstractModel
|
|
2011
|
-
# @param Status: 状态值 0: 修改成功, 非0: 修改失败
|
|
2012
|
-
# @type Status: Integer
|
|
2013
|
-
# @param Info: 删除了几条访问控制规则
|
|
2014
|
-
# @type Info: Integer
|
|
2015
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2016
|
-
# @type RequestId: String
|
|
2017
|
-
|
|
2018
|
-
attr_accessor :Status, :Info, :RequestId
|
|
2019
|
-
|
|
2020
|
-
def initialize(status=nil, info=nil, requestid=nil)
|
|
2021
|
-
@Status = status
|
|
2022
|
-
@Info = info
|
|
2023
|
-
@RequestId = requestid
|
|
2024
|
-
end
|
|
2025
|
-
|
|
2026
|
-
def deserialize(params)
|
|
2027
|
-
@Status = params['Status']
|
|
2028
|
-
@Info = params['Info']
|
|
2029
|
-
@RequestId = params['RequestId']
|
|
2030
|
-
end
|
|
2031
|
-
end
|
|
2032
|
-
|
|
2033
1985
|
# DeleteBlockIgnoreRuleList请求参数结构体
|
|
2034
1986
|
class DeleteBlockIgnoreRuleListRequest < TencentCloud::Common::AbstractModel
|
|
2035
1987
|
# @param Rules: 规则列表
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-cfw
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1191
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,8 +33,8 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/v20190904/models.rb
|
|
37
36
|
- lib/v20190904/client.rb
|
|
37
|
+
- lib/v20190904/models.rb
|
|
38
38
|
- lib/tencentcloud-sdk-cfw.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|