tencentcloud-sdk-cfw 1.0.239 → 1.0.243
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 +25 -1
- data/lib/v20190904/models.rb +56 -6
- 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: 8cc27599d2774634323e7c39f40c2a1ed44584c5
|
|
4
|
+
data.tar.gz: 125016ca8a45803696a006c41d4080c3d34c0b27
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e92af91921db1a858ec73d2ccf25f71f5fd8d5f0b18b4a55782be84d0cef8566cf20a8bf32f1f2284c2546abd82d47eb08a2f576fd0a601581b2666b03e0d29
|
|
7
|
+
data.tar.gz: df7c4d9f032f7246c71114d6d34149326295a3ad62018db0f8343d73d5f72bb2606eae75c76149f238ed712b1bf90d974022791bc3f3c7ec0ea856d1b7a6c7c5
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.243
|
data/lib/v20190904/client.rb
CHANGED
|
@@ -437,7 +437,7 @@ module TencentCloud
|
|
|
437
437
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
438
438
|
end
|
|
439
439
|
|
|
440
|
-
#
|
|
440
|
+
# 获取地址模板列表
|
|
441
441
|
|
|
442
442
|
# @param request: Request instance for DescribeAddrTemplateList.
|
|
443
443
|
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeAddrTemplateListRequest`
|
|
@@ -1401,6 +1401,30 @@ module TencentCloud
|
|
|
1401
1401
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1402
1402
|
end
|
|
1403
1403
|
|
|
1404
|
+
# 同步资产-互联网&VPC(新)
|
|
1405
|
+
|
|
1406
|
+
# @param request: Request instance for ModifyRunSyncAsset.
|
|
1407
|
+
# @type request: :class:`Tencentcloud::cfw::V20190904::ModifyRunSyncAssetRequest`
|
|
1408
|
+
# @rtype: :class:`Tencentcloud::cfw::V20190904::ModifyRunSyncAssetResponse`
|
|
1409
|
+
def ModifyRunSyncAsset(request)
|
|
1410
|
+
body = send_request('ModifyRunSyncAsset', request.serialize)
|
|
1411
|
+
response = JSON.parse(body)
|
|
1412
|
+
if response['Response'].key?('Error') == false
|
|
1413
|
+
model = ModifyRunSyncAssetResponse.new
|
|
1414
|
+
model.deserialize(response['Response'])
|
|
1415
|
+
model
|
|
1416
|
+
else
|
|
1417
|
+
code = response['Response']['Error']['Code']
|
|
1418
|
+
message = response['Response']['Error']['Message']
|
|
1419
|
+
reqid = response['Response']['RequestId']
|
|
1420
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1421
|
+
end
|
|
1422
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1423
|
+
raise e
|
|
1424
|
+
rescue StandardError => e
|
|
1425
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1426
|
+
end
|
|
1427
|
+
|
|
1404
1428
|
# 启用停用全部规则
|
|
1405
1429
|
|
|
1406
1430
|
# @param request: Request instance for ModifySecurityGroupAllRuleStatus.
|
data/lib/v20190904/models.rb
CHANGED
|
@@ -584,16 +584,20 @@ module TencentCloud
|
|
|
584
584
|
|
|
585
585
|
# CreateNatFwInstance返回参数结构体
|
|
586
586
|
class CreateNatFwInstanceResponse < TencentCloud::Common::AbstractModel
|
|
587
|
+
# @param CfwInsId: 防火墙实例id
|
|
588
|
+
# @type CfwInsId: String
|
|
587
589
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
588
590
|
# @type RequestId: String
|
|
589
591
|
|
|
590
|
-
attr_accessor :RequestId
|
|
592
|
+
attr_accessor :CfwInsId, :RequestId
|
|
591
593
|
|
|
592
|
-
def initialize(requestid=nil)
|
|
594
|
+
def initialize(cfwinsid=nil, requestid=nil)
|
|
595
|
+
@CfwInsId = cfwinsid
|
|
593
596
|
@RequestId = requestid
|
|
594
597
|
end
|
|
595
598
|
|
|
596
599
|
def deserialize(params)
|
|
600
|
+
@CfwInsId = params['CfwInsId']
|
|
597
601
|
@RequestId = params['RequestId']
|
|
598
602
|
end
|
|
599
603
|
end
|
|
@@ -655,16 +659,21 @@ module TencentCloud
|
|
|
655
659
|
|
|
656
660
|
# CreateNatFwInstanceWithDomain返回参数结构体
|
|
657
661
|
class CreateNatFwInstanceWithDomainResponse < TencentCloud::Common::AbstractModel
|
|
662
|
+
# @param CfwInsId: nat实例信息
|
|
663
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
664
|
+
# @type CfwInsId: String
|
|
658
665
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
659
666
|
# @type RequestId: String
|
|
660
667
|
|
|
661
|
-
attr_accessor :RequestId
|
|
668
|
+
attr_accessor :CfwInsId, :RequestId
|
|
662
669
|
|
|
663
|
-
def initialize(requestid=nil)
|
|
670
|
+
def initialize(cfwinsid=nil, requestid=nil)
|
|
671
|
+
@CfwInsId = cfwinsid
|
|
664
672
|
@RequestId = requestid
|
|
665
673
|
end
|
|
666
674
|
|
|
667
675
|
def deserialize(params)
|
|
676
|
+
@CfwInsId = params['CfwInsId']
|
|
668
677
|
@RequestId = params['RequestId']
|
|
669
678
|
end
|
|
670
679
|
end
|
|
@@ -2703,20 +2712,25 @@ module TencentCloud
|
|
|
2703
2712
|
# @param StartRuleNum: 启用规则数量
|
|
2704
2713
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2705
2714
|
# @type StartRuleNum: Integer
|
|
2715
|
+
# @param Total: 规则总量
|
|
2716
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2717
|
+
# @type Total: Integer
|
|
2706
2718
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2707
2719
|
# @type RequestId: String
|
|
2708
2720
|
|
|
2709
|
-
attr_accessor :StrategyNum, :StartRuleNum, :RequestId
|
|
2721
|
+
attr_accessor :StrategyNum, :StartRuleNum, :Total, :RequestId
|
|
2710
2722
|
|
|
2711
|
-
def initialize(strategynum=nil, startrulenum=nil, requestid=nil)
|
|
2723
|
+
def initialize(strategynum=nil, startrulenum=nil, total=nil, requestid=nil)
|
|
2712
2724
|
@StrategyNum = strategynum
|
|
2713
2725
|
@StartRuleNum = startrulenum
|
|
2726
|
+
@Total = total
|
|
2714
2727
|
@RequestId = requestid
|
|
2715
2728
|
end
|
|
2716
2729
|
|
|
2717
2730
|
def deserialize(params)
|
|
2718
2731
|
@StrategyNum = params['StrategyNum']
|
|
2719
2732
|
@StartRuleNum = params['StartRuleNum']
|
|
2733
|
+
@Total = params['Total']
|
|
2720
2734
|
@RequestId = params['RequestId']
|
|
2721
2735
|
end
|
|
2722
2736
|
end
|
|
@@ -3586,6 +3600,42 @@ module TencentCloud
|
|
|
3586
3600
|
end
|
|
3587
3601
|
end
|
|
3588
3602
|
|
|
3603
|
+
# ModifyRunSyncAsset请求参数结构体
|
|
3604
|
+
class ModifyRunSyncAssetRequest < TencentCloud::Common::AbstractModel
|
|
3605
|
+
# @param Type: 0: 互联网防火墙开关,1:vpc 防火墙开关
|
|
3606
|
+
# @type Type: Integer
|
|
3607
|
+
|
|
3608
|
+
attr_accessor :Type
|
|
3609
|
+
|
|
3610
|
+
def initialize(type=nil)
|
|
3611
|
+
@Type = type
|
|
3612
|
+
end
|
|
3613
|
+
|
|
3614
|
+
def deserialize(params)
|
|
3615
|
+
@Type = params['Type']
|
|
3616
|
+
end
|
|
3617
|
+
end
|
|
3618
|
+
|
|
3619
|
+
# ModifyRunSyncAsset返回参数结构体
|
|
3620
|
+
class ModifyRunSyncAssetResponse < TencentCloud::Common::AbstractModel
|
|
3621
|
+
# @param Status: 0:同步成功,1:资产更新中,2:后台同步调用失败
|
|
3622
|
+
# @type Status: Integer
|
|
3623
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3624
|
+
# @type RequestId: String
|
|
3625
|
+
|
|
3626
|
+
attr_accessor :Status, :RequestId
|
|
3627
|
+
|
|
3628
|
+
def initialize(status=nil, requestid=nil)
|
|
3629
|
+
@Status = status
|
|
3630
|
+
@RequestId = requestid
|
|
3631
|
+
end
|
|
3632
|
+
|
|
3633
|
+
def deserialize(params)
|
|
3634
|
+
@Status = params['Status']
|
|
3635
|
+
@RequestId = params['RequestId']
|
|
3636
|
+
end
|
|
3637
|
+
end
|
|
3638
|
+
|
|
3589
3639
|
# ModifySecurityGroupAllRuleStatus请求参数结构体
|
|
3590
3640
|
class ModifySecurityGroupAllRuleStatusRequest < TencentCloud::Common::AbstractModel
|
|
3591
3641
|
# @param Status: 列表规则状态,0:全部停用,1:全部启用
|
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: 1.0.
|
|
4
|
+
version: 1.0.243
|
|
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-01-
|
|
11
|
+
date: 2022-01-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|