tencentcloud-sdk-cfw 3.0.928 → 3.0.929
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 +2 -0
- data/lib/v20190904/models.rb +67 -20
- 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: ad3681a8e9d2035ad06aa1b86b4165f1a0f55f24
|
|
4
|
+
data.tar.gz: e5001acdfad45a37f4e37f45eb2c76466457f732
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ff0d9ee55d3ba7c3cbf53f44436e8b8c48f01659888abdfa847db82eddef8ca7acfd1f05650d64ea35a5c618f973e858c51a0ca21e8e6c26e52ef6b538cd9de
|
|
7
|
+
data.tar.gz: 85648c24db1d562fd1dfec21ac24fd9bbe5dc42893969bd9b88ed68a7c4c6e876aba9b82928ee6035bf4f936c19822561c6a29f6594241db6930c355907193d8
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.929
|
data/lib/v20190904/client.rb
CHANGED
|
@@ -1541,6 +1541,8 @@ module TencentCloud
|
|
|
1541
1541
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1542
1542
|
end
|
|
1543
1543
|
|
|
1544
|
+
# 历史接口,已经废弃,产品有新的替代接口
|
|
1545
|
+
|
|
1544
1546
|
# 防火墙开关列表,已废弃,请使用DescribeFwEdgeIps
|
|
1545
1547
|
|
|
1546
1548
|
# @param request: Request instance for DescribeSwitchLists.
|
data/lib/v20190904/models.rb
CHANGED
|
@@ -613,7 +613,7 @@ module TencentCloud
|
|
|
613
613
|
|
|
614
614
|
# 入侵防御放通封禁规则
|
|
615
615
|
class BlockIgnoreRule < TencentCloud::Common::AbstractModel
|
|
616
|
-
# @param RuleType: 1
|
|
616
|
+
# @param RuleType: 规则类型,取值:1 封禁,2外部IP,3域名,4情报,5assets,6自定义策略,7入侵防御规则id (2-7属于白名单类型)
|
|
617
617
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
618
618
|
# @type RuleType: Integer
|
|
619
619
|
# @param Ioc: 规则ip或白名单内容
|
|
@@ -2889,15 +2889,15 @@ module TencentCloud
|
|
|
2889
2889
|
# @type Offset: Integer
|
|
2890
2890
|
# @param Limit: 条数,分页用
|
|
2891
2891
|
# @type Limit: Integer
|
|
2892
|
-
# @param By:
|
|
2892
|
+
# @param By: 排序字段,取值:UpdateTime最近更新时间,RulesNum关联规则数
|
|
2893
2893
|
# @type By: String
|
|
2894
|
-
# @param Order: 排序,取值
|
|
2894
|
+
# @param Order: 排序,取值 :asc正序,desc逆序
|
|
2895
2895
|
# @type Order: String
|
|
2896
2896
|
# @param SearchValue: 搜索值
|
|
2897
2897
|
# @type SearchValue: String
|
|
2898
2898
|
# @param Uuid: 检索地址模板唯一id
|
|
2899
2899
|
# @type Uuid: String
|
|
2900
|
-
# @param TemplateType: 1:ip模板,5:域名模板,6:协议端口模板
|
|
2900
|
+
# @param TemplateType: 模板类型,取值:1:ip模板,5:域名模板,6:协议端口模板
|
|
2901
2901
|
# @type TemplateType: String
|
|
2902
2902
|
# @param TemplateId: 模板Id
|
|
2903
2903
|
# @type TemplateId: String
|
|
@@ -3518,7 +3518,11 @@ module TencentCloud
|
|
|
3518
3518
|
# @type AllTotal: Integer
|
|
3519
3519
|
# @param Data: 规则列表
|
|
3520
3520
|
# @type Data: Array
|
|
3521
|
-
# @param Enable:
|
|
3521
|
+
# @param Enable: 规则列表整体启用状态
|
|
3522
|
+
# 取值范围 0/1/2
|
|
3523
|
+
# 0.表示没有启用的(可以批量启用)
|
|
3524
|
+
# 1.表示没有禁用的(可以批量禁用)
|
|
3525
|
+
# 2 表示混合情况(不可批量操作)
|
|
3522
3526
|
# @type Enable: Integer
|
|
3523
3527
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3524
3528
|
# @type RequestId: String
|
|
@@ -5635,24 +5639,57 @@ module TencentCloud
|
|
|
5635
5639
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5636
5640
|
# @type SourceId: String
|
|
5637
5641
|
# @param SourceType: 源规则类型
|
|
5642
|
+
# 取值范围 0/1/2/3/4/5/6/7/8/9/100
|
|
5643
|
+
# 0表示ip(net),
|
|
5644
|
+
# 1表示VPC实例(intance)
|
|
5645
|
+
# 2表示子网实例(intance)
|
|
5646
|
+
# 3表示CVM实例(intance)
|
|
5647
|
+
# 4表示CLB实例(intance)
|
|
5648
|
+
# 5表示ENI实例(intance)
|
|
5649
|
+
# 6表示数据库实例(intance)
|
|
5650
|
+
# 7表示模版(template)
|
|
5651
|
+
# 8表示标签(tag)
|
|
5652
|
+
# 9表示地域(region)
|
|
5653
|
+
# 100表示资产分组(resourcegroup)
|
|
5638
5654
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5639
5655
|
# @type SourceType: Integer
|
|
5640
5656
|
# @param TargetId: 目的规则内容
|
|
5641
5657
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5642
5658
|
# @type TargetId: String
|
|
5643
5659
|
# @param TargetType: 目的规则类型
|
|
5660
|
+
# 取值范围 0/1/2/3/4/5/6/7/8/9/100
|
|
5661
|
+
# 0表示ip(net),
|
|
5662
|
+
# 1表示VPC实例(intance)
|
|
5663
|
+
# 2表示子网实例(intance)
|
|
5664
|
+
# 3表示CVM实例(intance)
|
|
5665
|
+
# 4表示CLB实例(intance)
|
|
5666
|
+
# 5表示ENI实例(intance)
|
|
5667
|
+
# 6表示数据库实例(intance)
|
|
5668
|
+
# 7表示模版(template)
|
|
5669
|
+
# 8表示标签(tag)
|
|
5670
|
+
# 9表示地域(region)
|
|
5671
|
+
# 100表示资产分组(resourcegroup)
|
|
5644
5672
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5645
5673
|
# @type TargetType: Integer
|
|
5646
5674
|
# @param Protocol: 协议名称
|
|
5675
|
+
# 取值范围:TCP/ANY/ICMP/UDP
|
|
5676
|
+
# ANY:表示所有
|
|
5677
|
+
|
|
5647
5678
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5648
5679
|
# @type Protocol: String
|
|
5649
5680
|
# @param Port: 端口
|
|
5650
5681
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5651
5682
|
# @type Port: String
|
|
5652
|
-
# @param Strategy:
|
|
5683
|
+
# @param Strategy: 规则策略
|
|
5684
|
+
# 取值范围:1/2
|
|
5685
|
+
# 1:阻断
|
|
5686
|
+
# 2:放行
|
|
5653
5687
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5654
5688
|
# @type Strategy: Integer
|
|
5655
|
-
# @param Status:
|
|
5689
|
+
# @param Status: 规则启用状态
|
|
5690
|
+
# 取值范围: 0/1
|
|
5691
|
+
# 0:未开启
|
|
5692
|
+
# 1:开启
|
|
5656
5693
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5657
5694
|
# @type Status: Integer
|
|
5658
5695
|
# @param Detail: 描述
|
|
@@ -5661,13 +5698,18 @@ module TencentCloud
|
|
|
5661
5698
|
# @param AclTags: 标签
|
|
5662
5699
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5663
5700
|
# @type AclTags: String
|
|
5664
|
-
# @param IsNew:
|
|
5701
|
+
# @param IsNew: 规则最新一次是否有改动
|
|
5702
|
+
# 取值范围:0/1
|
|
5703
|
+
# 0:否
|
|
5704
|
+
# 1:是
|
|
5665
5705
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5666
5706
|
# @type IsNew: Integer
|
|
5667
5707
|
# @param Region: 地域
|
|
5668
5708
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5669
5709
|
# @type Region: String
|
|
5670
|
-
# @param IsDelay:
|
|
5710
|
+
# @param IsDelay: 是否延迟下发规则
|
|
5711
|
+
# 取值范围:0/1
|
|
5712
|
+
# 0:立即下发 1:延迟下发
|
|
5671
5713
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5672
5714
|
# @type IsDelay: Integer
|
|
5673
5715
|
# @param ServiceTemplateId: 服务模板id
|
|
@@ -5706,10 +5748,10 @@ module TencentCloud
|
|
|
5706
5748
|
# @param ProtocolPortName: 端口模板名称
|
|
5707
5749
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5708
5750
|
# @type ProtocolPortName: String
|
|
5709
|
-
# @param BetaList:
|
|
5751
|
+
# @param BetaList: 自动化任务信息
|
|
5710
5752
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5711
5753
|
# @type BetaList: Array
|
|
5712
|
-
# @param Id: 规则id
|
|
5754
|
+
# @param Id: 规则id 等同RuleUuid
|
|
5713
5755
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5714
5756
|
# @type Id: Integer
|
|
5715
5757
|
|
|
@@ -6278,20 +6320,20 @@ module TencentCloud
|
|
|
6278
6320
|
# @type IP: String
|
|
6279
6321
|
# @param Domain: 规则域名,IP与Domain必填其中之一
|
|
6280
6322
|
# @type Domain: String
|
|
6281
|
-
# @param Comment: 备注信息,长度不能超过50
|
|
6282
|
-
# @type Comment: String
|
|
6283
6323
|
# @param StartTime: 规则开始时间
|
|
6284
6324
|
# @type StartTime: String
|
|
6325
|
+
# @param Comment: 备注信息,长度不能超过50
|
|
6326
|
+
# @type Comment: String
|
|
6285
6327
|
|
|
6286
|
-
attr_accessor :Direction, :EndTime, :IP, :Domain, :
|
|
6328
|
+
attr_accessor :Direction, :EndTime, :IP, :Domain, :StartTime, :Comment
|
|
6287
6329
|
|
|
6288
|
-
def initialize(direction=nil, endtime=nil, ip=nil, domain=nil,
|
|
6330
|
+
def initialize(direction=nil, endtime=nil, ip=nil, domain=nil, starttime=nil, comment=nil)
|
|
6289
6331
|
@Direction = direction
|
|
6290
6332
|
@EndTime = endtime
|
|
6291
6333
|
@IP = ip
|
|
6292
6334
|
@Domain = domain
|
|
6293
|
-
@Comment = comment
|
|
6294
6335
|
@StartTime = starttime
|
|
6336
|
+
@Comment = comment
|
|
6295
6337
|
end
|
|
6296
6338
|
|
|
6297
6339
|
def deserialize(params)
|
|
@@ -6299,8 +6341,8 @@ module TencentCloud
|
|
|
6299
6341
|
@EndTime = params['EndTime']
|
|
6300
6342
|
@IP = params['IP']
|
|
6301
6343
|
@Domain = params['Domain']
|
|
6302
|
-
@Comment = params['Comment']
|
|
6303
6344
|
@StartTime = params['StartTime']
|
|
6345
|
+
@Comment = params['Comment']
|
|
6304
6346
|
end
|
|
6305
6347
|
end
|
|
6306
6348
|
|
|
@@ -6861,7 +6903,7 @@ module TencentCloud
|
|
|
6861
6903
|
|
|
6862
6904
|
# ModifyBlockIgnoreRule请求参数结构体
|
|
6863
6905
|
class ModifyBlockIgnoreRuleRequest < TencentCloud::Common::AbstractModel
|
|
6864
|
-
# @param Rule:
|
|
6906
|
+
# @param Rule: 规则列表
|
|
6865
6907
|
# @type Rule: :class:`Tencentcloud::Cfw.v20190904.models.IntrusionDefenseRule`
|
|
6866
6908
|
# @param RuleType: 规则类型,1封禁,2放通
|
|
6867
6909
|
# @type RuleType: Integer
|
|
@@ -9622,10 +9664,13 @@ module TencentCloud
|
|
|
9622
9664
|
# @param IPNum: 模板包含地址数量
|
|
9623
9665
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9624
9666
|
# @type IPNum: Integer
|
|
9667
|
+
# @param IpVersion: IP版本,0,IPv4;1,IPv6
|
|
9668
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9669
|
+
# @type IpVersion: Integer
|
|
9625
9670
|
|
|
9626
|
-
attr_accessor :Uuid, :Name, :Detail, :IpString, :InsertTime, :UpdateTime, :Type, :RulesNum, :TemplateId, :ProtocolType, :IPNum
|
|
9671
|
+
attr_accessor :Uuid, :Name, :Detail, :IpString, :InsertTime, :UpdateTime, :Type, :RulesNum, :TemplateId, :ProtocolType, :IPNum, :IpVersion
|
|
9627
9672
|
|
|
9628
|
-
def initialize(uuid=nil, name=nil, detail=nil, ipstring=nil, inserttime=nil, updatetime=nil, type=nil, rulesnum=nil, templateid=nil, protocoltype=nil, ipnum=nil)
|
|
9673
|
+
def initialize(uuid=nil, name=nil, detail=nil, ipstring=nil, inserttime=nil, updatetime=nil, type=nil, rulesnum=nil, templateid=nil, protocoltype=nil, ipnum=nil, ipversion=nil)
|
|
9629
9674
|
@Uuid = uuid
|
|
9630
9675
|
@Name = name
|
|
9631
9676
|
@Detail = detail
|
|
@@ -9637,6 +9682,7 @@ module TencentCloud
|
|
|
9637
9682
|
@TemplateId = templateid
|
|
9638
9683
|
@ProtocolType = protocoltype
|
|
9639
9684
|
@IPNum = ipnum
|
|
9685
|
+
@IpVersion = ipversion
|
|
9640
9686
|
end
|
|
9641
9687
|
|
|
9642
9688
|
def deserialize(params)
|
|
@@ -9651,6 +9697,7 @@ module TencentCloud
|
|
|
9651
9697
|
@TemplateId = params['TemplateId']
|
|
9652
9698
|
@ProtocolType = params['ProtocolType']
|
|
9653
9699
|
@IPNum = params['IPNum']
|
|
9700
|
+
@IpVersion = params['IpVersion']
|
|
9654
9701
|
end
|
|
9655
9702
|
end
|
|
9656
9703
|
|
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.929
|
|
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-10-
|
|
11
|
+
date: 2024-10-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|