tencentcloud-sdk-cfw 3.0.413 → 3.0.414
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/v20190904/client.rb +0 -24
- data/lib/v20190904/models.rb +0 -47
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a9651976f8c9a3dabe8f86aa91465d7c0f619ab
|
4
|
+
data.tar.gz: 32fd285bd7b2bdedc5427911d40e1f85d18bfa91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c053d6513c67ce20eb29f2bbbd0a6001d01809bd55a3029d7de9557c8811f6e2d79000b4b0d839b294d4af7dbefa3f4be46f68623834b2993a50fbbe96976be
|
7
|
+
data.tar.gz: 6932c086ce8a249177cc89c318e7e0a4028c50588b431a17f9bc57583c04e5b3e337cbdb9f9bbf6724ebe84582893dcd897dea25ace4f08de6eec8a9a70a50af
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.414
|
data/lib/v20190904/client.rb
CHANGED
@@ -941,30 +941,6 @@ module TencentCloud
|
|
941
941
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
942
942
|
end
|
943
943
|
|
944
|
-
# vpc规则列表概况
|
945
|
-
|
946
|
-
# @param request: Request instance for DescribeVpcRuleOverview.
|
947
|
-
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeVpcRuleOverviewRequest`
|
948
|
-
# @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeVpcRuleOverviewResponse`
|
949
|
-
def DescribeVpcRuleOverview(request)
|
950
|
-
body = send_request('DescribeVpcRuleOverview', request.serialize)
|
951
|
-
response = JSON.parse(body)
|
952
|
-
if response['Response'].key?('Error') == false
|
953
|
-
model = DescribeVpcRuleOverviewResponse.new
|
954
|
-
model.deserialize(response['Response'])
|
955
|
-
model
|
956
|
-
else
|
957
|
-
code = response['Response']['Error']['Code']
|
958
|
-
message = response['Response']['Error']['Message']
|
959
|
-
reqid = response['Response']['RequestId']
|
960
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
961
|
-
end
|
962
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
963
|
-
raise e
|
964
|
-
rescue StandardError => e
|
965
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
|
-
end
|
967
|
-
|
968
944
|
# 防火墙垂直扩容
|
969
945
|
|
970
946
|
# @param request: Request instance for ExpandCfwVertical.
|
data/lib/v20190904/models.rb
CHANGED
@@ -2520,53 +2520,6 @@ module TencentCloud
|
|
2520
2520
|
end
|
2521
2521
|
end
|
2522
2522
|
|
2523
|
-
# DescribeVpcRuleOverview请求参数结构体
|
2524
|
-
class DescribeVpcRuleOverviewRequest < TencentCloud::Common::AbstractModel
|
2525
|
-
# @param EdgeId: EdgeId值两个vpc间的边id 不是必填项可以为空,就是所有vpc间的访问控制规则
|
2526
|
-
# @type EdgeId: String
|
2527
|
-
|
2528
|
-
attr_accessor :EdgeId
|
2529
|
-
|
2530
|
-
def initialize(edgeid=nil)
|
2531
|
-
@EdgeId = edgeid
|
2532
|
-
end
|
2533
|
-
|
2534
|
-
def deserialize(params)
|
2535
|
-
@EdgeId = params['EdgeId']
|
2536
|
-
end
|
2537
|
-
end
|
2538
|
-
|
2539
|
-
# DescribeVpcRuleOverview返回参数结构体
|
2540
|
-
class DescribeVpcRuleOverviewResponse < TencentCloud::Common::AbstractModel
|
2541
|
-
# @param StrategyNum: 阻断策略规则数量
|
2542
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2543
|
-
# @type StrategyNum: Integer
|
2544
|
-
# @param StartRuleNum: 启用规则数量
|
2545
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2546
|
-
# @type StartRuleNum: Integer
|
2547
|
-
# @param Total: 规则总量
|
2548
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2549
|
-
# @type Total: Integer
|
2550
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2551
|
-
# @type RequestId: String
|
2552
|
-
|
2553
|
-
attr_accessor :StrategyNum, :StartRuleNum, :Total, :RequestId
|
2554
|
-
|
2555
|
-
def initialize(strategynum=nil, startrulenum=nil, total=nil, requestid=nil)
|
2556
|
-
@StrategyNum = strategynum
|
2557
|
-
@StartRuleNum = startrulenum
|
2558
|
-
@Total = total
|
2559
|
-
@RequestId = requestid
|
2560
|
-
end
|
2561
|
-
|
2562
|
-
def deserialize(params)
|
2563
|
-
@StrategyNum = params['StrategyNum']
|
2564
|
-
@StartRuleNum = params['StartRuleNum']
|
2565
|
-
@Total = params['Total']
|
2566
|
-
@RequestId = params['RequestId']
|
2567
|
-
end
|
2568
|
-
end
|
2569
|
-
|
2570
2523
|
# 设置nat防火墙的vpc dns 接入开关
|
2571
2524
|
class DnsVpcSwitch < TencentCloud::Common::AbstractModel
|
2572
2525
|
# @param VpcId: vpc id
|
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.414
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|