tencentcloud-sdk-cfw 3.0.933 → 3.0.935

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.
@@ -22,73 +22,52 @@ module TencentCloud
22
22
  # @param Id: 规则id
23
23
  # @type Id: Integer
24
24
  # @param SourceIp: 访问源
25
- # 注意:此字段可能返回 null,表示取不到有效值。
26
25
  # @type SourceIp: String
27
26
  # @param TargetIp: 访问目的
28
- # 注意:此字段可能返回 null,表示取不到有效值。
29
27
  # @type TargetIp: String
30
28
  # @param Protocol: 协议
31
- # 注意:此字段可能返回 null,表示取不到有效值。
32
29
  # @type Protocol: String
33
30
  # @param Port: 端口
34
- # 注意:此字段可能返回 null,表示取不到有效值。
35
31
  # @type Port: String
36
32
  # @param Strategy: 策略
37
- # 注意:此字段可能返回 null,表示取不到有效值。
38
33
  # @type Strategy: Integer
39
34
  # @param Detail: 描述
40
- # 注意:此字段可能返回 null,表示取不到有效值。
41
35
  # @type Detail: String
42
36
  # @param Count: 命中次数
43
37
  # @type Count: Integer
44
38
  # @param OrderIndex: 执行顺序
45
39
  # @type OrderIndex: Integer
46
40
  # @param LogId: 告警规则id
47
- # 注意:此字段可能返回 null,表示取不到有效值。
48
41
  # @type LogId: String
49
42
  # @param Status: 规则开关状态 1打开 0关闭
50
- # 注意:此字段可能返回 null,表示取不到有效值。
51
43
  # @type Status: Integer
52
44
  # @param SrcType: 规则源类型
53
- # 注意:此字段可能返回 null,表示取不到有效值。
54
45
  # @type SrcType: Integer
55
46
  # @param DstType: 规则目的类型
56
- # 注意:此字段可能返回 null,表示取不到有效值。
57
47
  # @type DstType: Integer
58
48
  # @param Uuid: 规则唯一ID
59
- # 注意:此字段可能返回 null,表示取不到有效值。
60
49
  # @type Uuid: String
61
50
  # @param Invalid: 规则有效性
62
51
  # 1 有效
63
52
  # 0 无效
64
- # 注意:此字段可能返回 null,表示取不到有效值。
65
53
  # @type Invalid: Integer
66
54
  # @param IsRegion: 是否地域规则
67
- # 注意:此字段可能返回 null,表示取不到有效值。
68
55
  # @type IsRegion: Integer
69
56
  # @param CloudCode: 云厂商代码
70
- # 注意:此字段可能返回 null,表示取不到有效值。
71
57
  # @type CloudCode: String
72
58
  # @param AutoTask: 自动化助手信息
73
- # 注意:此字段可能返回 null,表示取不到有效值。
74
59
  # @type AutoTask: String
75
60
  # @param InstanceName: 实例名称
76
- # 注意:此字段可能返回 null,表示取不到有效值。
77
61
  # @type InstanceName: String
78
62
  # @param RegionCode: 地域码信息
79
- # 注意:此字段可能返回 null,表示取不到有效值。
80
63
  # @type RegionCode: String
81
64
  # @param Country: 国家代码
82
- # 注意:此字段可能返回 null,表示取不到有效值。
83
65
  # @type Country: Integer
84
66
  # @param City: 城市代码
85
- # 注意:此字段可能返回 null,表示取不到有效值。
86
67
  # @type City: Integer
87
68
  # @param RegName1: 国家名称
88
- # 注意:此字段可能返回 null,表示取不到有效值。
89
69
  # @type RegName1: String
90
70
  # @param RegName2: 城市名称
91
- # 注意:此字段可能返回 null,表示取不到有效值。
92
71
  # @type RegName2: String
93
72
 
94
73
  attr_accessor :Id, :SourceIp, :TargetIp, :Protocol, :Port, :Strategy, :Detail, :Count, :OrderIndex, :LogId, :Status, :SrcType, :DstType, :Uuid, :Invalid, :IsRegion, :CloudCode, :AutoTask, :InstanceName, :RegionCode, :Country, :City, :RegName1, :RegName2
@@ -345,7 +324,7 @@ module TencentCloud
345
324
  # @type IsDelay: Integer
346
325
  # @param From: 来源 默认空 覆盖导入是 batch_import_cover
347
326
  # @type From: String
348
- # @param IsUseId: 是否使用id 默认不需要
327
+ # @param IsUseId: 是否复用rule id,1为是,默认不需要
349
328
  # @type IsUseId: Integer
350
329
 
351
330
  attr_accessor :Data, :Type, :ClientToken, :IsDelay, :From, :IsUseId
@@ -380,8 +359,7 @@ module TencentCloud
380
359
  class AddEnterpriseSecurityGroupRulesResponse < TencentCloud::Common::AbstractModel
381
360
  # @param Status: 状态值,0:添加成功,非0:添加失败
382
361
  # @type Status: Integer
383
- # @param Rules: 规则uuid
384
- # 注意:此字段可能返回 null,表示取不到有效值。
362
+ # @param Rules: 添加成功的规则详情
385
363
  # @type Rules: Array
386
364
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
387
365
  # @type RequestId: String
@@ -525,34 +503,24 @@ module TencentCloud
525
503
  # 企业安全组关联实例信息
526
504
  class AssociatedInstanceInfo < TencentCloud::Common::AbstractModel
527
505
  # @param InstanceId: 实例ID
528
- # 注意:此字段可能返回 null,表示取不到有效值。
529
506
  # @type InstanceId: String
530
507
  # @param InstanceName: 实例名称
531
- # 注意:此字段可能返回 null,表示取不到有效值。
532
508
  # @type InstanceName: String
533
509
  # @param Type: 实例类型,3是cvm实例,4是clb实例,5是eni实例,6是云数据库
534
- # 注意:此字段可能返回 null,表示取不到有效值。
535
510
  # @type Type: Integer
536
511
  # @param VpcId: 私有网络ID
537
- # 注意:此字段可能返回 null,表示取不到有效值。
538
512
  # @type VpcId: String
539
513
  # @param VpcName: 私有网络名称
540
- # 注意:此字段可能返回 null,表示取不到有效值。
541
514
  # @type VpcName: String
542
515
  # @param PublicIp: 公网IP
543
- # 注意:此字段可能返回 null,表示取不到有效值。
544
516
  # @type PublicIp: String
545
517
  # @param Ip: 内网IP
546
- # 注意:此字段可能返回 null,表示取不到有效值。
547
518
  # @type Ip: String
548
519
  # @param SecurityGroupCount: 关联安全组数量
549
- # 注意:此字段可能返回 null,表示取不到有效值。
550
520
  # @type SecurityGroupCount: Integer
551
521
  # @param SecurityGroupRuleCount: 关联安全组规则数量
552
- # 注意:此字段可能返回 null,表示取不到有效值。
553
522
  # @type SecurityGroupRuleCount: Integer
554
523
  # @param CdbId: 关联数据库代理Id
555
- # 注意:此字段可能返回 null,表示取不到有效值。
556
524
  # @type CdbId: String
557
525
 
558
526
  attr_accessor :InstanceId, :InstanceName, :Type, :VpcId, :VpcName, :PublicIp, :Ip, :SecurityGroupCount, :SecurityGroupRuleCount, :CdbId
@@ -586,59 +554,51 @@ module TencentCloud
586
554
 
587
555
  # 封禁列表和放通列表结构体
588
556
  class BanAndAllowRule < TencentCloud::Common::AbstractModel
589
- # @param Ioc: 封禁和放通对象
590
- # 注意:此字段可能返回 null,表示取不到有效值。
591
- # @type Ioc: String
592
- # @param DirectionList: 0互联网出站 1互联网入站 5内网访问源 6内网访问目的
593
- # 注意:此字段可能返回 null,表示取不到有效值。
594
- # @type DirectionList: String
595
- # @param EndTime: 规则截止时间
596
- # 注意:此字段可能返回 null,表示取不到有效值。
597
- # @type EndTime: String
598
557
  # @param Comment: 规则评论
599
- # 注意:此字段可能返回 null,表示取不到有效值。
600
558
  # @type Comment: String
601
559
  # @param CustomRule: 自定义白名单规则
602
- # 注意:此字段可能返回 null,表示取不到有效值。
603
560
  # @type CustomRule: :class:`Tencentcloud::Cfw.v20190904.models.CustomWhiteRule`
561
+ # @param DirectionList: 0互联网出站 1互联网入站 5内网访问源 6内网访问目的
562
+ # @type DirectionList: String
563
+ # @param EndTime: 规则截止时间
564
+ # @type EndTime: String
604
565
  # @param FwType: 放通的引擎: 1针对互联网边界 2针对nat防火墙 4针对vpc防火墙
605
- # 注意:此字段可能返回 null,表示取不到有效值。
606
566
  # @type FwType: Integer
567
+ # @param Ioc: 封禁和放通对象
568
+ # @type Ioc: String
607
569
 
608
- attr_accessor :Ioc, :DirectionList, :EndTime, :Comment, :CustomRule, :FwType
570
+ attr_accessor :Comment, :CustomRule, :DirectionList, :EndTime, :FwType, :Ioc
609
571
 
610
- def initialize(ioc=nil, directionlist=nil, endtime=nil, comment=nil, customrule=nil, fwtype=nil)
611
- @Ioc = ioc
612
- @DirectionList = directionlist
613
- @EndTime = endtime
572
+ def initialize(comment=nil, customrule=nil, directionlist=nil, endtime=nil, fwtype=nil, ioc=nil)
614
573
  @Comment = comment
615
574
  @CustomRule = customrule
575
+ @DirectionList = directionlist
576
+ @EndTime = endtime
616
577
  @FwType = fwtype
578
+ @Ioc = ioc
617
579
  end
618
580
 
619
581
  def deserialize(params)
620
- @Ioc = params['Ioc']
621
- @DirectionList = params['DirectionList']
622
- @EndTime = params['EndTime']
623
582
  @Comment = params['Comment']
624
583
  unless params['CustomRule'].nil?
625
584
  @CustomRule = CustomWhiteRule.new
626
585
  @CustomRule.deserialize(params['CustomRule'])
627
586
  end
587
+ @DirectionList = params['DirectionList']
588
+ @EndTime = params['EndTime']
628
589
  @FwType = params['FwType']
590
+ @Ioc = params['Ioc']
629
591
  end
630
592
  end
631
593
 
632
594
  # 封禁列表和放通列表结构体
633
595
  class BanAndAllowRuleDel < TencentCloud::Common::AbstractModel
634
596
  # @param Ioc: 封禁和放通对象
635
- # 注意:此字段可能返回 null,表示取不到有效值。
636
597
  # @type Ioc: String
637
598
  # @param DirectionList: 0互联网出站 1互联网入站 5内网访问源 6内网访问目的 (DeleteBlockIgnoreRuleNew接口,该字段无效)
638
- # 注意:此字段可能返回 null,表示取不到有效值。
639
599
  # @type DirectionList: String
640
600
  # @param RuleType: 规则类型
641
- # 注意:此字段可能返回 null,表示取不到有效值。
601
+ # RuleType: 1黑名单 2外部IP 3域名 4情报 5资产 6自定义规则 7入侵防御规则
642
602
  # @type RuleType: Integer
643
603
 
644
604
  attr_accessor :Ioc, :DirectionList, :RuleType
@@ -659,13 +619,10 @@ module TencentCloud
659
619
  # 规则关联的beta任务
660
620
  class BetaInfoByACL < TencentCloud::Common::AbstractModel
661
621
  # @param TaskId: 任务id
662
- # 注意:此字段可能返回 null,表示取不到有效值。
663
622
  # @type TaskId: Integer
664
623
  # @param TaskName: 任务名称
665
- # 注意:此字段可能返回 null,表示取不到有效值。
666
624
  # @type TaskName: String
667
625
  # @param LastTime: 上次执行时间
668
- # 注意:此字段可能返回 null,表示取不到有效值。
669
626
  # @type LastTime: String
670
627
 
671
628
  attr_accessor :TaskId, :TaskName, :LastTime
@@ -686,76 +643,52 @@ module TencentCloud
686
643
  # 入侵防御放通封禁规则
687
644
  class BlockIgnoreRule < TencentCloud::Common::AbstractModel
688
645
  # @param RuleType: 规则类型,取值:1 封禁,2外部IP,3域名,4情报,5assets,6自定义策略,7入侵防御规则id (2-7属于白名单类型)
689
- # 注意:此字段可能返回 null,表示取不到有效值。
690
646
  # @type RuleType: Integer
691
647
  # @param Ioc: 规则ip或白名单内容
692
- # 注意:此字段可能返回 null,表示取不到有效值。
693
648
  # @type Ioc: String
694
649
  # @param IocName: 资产实例名称、自定义策略名称等
695
- # 注意:此字段可能返回 null,表示取不到有效值。
696
650
  # @type IocName: String
697
651
  # @param IocInfo: 白名单信息
698
- # 注意:此字段可能返回 null,表示取不到有效值。
699
652
  # @type IocInfo: String
700
653
  # @param Domain: 域名
701
- # 注意:此字段可能返回 null,表示取不到有效值。
702
654
  # @type Domain: String
703
655
  # @param IP: IP
704
- # 注意:此字段可能返回 null,表示取不到有效值。
705
656
  # @type IP: String
706
657
  # @param Level: 危险等级
707
- # 注意:此字段可能返回 null,表示取不到有效值。
708
658
  # @type Level: String
709
659
  # @param EventName: 来源事件名称
710
- # 注意:此字段可能返回 null,表示取不到有效值。
711
660
  # @type EventName: String
712
661
  # @param Direction: 方向:1入站,0出站
713
- # 注意:此字段可能返回 null,表示取不到有效值。
714
662
  # @type Direction: Integer
715
663
  # @param DirectionList: 所有方向聚合成字符串
716
- # 注意:此字段可能返回 null,表示取不到有效值。
717
664
  # @type DirectionList: String
718
665
  # @param Protocol: 协议
719
- # 注意:此字段可能返回 null,表示取不到有效值。
720
666
  # @type Protocol: String
721
667
  # @param Address: 地理位置
722
- # 注意:此字段可能返回 null,表示取不到有效值。
723
668
  # @type Address: String
724
669
  # @param Action: 规则类型:1封禁,2放通
725
- # 注意:此字段可能返回 null,表示取不到有效值。
726
670
  # @type Action: Integer
727
671
  # @param StartTime: 规则生效开始时间
728
- # 注意:此字段可能返回 null,表示取不到有效值。
729
672
  # @type StartTime: String
730
673
  # @param EndTime: 规则生效结束时间
731
- # 注意:此字段可能返回 null,表示取不到有效值。
732
674
  # @type EndTime: String
733
675
  # @param IgnoreReason: 忽略原因
734
- # 注意:此字段可能返回 null,表示取不到有效值。
735
676
  # @type IgnoreReason: String
736
677
  # @param Source: 安全事件来源
737
- # 注意:此字段可能返回 null,表示取不到有效值。
738
678
  # @type Source: String
739
679
  # @param UniqueId: 规则id
740
- # 注意:此字段可能返回 null,表示取不到有效值。
741
680
  # @type UniqueId: String
742
681
  # @param MatchTimes: 规则命中次数
743
- # 注意:此字段可能返回 null,表示取不到有效值。
744
682
  # @type MatchTimes: Integer
745
683
  # @param Country: 国家
746
- # 注意:此字段可能返回 null,表示取不到有效值。
747
684
  # @type Country: String
748
685
  # @param Comment: 备注
749
- # 注意:此字段可能返回 null,表示取不到有效值。
750
686
  # @type Comment: String
751
687
  # @param LastHitTime: 上次命中时间
752
- # 注意:此字段可能返回 null,表示取不到有效值。
753
688
  # @type LastHitTime: String
754
689
  # @param CustomRule: 自定义规则细节
755
- # 注意:此字段可能返回 null,表示取不到有效值。
756
690
  # @type CustomRule: :class:`Tencentcloud::Cfw.v20190904.models.CustomWhiteRule`
757
691
  # @param FwType: 1 border 2 nat 4 vpc 8 border-serial
758
- # 注意:此字段可能返回 null,表示取不到有效值。
759
692
  # @type FwType: Integer
760
693
 
761
694
  attr_accessor :RuleType, :Ioc, :IocName, :IocInfo, :Domain, :IP, :Level, :EventName, :Direction, :DirectionList, :Protocol, :Address, :Action, :StartTime, :EndTime, :IgnoreReason, :Source, :UniqueId, :MatchTimes, :Country, :Comment, :LastHitTime, :CustomRule, :FwType
@@ -858,8 +791,6 @@ module TencentCloud
858
791
  class CommonFilter < TencentCloud::Common::AbstractModel
859
792
  # @param Name: 检索的键值
860
793
  # @type Name: String
861
- # @param Values: 检索的值,各检索值间为OR关系
862
- # @type Values: Array
863
794
  # @param OperatorType: 枚举类型,代表Name与Values之间的匹配关系
864
795
  # enum FilterOperatorType {
865
796
  # //等于
@@ -880,19 +811,21 @@ module TencentCloud
880
811
  # FILTER_OPERATOR_TYPE_FUZZINESS = 9;
881
812
  # }
882
813
  # @type OperatorType: Integer
814
+ # @param Values: 检索的值,各检索值间为OR关系
815
+ # @type Values: Array
883
816
 
884
- attr_accessor :Name, :Values, :OperatorType
817
+ attr_accessor :Name, :OperatorType, :Values
885
818
 
886
- def initialize(name=nil, values=nil, operatortype=nil)
819
+ def initialize(name=nil, operatortype=nil, values=nil)
887
820
  @Name = name
888
- @Values = values
889
821
  @OperatorType = operatortype
822
+ @Values = values
890
823
  end
891
824
 
892
825
  def deserialize(params)
893
826
  @Name = params['Name']
894
- @Values = params['Values']
895
827
  @OperatorType = params['OperatorType']
828
+ @Values = params['Values']
896
829
  end
897
830
  end
898
831
 
@@ -952,7 +885,6 @@ module TencentCloud
952
885
  # @param Status: 状态值,0:操作成功
953
886
  # @type Status: Integer
954
887
  # @param Info: 返回多余的信息
955
- # 注意:此字段可能返回 null,表示取不到有效值。
956
888
  # @type Info: String
957
889
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
958
890
  # @type RequestId: String
@@ -1659,7 +1591,6 @@ module TencentCloud
1659
1591
  # CreateNatFwInstanceWithDomain返回参数结构体
1660
1592
  class CreateNatFwInstanceWithDomainResponse < TencentCloud::Common::AbstractModel
1661
1593
  # @param CfwInsId: nat实例信息
1662
- # 注意:此字段可能返回 null,表示取不到有效值。
1663
1594
  # @type CfwInsId: String
1664
1595
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1665
1596
  # @type RequestId: String
@@ -1947,7 +1878,6 @@ module TencentCloud
1947
1878
  # CreateVpcFwGroup返回参数结构体
1948
1879
  class CreateVpcFwGroupResponse < TencentCloud::Common::AbstractModel
1949
1880
  # @param FwGroupId: 防火墙组ID
1950
- # 注意:此字段可能返回 null,表示取不到有效值。
1951
1881
  # @type FwGroupId: String
1952
1882
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1953
1883
  # @type RequestId: String
@@ -1967,33 +1897,29 @@ module TencentCloud
1967
1897
 
1968
1898
  # 自定义白名单规则
1969
1899
  class CustomWhiteRule < TencentCloud::Common::AbstractModel
1970
- # @param SrcIP: 访问源
1971
- # 注意:此字段可能返回 null,表示取不到有效值。
1972
- # @type SrcIP: String
1973
1900
  # @param DstIP: 访问目的
1974
- # 注意:此字段可能返回 null,表示取不到有效值。
1975
1901
  # @type DstIP: String
1976
- # @param IdsRuleName: 规则名称
1977
- # 注意:此字段可能返回 null,表示取不到有效值。
1978
- # @type IdsRuleName: String
1979
1902
  # @param IdsRuleId: 规则ID
1980
- # 注意:此字段可能返回 null,表示取不到有效值。
1981
1903
  # @type IdsRuleId: String
1904
+ # @param IdsRuleName: 规则名称
1905
+ # @type IdsRuleName: String
1906
+ # @param SrcIP: 访问源
1907
+ # @type SrcIP: String
1982
1908
 
1983
- attr_accessor :SrcIP, :DstIP, :IdsRuleName, :IdsRuleId
1909
+ attr_accessor :DstIP, :IdsRuleId, :IdsRuleName, :SrcIP
1984
1910
 
1985
- def initialize(srcip=nil, dstip=nil, idsrulename=nil, idsruleid=nil)
1986
- @SrcIP = srcip
1911
+ def initialize(dstip=nil, idsruleid=nil, idsrulename=nil, srcip=nil)
1987
1912
  @DstIP = dstip
1988
- @IdsRuleName = idsrulename
1989
1913
  @IdsRuleId = idsruleid
1914
+ @IdsRuleName = idsrulename
1915
+ @SrcIP = srcip
1990
1916
  end
1991
1917
 
1992
1918
  def deserialize(params)
1993
- @SrcIP = params['SrcIP']
1994
1919
  @DstIP = params['DstIP']
1995
- @IdsRuleName = params['IdsRuleName']
1996
1920
  @IdsRuleId = params['IdsRuleId']
1921
+ @IdsRuleName = params['IdsRuleName']
1922
+ @SrcIP = params['SrcIP']
1997
1923
  end
1998
1924
  end
1999
1925
 
@@ -2094,7 +2020,6 @@ module TencentCloud
2094
2020
  # @param Status: 状态值 0: 删除成功, !0: 删除失败
2095
2021
  # @type Status: Integer
2096
2022
  # @param Info: 返回多余的信息
2097
- # 注意:此字段可能返回 null,表示取不到有效值。
2098
2023
  # @type Info: String
2099
2024
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2100
2025
  # @type RequestId: String
@@ -2179,7 +2104,6 @@ module TencentCloud
2179
2104
  # @param Status: 状态值 0: 修改成功, 非0: 修改失败
2180
2105
  # @type Status: Integer
2181
2106
  # @param Info: 删除了几条访问控制规则
2182
- # 注意:此字段可能返回 null,表示取不到有效值。
2183
2107
  # @type Info: Integer
2184
2108
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2185
2109
  # @type RequestId: String
@@ -2478,7 +2402,6 @@ module TencentCloud
2478
2402
  # @param Status: 状态值,0:成功,非0:失败
2479
2403
  # @type Status: Integer
2480
2404
  # @param Info: 返回多余的信息
2481
- # 注意:此字段可能返回 null,表示取不到有效值。
2482
2405
  # @type Info: String
2483
2406
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2484
2407
  # @type RequestId: String
@@ -2543,102 +2466,71 @@ module TencentCloud
2543
2466
  # 访问控制列表对象
2544
2467
  class DescAcItem < TencentCloud::Common::AbstractModel
2545
2468
  # @param SourceContent: 访问源
2546
- # 注意:此字段可能返回 null,表示取不到有效值。
2547
2469
  # @type SourceContent: String
2548
2470
  # @param TargetContent: 访问目的
2549
- # 注意:此字段可能返回 null,表示取不到有效值。
2550
2471
  # @type TargetContent: String
2551
2472
  # @param Protocol: 协议
2552
- # 注意:此字段可能返回 null,表示取不到有效值。
2553
2473
  # @type Protocol: String
2554
2474
  # @param Port: 端口
2555
- # 注意:此字段可能返回 null,表示取不到有效值。
2556
2475
  # @type Port: String
2557
2476
  # @param RuleAction: 访问控制策略中设置的流量通过云防火墙的方式。取值: accept:放行 drop:拒绝 log:观察
2558
- # 注意:此字段可能返回 null,表示取不到有效值。
2559
2477
  # @type RuleAction: String
2560
2478
  # @param Description: 描述
2561
- # 注意:此字段可能返回 null,表示取不到有效值。
2562
2479
  # @type Description: String
2563
2480
  # @param Count: 命中次数
2564
2481
  # @type Count: Integer
2565
2482
  # @param OrderIndex: 执行顺序
2566
2483
  # @type OrderIndex: Integer
2567
2484
  # @param SourceType: 访问源类型:入向规则时类型可以为 ip,net,template,location;出向规则时可以为 ip,net,template,instance,group,tag
2568
- # 注意:此字段可能返回 null,表示取不到有效值。
2569
2485
  # @type SourceType: String
2570
2486
  # @param TargetType: 访问目的类型:入向规则时类型可以为ip,net,template,instance,group,tag;出向规则时可以为 ip,net,domain,template,location,dnsparse
2571
- # 注意:此字段可能返回 null,表示取不到有效值。
2572
2487
  # @type TargetType: String
2573
2488
  # @param Uuid: 规则对应的唯一id
2574
- # 注意:此字段可能返回 null,表示取不到有效值。
2575
2489
  # @type Uuid: Integer
2576
2490
  # @param Invalid: 规则有效性
2577
- # 注意:此字段可能返回 null,表示取不到有效值。
2578
2491
  # @type Invalid: Integer
2579
2492
  # @param IsRegion: 0为正常规则,1为地域规则
2580
- # 注意:此字段可能返回 null,表示取不到有效值。
2581
2493
  # @type IsRegion: Integer
2582
2494
  # @param CountryCode: 国家id
2583
- # 注意:此字段可能返回 null,表示取不到有效值。
2584
2495
  # @type CountryCode: Integer
2585
2496
  # @param CityCode: 城市id
2586
- # 注意:此字段可能返回 null,表示取不到有效值。
2587
2497
  # @type CityCode: Integer
2588
2498
  # @param CountryName: 国家名称
2589
- # 注意:此字段可能返回 null,表示取不到有效值。
2590
2499
  # @type CountryName: String
2591
2500
  # @param CityName: 省名称
2592
- # 注意:此字段可能返回 null,表示取不到有效值。
2593
2501
  # @type CityName: String
2594
2502
  # @param CloudCode: 云厂商code
2595
- # 注意:此字段可能返回 null,表示取不到有效值。
2596
2503
  # @type CloudCode: String
2597
2504
  # @param IsCloud: 0为正常规则,1为云厂商规则
2598
- # 注意:此字段可能返回 null,表示取不到有效值。
2599
2505
  # @type IsCloud: Integer
2600
2506
  # @param Enable: 规则状态,true表示启用,false表示禁用
2601
- # 注意:此字段可能返回 null,表示取不到有效值。
2602
2507
  # @type Enable: String
2603
2508
  # @param Direction: 规则方向:1,入向;0,出向
2604
- # 注意:此字段可能返回 null,表示取不到有效值。
2605
2509
  # @type Direction: Integer
2606
2510
  # @param InstanceName: 实例名称
2607
- # 注意:此字段可能返回 null,表示取不到有效值。
2608
2511
  # @type InstanceName: String
2609
2512
  # @param InternalUuid: 内部使用的uuid,一般情况下不会使用到该字段
2610
- # 注意:此字段可能返回 null,表示取不到有效值。
2611
2513
  # @type InternalUuid: Integer
2612
2514
  # @param Status: 规则状态,查询规则命中详情时该字段有效,0:新增,1: 已删除, 2: 编辑删除
2613
- # 注意:此字段可能返回 null,表示取不到有效值。
2614
2515
  # @type Status: Integer
2615
2516
  # @param BetaList: 关联任务详情
2616
- # 注意:此字段可能返回 null,表示取不到有效值。
2617
2517
  # @type BetaList: Array
2618
2518
  # @param Scope: (1)互联网边界防火墙,生效范围:serial,串行;side,旁路;all,全局;
2619
2519
  # (2)NAT边界防火墙:ALL,全局生效;ap-guangzhou,生效的地域;cfwnat-xxx,生效基于实例维度
2620
- # 注意:此字段可能返回 null,表示取不到有效值。
2621
2520
  # @type Scope: String
2622
2521
  # @param ScopeDesc: 生效范围描述
2623
- # 注意:此字段可能返回 null,表示取不到有效值。
2624
2522
  # @type ScopeDesc: String
2625
2523
  # @param InternetBorderUuid: 互联网边界防火墙使用的内部规则id
2626
- # 注意:此字段可能返回 null,表示取不到有效值。
2627
2524
  # @type InternetBorderUuid: String
2628
2525
  # @param ParamTemplateName: 协议端口组名称
2629
- # 注意:此字段可能返回 null,表示取不到有效值。
2630
2526
  # @type ParamTemplateName: String
2631
2527
  # @param ParamTemplateId: 协议端口组ID
2632
- # 注意:此字段可能返回 null,表示取不到有效值。
2633
2528
  # @type ParamTemplateId: String
2634
2529
  # @param SourceName: 访问源名称
2635
- # 注意:此字段可能返回 null,表示取不到有效值。
2636
2530
  # @type SourceName: String
2637
2531
  # @param TargetName: 访问目的名称
2638
- # 注意:此字段可能返回 null,表示取不到有效值。
2639
2532
  # @type TargetName: String
2640
2533
  # @param LastHitTime: 规则最近命中时间
2641
- # 注意:此字段可能返回 null,表示取不到有效值。
2642
2534
  # @type LastHitTime: String
2643
2535
 
2644
2536
  attr_accessor :SourceContent, :TargetContent, :Protocol, :Port, :RuleAction, :Description, :Count, :OrderIndex, :SourceType, :TargetType, :Uuid, :Invalid, :IsRegion, :CountryCode, :CityCode, :CountryName, :CityName, :CloudCode, :IsCloud, :Enable, :Direction, :InstanceName, :InternalUuid, :Status, :BetaList, :Scope, :ScopeDesc, :InternetBorderUuid, :ParamTemplateName, :ParamTemplateId, :SourceName, :TargetName, :LastHitTime
@@ -2726,34 +2618,24 @@ module TencentCloud
2726
2618
  # NAT防火墙Dnat规则列表
2727
2619
  class DescNatDnatRule < TencentCloud::Common::AbstractModel
2728
2620
  # @param Id: id
2729
- # 注意:此字段可能返回 null,表示取不到有效值。
2730
2621
  # @type Id: Integer
2731
2622
  # @param IpProtocol: 网络协议,可选值:TCP、UDP。
2732
- # 注意:此字段可能返回 null,表示取不到有效值。
2733
2623
  # @type IpProtocol: String
2734
2624
  # @param PublicIpAddress: 弹性IP。
2735
- # 注意:此字段可能返回 null,表示取不到有效值。
2736
2625
  # @type PublicIpAddress: String
2737
2626
  # @param PublicPort: 公网端口。
2738
- # 注意:此字段可能返回 null,表示取不到有效值。
2739
2627
  # @type PublicPort: Integer
2740
2628
  # @param PrivateIpAddress: 内网地址。
2741
- # 注意:此字段可能返回 null,表示取不到有效值。
2742
2629
  # @type PrivateIpAddress: String
2743
2630
  # @param PrivatePort: 内网端口。
2744
- # 注意:此字段可能返回 null,表示取不到有效值。
2745
2631
  # @type PrivatePort: Integer
2746
2632
  # @param Description: NAT防火墙转发规则描述。
2747
- # 注意:此字段可能返回 null,表示取不到有效值。
2748
2633
  # @type Description: String
2749
2634
  # @param IsReferenced: 是否被关联引用,如被远程运维使用
2750
- # 注意:此字段可能返回 null,表示取不到有效值。
2751
2635
  # @type IsReferenced: Integer
2752
2636
  # @param FwInsId: 所属防火墙实例id
2753
- # 注意:此字段可能返回 null,表示取不到有效值。
2754
2637
  # @type FwInsId: String
2755
2638
  # @param NatGwId: 关联的nat网关Id
2756
- # 注意:此字段可能返回 null,表示取不到有效值。
2757
2639
  # @type NatGwId: String
2758
2640
 
2759
2641
  attr_accessor :Id, :IpProtocol, :PublicIpAddress, :PublicPort, :PrivateIpAddress, :PrivatePort, :Description, :IsReferenced, :FwInsId, :NatGwId
@@ -2846,7 +2728,6 @@ module TencentCloud
2846
2728
  # @param AllTotal: 不算筛选条数的总条数
2847
2729
  # @type AllTotal: Integer
2848
2730
  # @param Enable: 访问控制规则全部启用/全部停用
2849
- # 注意:此字段可能返回 null,表示取不到有效值。
2850
2731
  # @type Enable: Integer
2851
2732
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2852
2733
  # @type RequestId: String
@@ -2891,9 +2772,9 @@ module TencentCloud
2891
2772
  # @type StartTime: String
2892
2773
  # @param EndTime: 检索的截止时间,可不传
2893
2774
  # @type EndTime: String
2894
- # @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
2775
+ # @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值,默认为asc
2895
2776
  # @type Order: String
2896
- # @param By: 排序所用到的字段
2777
+ # @param By: 排序所用到的字段,默认为sequence
2897
2778
  # @type By: String
2898
2779
 
2899
2780
  attr_accessor :Limit, :Offset, :Index, :Filters, :StartTime, :EndTime, :Order, :By
@@ -2933,7 +2814,6 @@ module TencentCloud
2933
2814
  # @param Total: 总条数
2934
2815
  # @type Total: Integer
2935
2816
  # @param Data: nat访问控制列表数据
2936
- # 注意:此字段可能返回 null,表示取不到有效值。
2937
2817
  # @type Data: Array
2938
2818
  # @param AllTotal: 未过滤的总条数
2939
2819
  # @type AllTotal: Integer
@@ -3155,10 +3035,8 @@ module TencentCloud
3155
3035
  # DescribeAssociatedInstanceList返回参数结构体
3156
3036
  class DescribeAssociatedInstanceListResponse < TencentCloud::Common::AbstractModel
3157
3037
  # @param Total: 实例数量
3158
- # 注意:此字段可能返回 null,表示取不到有效值。
3159
3038
  # @type Total: Integer
3160
3039
  # @param Data: 实例列表
3161
- # 注意:此字段可能返回 null,表示取不到有效值。
3162
3040
  # @type Data: Array
3163
3041
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3164
3042
  # @type RequestId: String
@@ -3187,45 +3065,45 @@ module TencentCloud
3187
3065
 
3188
3066
  # DescribeBlockByIpTimesList请求参数结构体
3189
3067
  class DescribeBlockByIpTimesListRequest < TencentCloud::Common::AbstractModel
3190
- # @param StartTime: 开始时间
3191
- # @type StartTime: String
3192
3068
  # @param EndTime: 结束时间
3193
3069
  # @type EndTime: String
3194
3070
  # @param Ip: ip查询条件
3195
3071
  # @type Ip: String
3196
- # @param Zone: 地域
3197
- # @type Zone: String
3072
+ # @param StartTime: 开始时间
3073
+ # @type StartTime: String
3198
3074
  # @param Direction: 方向
3199
3075
  # @type Direction: String
3200
- # @param Source: 来源
3201
- # @type Source: String
3202
3076
  # @param EdgeId: vpc间防火墙开关边id
3203
3077
  # @type EdgeId: String
3204
3078
  # @param LogSource: 日志来源 move:vpc间防火墙
3205
3079
  # @type LogSource: String
3080
+ # @param Source: 来源
3081
+ # @type Source: String
3082
+ # @param Zone: 地域
3083
+ # @type Zone: String
3206
3084
 
3207
- attr_accessor :StartTime, :EndTime, :Ip, :Zone, :Direction, :Source, :EdgeId, :LogSource
3085
+ attr_accessor :EndTime, :Ip, :StartTime, :Direction, :EdgeId, :LogSource, :Source, :Zone
3208
3086
 
3209
- def initialize(starttime=nil, endtime=nil, ip=nil, zone=nil, direction=nil, source=nil, edgeid=nil, logsource=nil)
3210
- @StartTime = starttime
3087
+ def initialize(endtime=nil, ip=nil, starttime=nil, direction=nil, edgeid=nil, logsource=nil, source=nil, zone=nil)
3211
3088
  @EndTime = endtime
3212
3089
  @Ip = ip
3213
- @Zone = zone
3090
+ @StartTime = starttime
3214
3091
  @Direction = direction
3215
- @Source = source
3216
3092
  @EdgeId = edgeid
3217
3093
  @LogSource = logsource
3094
+ @Source = source
3095
+ @Zone = zone
3218
3096
  end
3219
3097
 
3220
3098
  def deserialize(params)
3221
- @StartTime = params['StartTime']
3222
3099
  @EndTime = params['EndTime']
3223
3100
  @Ip = params['Ip']
3224
- @Zone = params['Zone']
3101
+ @StartTime = params['StartTime']
3225
3102
  @Direction = params['Direction']
3226
- @Source = params['Source']
3227
3103
  @EdgeId = params['EdgeId']
3228
3104
  @LogSource = params['LogSource']
3105
+ @Source = params['Source']
3106
+ @Zone = params['Zone']
3229
3107
  end
3230
3108
  end
3231
3109
 
@@ -3350,31 +3228,31 @@ module TencentCloud
3350
3228
 
3351
3229
  # DescribeBlockStaticList请求参数结构体
3352
3230
  class DescribeBlockStaticListRequest < TencentCloud::Common::AbstractModel
3353
- # @param StartTime: 开始时间
3354
- # @type StartTime: String
3355
3231
  # @param EndTime: 结束时间
3356
3232
  # @type EndTime: String
3357
3233
  # @param QueryType: 列表类型,只能是下面三种之一:port、address、ip
3358
3234
  # @type QueryType: String
3235
+ # @param StartTime: 开始时间
3236
+ # @type StartTime: String
3359
3237
  # @param Top: top数
3360
3238
  # @type Top: Integer
3361
3239
  # @param SearchValue: 查询条件
3362
3240
  # @type SearchValue: String
3363
3241
 
3364
- attr_accessor :StartTime, :EndTime, :QueryType, :Top, :SearchValue
3242
+ attr_accessor :EndTime, :QueryType, :StartTime, :Top, :SearchValue
3365
3243
 
3366
- def initialize(starttime=nil, endtime=nil, querytype=nil, top=nil, searchvalue=nil)
3367
- @StartTime = starttime
3244
+ def initialize(endtime=nil, querytype=nil, starttime=nil, top=nil, searchvalue=nil)
3368
3245
  @EndTime = endtime
3369
3246
  @QueryType = querytype
3247
+ @StartTime = starttime
3370
3248
  @Top = top
3371
3249
  @SearchValue = searchvalue
3372
3250
  end
3373
3251
 
3374
3252
  def deserialize(params)
3375
- @StartTime = params['StartTime']
3376
3253
  @EndTime = params['EndTime']
3377
3254
  @QueryType = params['QueryType']
3255
+ @StartTime = params['StartTime']
3378
3256
  @Top = params['Top']
3379
3257
  @SearchValue = params['SearchValue']
3380
3258
  end
@@ -3806,16 +3684,12 @@ module TencentCloud
3806
3684
  # DescribeFwEdgeIps返回参数结构体
3807
3685
  class DescribeFwEdgeIpsResponse < TencentCloud::Common::AbstractModel
3808
3686
  # @param Data: ip 开关列表
3809
- # 注意:此字段可能返回 null,表示取不到有效值。
3810
3687
  # @type Data: Array
3811
3688
  # @param Total: ip 开关列表个数
3812
- # 注意:此字段可能返回 null,表示取不到有效值。
3813
3689
  # @type Total: Integer
3814
3690
  # @param RegionLst: 地域列表
3815
- # 注意:此字段可能返回 null,表示取不到有效值。
3816
3691
  # @type RegionLst: Array
3817
3692
  # @param InstanceTypeLst: 实例类型列表
3818
- # 注意:此字段可能返回 null,表示取不到有效值。
3819
3693
  # @type InstanceTypeLst: Array
3820
3694
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3821
3695
  # @type RequestId: String
@@ -3895,11 +3769,9 @@ module TencentCloud
3895
3769
 
3896
3770
  # DescribeFwGroupInstanceInfo返回参数结构体
3897
3771
  class DescribeFwGroupInstanceInfoResponse < TencentCloud::Common::AbstractModel
3898
- # @param VpcFwGroupLst: 防火墙(组)
3899
- # 注意:此字段可能返回 null,表示取不到有效值。
3772
+ # @param VpcFwGroupLst: 防火墙(组)详细信息
3900
3773
  # @type VpcFwGroupLst: Array
3901
3774
  # @param Total: 防火墙(组)个数
3902
- # 注意:此字段可能返回 null,表示取不到有效值。
3903
3775
  # @type Total: Integer
3904
3776
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3905
3777
  # @type RequestId: String
@@ -4183,7 +4055,6 @@ module TencentCloud
4183
4055
  # @param ReturnMsg: 返回信息 success 成功 其他 不成功
4184
4056
  # @type ReturnMsg: String
4185
4057
  # @param AppProtocolList: 七层协议,NTA日志有效
4186
- # 注意:此字段可能返回 null,表示取不到有效值。
4187
4058
  # @type AppProtocolList: Array
4188
4059
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4189
4060
  # @type RequestId: String
@@ -4217,15 +4088,15 @@ module TencentCloud
4217
4088
  # @type Offset: Integer
4218
4089
  # @param Index: 需要查询的索引,特定场景使用,可不填
4219
4090
  # @type Index: String
4220
- # @param Filters: 过滤条件组合
4091
+ # @param Filters: 过滤条件组合,Direction 为0时表述查询出向规则,为1时表示查询入向规则
4221
4092
  # @type Filters: Array
4222
4093
  # @param StartTime: 检索的起始时间,可不传
4223
4094
  # @type StartTime: String
4224
4095
  # @param EndTime: 检索的截止时间,可不传
4225
4096
  # @type EndTime: String
4226
- # @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
4097
+ # @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值,默认为asc
4227
4098
  # @type Order: String
4228
- # @param By: 排序所用到的字段
4099
+ # @param By: 排序所用到的字段,默认为sequence
4229
4100
  # @type By: String
4230
4101
 
4231
4102
  attr_accessor :Limit, :Offset, :Index, :Filters, :StartTime, :EndTime, :Order, :By
@@ -4265,7 +4136,6 @@ module TencentCloud
4265
4136
  # @param Total: 总条数
4266
4137
  # @type Total: Integer
4267
4138
  # @param Data: nat访问控制列表数据
4268
- # 注意:此字段可能返回 null,表示取不到有效值。
4269
4139
  # @type Data: Array
4270
4140
  # @param AllTotal: 未过滤的总条数
4271
4141
  # @type AllTotal: Integer
@@ -4310,9 +4180,9 @@ module TencentCloud
4310
4180
  # @type StartTime: String
4311
4181
  # @param EndTime: 检索的截止时间,可不传
4312
4182
  # @type EndTime: String
4313
- # @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
4183
+ # @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值,可不传
4314
4184
  # @type Order: String
4315
- # @param By: 排序所用到的字段
4185
+ # @param By: 排序所用到的字段,可不传
4316
4186
  # @type By: String
4317
4187
 
4318
4188
  attr_accessor :Index, :Filters, :Limit, :Offset, :StartTime, :EndTime, :Order, :By
@@ -4350,7 +4220,6 @@ module TencentCloud
4350
4220
  # DescribeNatFwDnatRule返回参数结构体
4351
4221
  class DescribeNatFwDnatRuleResponse < TencentCloud::Common::AbstractModel
4352
4222
  # @param Data: Dnat规则列表
4353
- # 注意:此字段可能返回 null,表示取不到有效值。
4354
4223
  # @type Data: Array
4355
4224
  # @param Total: 列表总数
4356
4225
  # @type Total: Integer
@@ -4392,17 +4261,13 @@ module TencentCloud
4392
4261
 
4393
4262
  # DescribeNatFwInfoCount返回参数结构体
4394
4263
  class DescribeNatFwInfoCountResponse < TencentCloud::Common::AbstractModel
4395
- # @param ReturnMsg: 返回参数
4396
- # 注意:此字段可能返回 null,表示取不到有效值。
4264
+ # @param ReturnMsg: 返回参数 success 成功 failed 失败
4397
4265
  # @type ReturnMsg: String
4398
- # @param NatFwInsCount: 当前租户的nat实例个数
4399
- # 注意:此字段可能返回 null,表示取不到有效值。
4266
+ # @param NatFwInsCount: 当前租户的nat防火墙实例个数
4400
4267
  # @type NatFwInsCount: Integer
4401
- # @param SubnetCount: 当前租户接入子网个数
4402
- # 注意:此字段可能返回 null,表示取不到有效值。
4268
+ # @param SubnetCount: 当前租户接入防火墙的子网个数
4403
4269
  # @type SubnetCount: Integer
4404
- # @param OpenSwitchCount: 打开开关个数
4405
- # 注意:此字段可能返回 null,表示取不到有效值。
4270
+ # @param OpenSwitchCount: 打开NAT防火墙开关个数
4406
4271
  # @type OpenSwitchCount: Integer
4407
4272
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4408
4273
  # @type RequestId: String
@@ -4478,7 +4343,6 @@ module TencentCloud
4478
4343
  # DescribeNatFwInstanceWithRegion返回参数结构体
4479
4344
  class DescribeNatFwInstanceWithRegionResponse < TencentCloud::Common::AbstractModel
4480
4345
  # @param NatinsLst: 实例数组
4481
- # 注意:此字段可能返回 null,表示取不到有效值。
4482
4346
  # @type NatinsLst: Array
4483
4347
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4484
4348
  # @type RequestId: String
@@ -4537,10 +4401,8 @@ module TencentCloud
4537
4401
  # DescribeNatFwInstancesInfo返回参数结构体
4538
4402
  class DescribeNatFwInstancesInfoResponse < TencentCloud::Common::AbstractModel
4539
4403
  # @param NatinsLst: 实例卡片信息数组
4540
- # 注意:此字段可能返回 null,表示取不到有效值。
4541
4404
  # @type NatinsLst: Array
4542
4405
  # @param Total: nat 防火墙个数
4543
- # 注意:此字段可能返回 null,表示取不到有效值。
4544
4406
  # @type Total: Integer
4545
4407
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4546
4408
  # @type RequestId: String
@@ -4598,13 +4460,10 @@ module TencentCloud
4598
4460
  # DescribeNatFwVpcDnsLst返回参数结构体
4599
4461
  class DescribeNatFwVpcDnsLstResponse < TencentCloud::Common::AbstractModel
4600
4462
  # @param VpcDnsSwitchLst: nat防火墙vpc dns 信息数组
4601
- # 注意:此字段可能返回 null,表示取不到有效值。
4602
4463
  # @type VpcDnsSwitchLst: Array
4603
- # @param ReturnMsg: 返回参数
4604
- # 注意:此字段可能返回 null,表示取不到有效值。
4464
+ # @param ReturnMsg: 返回参数 success成功 failed 失败
4605
4465
  # @type ReturnMsg: String
4606
4466
  # @param Total: 开关总条数
4607
- # 注意:此字段可能返回 null,表示取不到有效值。
4608
4467
  # @type Total: Integer
4609
4468
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4610
4469
  # @type RequestId: String
@@ -4661,30 +4520,30 @@ module TencentCloud
4661
4520
  class DescribeResourceGroupNewResponse < TencentCloud::Common::AbstractModel
4662
4521
  # @param Data: 返回树形结构
4663
4522
  # @type Data: String
4664
- # @param UnResourceNum: 未分类实例数量
4665
- # @type UnResourceNum: Integer
4666
- # @param ReturnMsg: 接口返回消息
4667
- # @type ReturnMsg: String
4668
4523
  # @param ReturnCode: 返回码;0为请求成功
4669
4524
  # @type ReturnCode: Integer
4525
+ # @param ReturnMsg: 接口返回消息
4526
+ # @type ReturnMsg: String
4527
+ # @param UnResourceNum: 未分类实例数量
4528
+ # @type UnResourceNum: Integer
4670
4529
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4671
4530
  # @type RequestId: String
4672
4531
 
4673
- attr_accessor :Data, :UnResourceNum, :ReturnMsg, :ReturnCode, :RequestId
4532
+ attr_accessor :Data, :ReturnCode, :ReturnMsg, :UnResourceNum, :RequestId
4674
4533
 
4675
- def initialize(data=nil, unresourcenum=nil, returnmsg=nil, returncode=nil, requestid=nil)
4534
+ def initialize(data=nil, returncode=nil, returnmsg=nil, unresourcenum=nil, requestid=nil)
4676
4535
  @Data = data
4677
- @UnResourceNum = unresourcenum
4678
- @ReturnMsg = returnmsg
4679
4536
  @ReturnCode = returncode
4537
+ @ReturnMsg = returnmsg
4538
+ @UnResourceNum = unresourcenum
4680
4539
  @RequestId = requestid
4681
4540
  end
4682
4541
 
4683
4542
  def deserialize(params)
4684
4543
  @Data = params['Data']
4685
- @UnResourceNum = params['UnResourceNum']
4686
- @ReturnMsg = params['ReturnMsg']
4687
4544
  @ReturnCode = params['ReturnCode']
4545
+ @ReturnMsg = params['ReturnMsg']
4546
+ @UnResourceNum = params['UnResourceNum']
4688
4547
  @RequestId = params['RequestId']
4689
4548
  end
4690
4549
  end
@@ -4752,19 +4611,14 @@ module TencentCloud
4752
4611
  # DescribeRuleOverview返回参数结构体
4753
4612
  class DescribeRuleOverviewResponse < TencentCloud::Common::AbstractModel
4754
4613
  # @param AllTotal: 规则总数
4755
- # 注意:此字段可能返回 null,表示取不到有效值。
4756
4614
  # @type AllTotal: Integer
4757
4615
  # @param StrategyNum: 阻断策略规则数量
4758
- # 注意:此字段可能返回 null,表示取不到有效值。
4759
4616
  # @type StrategyNum: Integer
4760
4617
  # @param StartRuleNum: 启用规则数量
4761
- # 注意:此字段可能返回 null,表示取不到有效值。
4762
4618
  # @type StartRuleNum: Integer
4763
4619
  # @param StopRuleNum: 停用规则数量
4764
- # 注意:此字段可能返回 null,表示取不到有效值。
4765
4620
  # @type StopRuleNum: Integer
4766
4621
  # @param RemainingNum: 剩余配额
4767
- # 注意:此字段可能返回 null,表示取不到有效值。
4768
4622
  # @type RemainingNum: Integer
4769
4623
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4770
4624
  # @type RequestId: String
@@ -4839,7 +4693,6 @@ module TencentCloud
4839
4693
  # @param AllTotal: 不算筛选条数的总条数
4840
4694
  # @type AllTotal: Integer
4841
4695
  # @param Enable: 访问控制规则全部启用/全部停用
4842
- # 注意:此字段可能返回 null,表示取不到有效值。
4843
4696
  # @type Enable: Integer
4844
4697
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4845
4698
  # @type RequestId: String
@@ -4872,69 +4725,61 @@ module TencentCloud
4872
4725
 
4873
4726
  # DescribeSourceAsset请求参数结构体
4874
4727
  class DescribeSourceAssetRequest < TencentCloud::Common::AbstractModel
4728
+ # @param ChooseType: ChooseType为1,查询已经分组的资产;ChooseType不为1查询没有分组的资产
4729
+ # @type ChooseType: String
4875
4730
  # @param FuzzySearch: 模糊查询
4876
4731
  # @type FuzzySearch: String
4877
4732
  # @param InsType: 资产类型 1公网 2内网
4878
4733
  # @type InsType: String
4879
- # @param ChooseType: ChooseType为1,查询已经分组的资产;ChooseType不为1查询没有分组的资产
4880
- # @type ChooseType: String
4881
- # @param Zone: 地域
4882
- # @type Zone: String
4883
4734
  # @param Limit: 查询单页的最大值;eg:10;则最多返回10条结果
4884
4735
  # @type Limit: Integer
4885
4736
  # @param Offset: 查询结果的偏移量
4886
4737
  # @type Offset: Integer
4738
+ # @param Zone: 地域
4739
+ # @type Zone: String
4887
4740
 
4888
- attr_accessor :FuzzySearch, :InsType, :ChooseType, :Zone, :Limit, :Offset
4741
+ attr_accessor :ChooseType, :FuzzySearch, :InsType, :Limit, :Offset, :Zone
4889
4742
 
4890
- def initialize(fuzzysearch=nil, instype=nil, choosetype=nil, zone=nil, limit=nil, offset=nil)
4743
+ def initialize(choosetype=nil, fuzzysearch=nil, instype=nil, limit=nil, offset=nil, zone=nil)
4744
+ @ChooseType = choosetype
4891
4745
  @FuzzySearch = fuzzysearch
4892
4746
  @InsType = instype
4893
- @ChooseType = choosetype
4894
- @Zone = zone
4895
4747
  @Limit = limit
4896
4748
  @Offset = offset
4749
+ @Zone = zone
4897
4750
  end
4898
4751
 
4899
4752
  def deserialize(params)
4753
+ @ChooseType = params['ChooseType']
4900
4754
  @FuzzySearch = params['FuzzySearch']
4901
4755
  @InsType = params['InsType']
4902
- @ChooseType = params['ChooseType']
4903
- @Zone = params['Zone']
4904
4756
  @Limit = params['Limit']
4905
4757
  @Offset = params['Offset']
4758
+ @Zone = params['Zone']
4906
4759
  end
4907
4760
  end
4908
4761
 
4909
4762
  # DescribeSourceAsset返回参数结构体
4910
4763
  class DescribeSourceAssetResponse < TencentCloud::Common::AbstractModel
4911
- # @param ZoneList: 地域集合
4912
- # @type ZoneList: Array
4913
4764
  # @param Data: 数据
4914
4765
  # @type Data: Array
4915
4766
  # @param Total: 返回数据总数
4916
4767
  # @type Total: Integer
4768
+ # @param ZoneList: 地域集合
4769
+ # @type ZoneList: Array
4917
4770
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4918
4771
  # @type RequestId: String
4919
4772
 
4920
- attr_accessor :ZoneList, :Data, :Total, :RequestId
4773
+ attr_accessor :Data, :Total, :ZoneList, :RequestId
4921
4774
 
4922
- def initialize(zonelist=nil, data=nil, total=nil, requestid=nil)
4923
- @ZoneList = zonelist
4775
+ def initialize(data=nil, total=nil, zonelist=nil, requestid=nil)
4924
4776
  @Data = data
4925
4777
  @Total = total
4778
+ @ZoneList = zonelist
4926
4779
  @RequestId = requestid
4927
4780
  end
4928
4781
 
4929
4782
  def deserialize(params)
4930
- unless params['ZoneList'].nil?
4931
- @ZoneList = []
4932
- params['ZoneList'].each do |i|
4933
- assetzone_tmp = AssetZone.new
4934
- assetzone_tmp.deserialize(i)
4935
- @ZoneList << assetzone_tmp
4936
- end
4937
- end
4938
4783
  unless params['Data'].nil?
4939
4784
  @Data = []
4940
4785
  params['Data'].each do |i|
@@ -4944,6 +4789,14 @@ module TencentCloud
4944
4789
  end
4945
4790
  end
4946
4791
  @Total = params['Total']
4792
+ unless params['ZoneList'].nil?
4793
+ @ZoneList = []
4794
+ params['ZoneList'].each do |i|
4795
+ assetzone_tmp = AssetZone.new
4796
+ assetzone_tmp.deserialize(i)
4797
+ @ZoneList << assetzone_tmp
4798
+ end
4799
+ end
4947
4800
  @RequestId = params['RequestId']
4948
4801
  end
4949
4802
  end
@@ -5001,10 +4854,8 @@ module TencentCloud
5001
4854
  # @param AreaLists: 区域列表
5002
4855
  # @type AreaLists: Array
5003
4856
  # @param OnNum: 打开个数
5004
- # 注意:此字段可能返回 null,表示取不到有效值。
5005
4857
  # @type OnNum: Integer
5006
4858
  # @param OffNum: 关闭个数
5007
- # 注意:此字段可能返回 null,表示取不到有效值。
5008
4859
  # @type OffNum: Integer
5009
4860
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5010
4861
  # @type RequestId: String
@@ -5039,28 +4890,28 @@ module TencentCloud
5039
4890
 
5040
4891
  # DescribeTLogInfo请求参数结构体
5041
4892
  class DescribeTLogInfoRequest < TencentCloud::Common::AbstractModel
5042
- # @param StartTime: 开始时间
5043
- # @type StartTime: String
5044
4893
  # @param EndTime: 结束时间
5045
4894
  # @type EndTime: String
5046
4895
  # @param QueryType: 类型 1 告警 2阻断
5047
4896
  # @type QueryType: String
4897
+ # @param StartTime: 开始时间
4898
+ # @type StartTime: String
5048
4899
  # @param SearchValue: 查询条件
5049
4900
  # @type SearchValue: String
5050
4901
 
5051
- attr_accessor :StartTime, :EndTime, :QueryType, :SearchValue
4902
+ attr_accessor :EndTime, :QueryType, :StartTime, :SearchValue
5052
4903
 
5053
- def initialize(starttime=nil, endtime=nil, querytype=nil, searchvalue=nil)
5054
- @StartTime = starttime
4904
+ def initialize(endtime=nil, querytype=nil, starttime=nil, searchvalue=nil)
5055
4905
  @EndTime = endtime
5056
4906
  @QueryType = querytype
4907
+ @StartTime = starttime
5057
4908
  @SearchValue = searchvalue
5058
4909
  end
5059
4910
 
5060
4911
  def deserialize(params)
5061
- @StartTime = params['StartTime']
5062
4912
  @EndTime = params['EndTime']
5063
4913
  @QueryType = params['QueryType']
4914
+ @StartTime = params['StartTime']
5064
4915
  @SearchValue = params['SearchValue']
5065
4916
  end
5066
4917
  end
@@ -5095,31 +4946,31 @@ module TencentCloud
5095
4946
 
5096
4947
  # DescribeTLogIpList请求参数结构体
5097
4948
  class DescribeTLogIpListRequest < TencentCloud::Common::AbstractModel
5098
- # @param StartTime: 开始时间
5099
- # @type StartTime: String
5100
4949
  # @param EndTime: 结束时间
5101
4950
  # @type EndTime: String
5102
4951
  # @param QueryType: 类型 1 告警 2阻断
5103
4952
  # @type QueryType: String
4953
+ # @param StartTime: 开始时间
4954
+ # @type StartTime: String
5104
4955
  # @param Top: top数
5105
4956
  # @type Top: Integer
5106
4957
  # @param SearchValue: 查询条件
5107
4958
  # @type SearchValue: String
5108
4959
 
5109
- attr_accessor :StartTime, :EndTime, :QueryType, :Top, :SearchValue
4960
+ attr_accessor :EndTime, :QueryType, :StartTime, :Top, :SearchValue
5110
4961
 
5111
- def initialize(starttime=nil, endtime=nil, querytype=nil, top=nil, searchvalue=nil)
5112
- @StartTime = starttime
4962
+ def initialize(endtime=nil, querytype=nil, starttime=nil, top=nil, searchvalue=nil)
5113
4963
  @EndTime = endtime
5114
4964
  @QueryType = querytype
4965
+ @StartTime = starttime
5115
4966
  @Top = top
5116
4967
  @SearchValue = searchvalue
5117
4968
  end
5118
4969
 
5119
4970
  def deserialize(params)
5120
- @StartTime = params['StartTime']
5121
4971
  @EndTime = params['EndTime']
5122
4972
  @QueryType = params['QueryType']
4973
+ @StartTime = params['StartTime']
5123
4974
  @Top = params['Top']
5124
4975
  @SearchValue = params['SearchValue']
5125
4976
  end
@@ -5183,7 +5034,6 @@ module TencentCloud
5183
5034
  # DescribeTableStatus返回参数结构体
5184
5035
  class DescribeTableStatusResponse < TencentCloud::Common::AbstractModel
5185
5036
  # @param Status: 0:正常,其它:不正常
5186
- # 注意:此字段可能返回 null,表示取不到有效值。
5187
5037
  # @type Status: Integer
5188
5038
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5189
5039
  # @type RequestId: String
@@ -5228,7 +5078,6 @@ module TencentCloud
5228
5078
  # DescribeUnHandleEventTabList返回参数结构体
5229
5079
  class DescribeUnHandleEventTabListResponse < TencentCloud::Common::AbstractModel
5230
5080
  # @param Data: 租户伪攻击链未处置事件
5231
- # 注意:此字段可能返回 null,表示取不到有效值。
5232
5081
  # @type Data: :class:`Tencentcloud::Cfw.v20190904.models.UnHandleEvent`
5233
5082
  # @param ReturnCode: 错误码,0成功 非0错误
5234
5083
  # @type ReturnCode: Integer
@@ -5389,10 +5238,8 @@ module TencentCloud
5389
5238
  # DescribeVpcFwGroupSwitch返回参数结构体
5390
5239
  class DescribeVpcFwGroupSwitchResponse < TencentCloud::Common::AbstractModel
5391
5240
  # @param SwitchList: 开关列表
5392
- # 注意:此字段可能返回 null,表示取不到有效值。
5393
5241
  # @type SwitchList: Array
5394
5242
  # @param Total: 开关总个数
5395
- # 注意:此字段可能返回 null,表示取不到有效值。
5396
5243
  # @type Total: Integer
5397
5244
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5398
5245
  # @type RequestId: String
@@ -5444,57 +5291,41 @@ module TencentCloud
5444
5291
  # @param PublicIp: 公网IP
5445
5292
  # @type PublicIp: String
5446
5293
  # @param PublicIpType: 公网 IP 类型 1 公网,2 弹性,3 弹性ipv6,4 anycastIP, 6 HighQualityEIP
5447
- # 注意:此字段可能返回 null,表示取不到有效值。
5448
5294
  # @type PublicIpType: Integer
5449
5295
  # @param InstanceId: 实例ID
5450
- # 注意:此字段可能返回 null,表示取不到有效值。
5451
5296
  # @type InstanceId: String
5452
5297
  # @param InstanceName: 实例名
5453
- # 注意:此字段可能返回 null,表示取不到有效值。
5454
5298
  # @type InstanceName: String
5455
5299
  # @param IntranetIp: 内网IP
5456
- # 注意:此字段可能返回 null,表示取不到有效值。
5457
5300
  # @type IntranetIp: String
5458
5301
  # @param AssetType: 资产类型
5459
- # 注意:此字段可能返回 null,表示取不到有效值。
5460
5302
  # @type AssetType: String
5461
5303
  # @param Region: 地域
5462
- # 注意:此字段可能返回 null,表示取不到有效值。
5463
5304
  # @type Region: String
5464
5305
  # @param PortRiskCount: 风险端口数
5465
- # 注意:此字段可能返回 null,表示取不到有效值。
5466
5306
  # @type PortRiskCount: Integer
5467
5307
  # @param LastScanTime: 最近扫描时间
5468
- # 注意:此字段可能返回 null,表示取不到有效值。
5469
5308
  # @type LastScanTime: String
5470
5309
  # @param IsRegionEip: 是否为region eip
5471
5310
  # 0 不为region eip,不能选择串行
5472
5311
  # 1 为region eip 可以选择串行
5473
- # 注意:此字段可能返回 null,表示取不到有效值。
5474
5312
  # @type IsRegionEip: Integer
5475
5313
  # @param VpcId: EIP 所关联的VPC
5476
- # 注意:此字段可能返回 null,表示取不到有效值。
5477
5314
  # @type VpcId: String
5478
5315
  # @param IsSerialRegion: 0: 该地域暂未支持串行
5479
5316
  # 1: 该用户未在该地域配置串行带宽
5480
5317
  # 2: 该用户已在该地域配置串行带宽,可以开启串行开关
5481
- # 注意:此字段可能返回 null,表示取不到有效值。
5482
5318
  # @type IsSerialRegion: Integer
5483
5319
  # @param IsPublicClb: 0: 不是公网CLB 可以开启串行开关
5484
5320
  # 1: 是公网CLB 不可以开启串行开关
5485
-
5486
- # 注意:此字段可能返回 null,表示取不到有效值。
5487
5321
  # @type IsPublicClb: Integer
5488
5322
  # @param EndpointBindEipNum: 0: 开启开关时提示要创建私有连接。
5489
5323
  # 1: 关闭该开关是提示删除私有连接。
5490
5324
  # 如果大于 1: 关闭开关 、开启开关不需提示创建删除私有连接。
5491
- # 注意:此字段可能返回 null,表示取不到有效值。
5492
5325
  # @type EndpointBindEipNum: Integer
5493
5326
  # @param ScanMode: 扫描深度
5494
- # 注意:此字段可能返回 null,表示取不到有效值。
5495
5327
  # @type ScanMode: String
5496
5328
  # @param ScanStatus: 扫描状态
5497
- # 注意:此字段可能返回 null,表示取不到有效值。
5498
5329
  # @type ScanStatus: Integer
5499
5330
  # @param Status: 开关状态
5500
5331
  # 0 : 关闭
@@ -5502,26 +5333,20 @@ module TencentCloud
5502
5333
  # 2 : 开启中
5503
5334
  # 3 : 关闭中
5504
5335
  # 4 : 异常
5505
- # 注意:此字段可能返回 null,表示取不到有效值。
5506
5336
  # @type Status: Integer
5507
5337
  # @param EndpointId: 私有连接ID
5508
- # 注意:此字段可能返回 null,表示取不到有效值。
5509
5338
  # @type EndpointId: String
5510
5339
  # @param EndpointIp: 私有连接IP
5511
- # 注意:此字段可能返回 null,表示取不到有效值。
5512
5340
  # @type EndpointIp: String
5513
5341
  # @param SwitchMode: 0 : 旁路
5514
5342
  # 1 : 串行
5515
5343
  # 2 : 正在模式切换
5516
5344
  # @type SwitchMode: Integer
5517
5345
  # @param SwitchWeight: 开关权重
5518
- # 注意:此字段可能返回 null,表示取不到有效值。
5519
5346
  # @type SwitchWeight: Integer
5520
5347
  # @param Domain: 域名化CLB的域名
5521
- # 注意:此字段可能返回 null,表示取不到有效值。
5522
5348
  # @type Domain: String
5523
5349
  # @param OverUsedStatus: IP超量状态
5524
- # 注意:此字段可能返回 null,表示取不到有效值。
5525
5350
  # @type OverUsedStatus: Integer
5526
5351
 
5527
5352
  attr_accessor :PublicIp, :PublicIpType, :InstanceId, :InstanceName, :IntranetIp, :AssetType, :Region, :PortRiskCount, :LastScanTime, :IsRegionEip, :VpcId, :IsSerialRegion, :IsPublicClb, :EndpointBindEipNum, :ScanMode, :ScanStatus, :Status, :EndpointId, :EndpointIp, :SwitchMode, :SwitchWeight, :Domain, :OverUsedStatus
@@ -5610,13 +5435,10 @@ module TencentCloud
5610
5435
  # 企业安全组自动化任务信息
5611
5436
  class EnterpriseSecurityGroupRuleBetaInfo < TencentCloud::Common::AbstractModel
5612
5437
  # @param TaskId: 任务id
5613
- # 注意:此字段可能返回 null,表示取不到有效值。
5614
5438
  # @type TaskId: Integer
5615
5439
  # @param TaskName: 任务名称
5616
- # 注意:此字段可能返回 null,表示取不到有效值。
5617
5440
  # @type TaskName: String
5618
5441
  # @param LastTime: 时间
5619
- # 注意:此字段可能返回 null,表示取不到有效值。
5620
5442
  # @type LastTime: String
5621
5443
 
5622
5444
  attr_accessor :TaskId, :TaskName, :LastTime
@@ -5637,16 +5459,12 @@ module TencentCloud
5637
5459
  # 企业安全组规则列表信息
5638
5460
  class EnterpriseSecurityGroupRuleRuleInfo < TencentCloud::Common::AbstractModel
5639
5461
  # @param OrderIndex: 排序
5640
- # 注意:此字段可能返回 null,表示取不到有效值。
5641
5462
  # @type OrderIndex: Integer
5642
5463
  # @param RuleUuid: 主键id
5643
- # 注意:此字段可能返回 null,表示取不到有效值。
5644
5464
  # @type RuleUuid: Integer
5645
5465
  # @param Uuid: 规则uuid
5646
- # 注意:此字段可能返回 null,表示取不到有效值。
5647
5466
  # @type Uuid: String
5648
5467
  # @param SourceId: 源规则内容
5649
- # 注意:此字段可能返回 null,表示取不到有效值。
5650
5468
  # @type SourceId: String
5651
5469
  # @param SourceType: 源规则类型
5652
5470
  # 取值范围 0/1/2/3/4/5/6/7/8/9/100
@@ -5661,10 +5479,8 @@ module TencentCloud
5661
5479
  # 8表示标签(tag)
5662
5480
  # 9表示地域(region)
5663
5481
  # 100表示资产分组(resourcegroup)
5664
- # 注意:此字段可能返回 null,表示取不到有效值。
5665
5482
  # @type SourceType: Integer
5666
5483
  # @param TargetId: 目的规则内容
5667
- # 注意:此字段可能返回 null,表示取不到有效值。
5668
5484
  # @type TargetId: String
5669
5485
  # @param TargetType: 目的规则类型
5670
5486
  # 取值范围 0/1/2/3/4/5/6/7/8/9/100
@@ -5679,90 +5495,65 @@ module TencentCloud
5679
5495
  # 8表示标签(tag)
5680
5496
  # 9表示地域(region)
5681
5497
  # 100表示资产分组(resourcegroup)
5682
- # 注意:此字段可能返回 null,表示取不到有效值。
5683
5498
  # @type TargetType: Integer
5684
5499
  # @param Protocol: 协议名称
5685
5500
  # 取值范围:TCP/ANY/ICMP/UDP
5686
5501
  # ANY:表示所有
5687
-
5688
- # 注意:此字段可能返回 null,表示取不到有效值。
5689
5502
  # @type Protocol: String
5690
5503
  # @param Port: 端口
5691
- # 注意:此字段可能返回 null,表示取不到有效值。
5692
5504
  # @type Port: String
5693
5505
  # @param Strategy: 规则策略
5694
5506
  # 取值范围:1/2
5695
5507
  # 1:阻断
5696
5508
  # 2:放行
5697
- # 注意:此字段可能返回 null,表示取不到有效值。
5698
5509
  # @type Strategy: Integer
5699
5510
  # @param Status: 规则启用状态
5700
5511
  # 取值范围: 0/1
5701
5512
  # 0:未开启
5702
5513
  # 1:开启
5703
- # 注意:此字段可能返回 null,表示取不到有效值。
5704
5514
  # @type Status: Integer
5705
5515
  # @param Detail: 描述
5706
- # 注意:此字段可能返回 null,表示取不到有效值。
5707
5516
  # @type Detail: String
5708
5517
  # @param AclTags: 标签
5709
- # 注意:此字段可能返回 null,表示取不到有效值。
5710
5518
  # @type AclTags: String
5711
5519
  # @param IsNew: 规则最新一次是否有改动
5712
5520
  # 取值范围:0/1
5713
5521
  # 0:否
5714
5522
  # 1:是
5715
- # 注意:此字段可能返回 null,表示取不到有效值。
5716
5523
  # @type IsNew: Integer
5717
5524
  # @param Region: 地域
5718
- # 注意:此字段可能返回 null,表示取不到有效值。
5719
5525
  # @type Region: String
5720
5526
  # @param IsDelay: 是否延迟下发规则
5721
5527
  # 取值范围:0/1
5722
5528
  # 0:立即下发 1:延迟下发
5723
- # 注意:此字段可能返回 null,表示取不到有效值。
5724
5529
  # @type IsDelay: Integer
5725
5530
  # @param ServiceTemplateId: 服务模板id
5726
- # 注意:此字段可能返回 null,表示取不到有效值。
5727
5531
  # @type ServiceTemplateId: String
5728
5532
  # @param SouInstanceName: 源资产名称
5729
- # 注意:此字段可能返回 null,表示取不到有效值。
5730
5533
  # @type SouInstanceName: String
5731
5534
  # @param SouPublicIp: 源资产公网ip
5732
- # 注意:此字段可能返回 null,表示取不到有效值。
5733
5535
  # @type SouPublicIp: String
5734
5536
  # @param SouPrivateIp: 源资产内网ip
5735
- # 注意:此字段可能返回 null,表示取不到有效值。
5736
5537
  # @type SouPrivateIp: String
5737
5538
  # @param SouCidr: 源资产网段信息
5738
- # 注意:此字段可能返回 null,表示取不到有效值。
5739
5539
  # @type SouCidr: String
5740
5540
  # @param SouParameterName: 源模板名称
5741
- # 注意:此字段可能返回 null,表示取不到有效值。
5742
5541
  # @type SouParameterName: String
5743
5542
  # @param InstanceName: 目的资产名称
5744
- # 注意:此字段可能返回 null,表示取不到有效值。
5745
5543
  # @type InstanceName: String
5746
5544
  # @param PublicIp: 目的资产公网ip
5747
- # 注意:此字段可能返回 null,表示取不到有效值。
5748
5545
  # @type PublicIp: String
5749
5546
  # @param PrivateIp: 目的资产内网ip
5750
- # 注意:此字段可能返回 null,表示取不到有效值。
5751
5547
  # @type PrivateIp: String
5752
5548
  # @param Cidr: 目的资产网段信息
5753
- # 注意:此字段可能返回 null,表示取不到有效值。
5754
5549
  # @type Cidr: String
5755
5550
  # @param ParameterName: 目的模板名称
5756
- # 注意:此字段可能返回 null,表示取不到有效值。
5757
5551
  # @type ParameterName: String
5758
5552
  # @param ProtocolPortName: 端口模板名称
5759
- # 注意:此字段可能返回 null,表示取不到有效值。
5760
5553
  # @type ProtocolPortName: String
5761
5554
  # @param BetaList: 自动化任务信息
5762
- # 注意:此字段可能返回 null,表示取不到有效值。
5763
5555
  # @type BetaList: Array
5764
5556
  # @param Id: 规则id 等同RuleUuid
5765
- # 注意:此字段可能返回 null,表示取不到有效值。
5766
5557
  # @type Id: Integer
5767
5558
 
5768
5559
  attr_accessor :OrderIndex, :RuleUuid, :Uuid, :SourceId, :SourceType, :TargetId, :TargetType, :Protocol, :Port, :Strategy, :Status, :Detail, :AclTags, :IsNew, :Region, :IsDelay, :ServiceTemplateId, :SouInstanceName, :SouPublicIp, :SouPrivateIp, :SouCidr, :SouParameterName, :InstanceName, :PublicIp, :PrivateIp, :Cidr, :ParameterName, :ProtocolPortName, :BetaList, :Id
@@ -5972,10 +5763,8 @@ module TencentCloud
5972
5763
  # @param GatewayId: 防火墙网关id
5973
5764
  # @type GatewayId: String
5974
5765
  # @param VpcId: 网关所属vpc id
5975
- # 注意:此字段可能返回 null,表示取不到有效值。
5976
5766
  # @type VpcId: String
5977
5767
  # @param IpAddress: 网关ip地址
5978
- # 注意:此字段可能返回 null,表示取不到有效值。
5979
5768
  # @type IpAddress: String
5980
5769
 
5981
5770
  attr_accessor :GatewayId, :VpcId, :IpAddress
@@ -6022,61 +5811,47 @@ module TencentCloud
6022
5811
  # @param SwitchId: 防火墙开关ID
6023
5812
  # @type SwitchId: String
6024
5813
  # @param SwitchName: 防火墙开关NAME
6025
- # 注意:此字段可能返回 null,表示取不到有效值。
6026
5814
  # @type SwitchName: String
6027
5815
  # @param SwitchMode: 互通模式
6028
5816
  # @type SwitchMode: Integer
6029
5817
  # @param ConnectType: 开关边连接类型 0:对等连接, 1:云连网
6030
- # 注意:此字段可能返回 null,表示取不到有效值。
6031
5818
  # @type ConnectType: Integer
6032
5819
  # @param ConnectId: 连接ID
6033
- # 注意:此字段可能返回 null,表示取不到有效值。
6034
5820
  # @type ConnectId: String
6035
5821
  # @param ConnectName: 连接名称
6036
- # 注意:此字段可能返回 null,表示取不到有效值。
6037
5822
  # @type ConnectName: String
6038
5823
  # @param SrcInstancesInfo: 源实例信息
6039
- # 注意:此字段可能返回 null,表示取不到有效值。
6040
5824
  # @type SrcInstancesInfo: Array
6041
5825
  # @param DstInstancesInfo: 目的实例信息
6042
- # 注意:此字段可能返回 null,表示取不到有效值。
6043
5826
  # @type DstInstancesInfo: Array
6044
5827
  # @param FwGroupId: 防火墙(组)数据
6045
- # 注意:此字段可能返回 null,表示取不到有效值。
6046
5828
  # @type FwGroupId: String
6047
5829
  # @param FwGroupName: 防火墙(组)名称
6048
- # 注意:此字段可能返回 null,表示取不到有效值。
6049
5830
  # @type FwGroupName: String
6050
5831
  # @param Enable: 开关状态 0:关 , 1:开
6051
- # 注意:此字段可能返回 null,表示取不到有效值。
6052
5832
  # @type Enable: Integer
6053
5833
  # @param Status: 开关的状态 0:正常, 1:转换中
6054
- # 注意:此字段可能返回 null,表示取不到有效值。
6055
5834
  # @type Status: Integer
6056
5835
  # @param AttachWithEdge: 0-非sase实例,忽略,1-未绑定状态,2-已绑定
6057
- # 注意:此字段可能返回 null,表示取不到有效值。
6058
5836
  # @type AttachWithEdge: Integer
6059
5837
  # @param CrossEdgeStatus: 对等防火墙和开关状态 0:正常, 1:对等未创建防火墙,2:对等已创建防火墙,未打开开关
6060
- # 注意:此字段可能返回 null,表示取不到有效值。
6061
5838
  # @type CrossEdgeStatus: Integer
6062
5839
  # @param FwInsRegion: 网络经过VPC防火墙CVM所在地域
6063
- # 注意:此字段可能返回 null,表示取不到有效值。
6064
5840
  # @type FwInsRegion: Array
6065
5841
  # @param IpsAction: 0 观察 1 拦截 2 严格 3 关闭 4 不支持ips 前端展示tag
6066
- # 注意:此字段可能返回 null,表示取不到有效值。
6067
5842
  # @type IpsAction: Integer
6068
5843
  # @param FwInsLst: 开关关联的防火墙实例列表
6069
- # 注意:此字段可能返回 null,表示取不到有效值。
6070
5844
  # @type FwInsLst: Array
6071
5845
  # @param BypassStatus: 开关是否处于bypass状态
6072
5846
  # 0:正常状态
6073
5847
  # 1:bypass状态
6074
- # 注意:此字段可能返回 null,表示取不到有效值。
6075
5848
  # @type BypassStatus: Integer
5849
+ # @param IpVersion: 0: ipv4 , 1:ipv6
5850
+ # @type IpVersion: Integer
6076
5851
 
6077
- attr_accessor :SwitchId, :SwitchName, :SwitchMode, :ConnectType, :ConnectId, :ConnectName, :SrcInstancesInfo, :DstInstancesInfo, :FwGroupId, :FwGroupName, :Enable, :Status, :AttachWithEdge, :CrossEdgeStatus, :FwInsRegion, :IpsAction, :FwInsLst, :BypassStatus
5852
+ attr_accessor :SwitchId, :SwitchName, :SwitchMode, :ConnectType, :ConnectId, :ConnectName, :SrcInstancesInfo, :DstInstancesInfo, :FwGroupId, :FwGroupName, :Enable, :Status, :AttachWithEdge, :CrossEdgeStatus, :FwInsRegion, :IpsAction, :FwInsLst, :BypassStatus, :IpVersion
6078
5853
 
6079
- def initialize(switchid=nil, switchname=nil, switchmode=nil, connecttype=nil, connectid=nil, connectname=nil, srcinstancesinfo=nil, dstinstancesinfo=nil, fwgroupid=nil, fwgroupname=nil, enable=nil, status=nil, attachwithedge=nil, crossedgestatus=nil, fwinsregion=nil, ipsaction=nil, fwinslst=nil, bypassstatus=nil)
5854
+ def initialize(switchid=nil, switchname=nil, switchmode=nil, connecttype=nil, connectid=nil, connectname=nil, srcinstancesinfo=nil, dstinstancesinfo=nil, fwgroupid=nil, fwgroupname=nil, enable=nil, status=nil, attachwithedge=nil, crossedgestatus=nil, fwinsregion=nil, ipsaction=nil, fwinslst=nil, bypassstatus=nil, ipversion=nil)
6080
5855
  @SwitchId = switchid
6081
5856
  @SwitchName = switchname
6082
5857
  @SwitchMode = switchmode
@@ -6095,6 +5870,7 @@ module TencentCloud
6095
5870
  @IpsAction = ipsaction
6096
5871
  @FwInsLst = fwinslst
6097
5872
  @BypassStatus = bypassstatus
5873
+ @IpVersion = ipversion
6098
5874
  end
6099
5875
 
6100
5876
  def deserialize(params)
@@ -6137,6 +5913,7 @@ module TencentCloud
6137
5913
  end
6138
5914
  end
6139
5915
  @BypassStatus = params['BypassStatus']
5916
+ @IpVersion = params['IpVersion']
6140
5917
  end
6141
5918
  end
6142
5919
 
@@ -6183,22 +5960,16 @@ module TencentCloud
6183
5960
  # 入侵防御规则白名单详情
6184
5961
  class IdsWhiteInfo < TencentCloud::Common::AbstractModel
6185
5962
  # @param Id: 白名单唯一ID
6186
- # 注意:此字段可能返回 null,表示取不到有效值。
6187
5963
  # @type Id: Integer
6188
5964
  # @param SrcIp: 源IP
6189
- # 注意:此字段可能返回 null,表示取不到有效值。
6190
5965
  # @type SrcIp: String
6191
5966
  # @param DstIp: 目的IP
6192
- # 注意:此字段可能返回 null,表示取不到有效值。
6193
5967
  # @type DstIp: String
6194
5968
  # @param WhiteRuleType: 规则类型
6195
- # 注意:此字段可能返回 null,表示取不到有效值。
6196
5969
  # @type WhiteRuleType: String
6197
5970
  # @param FwType: 白名单生效防火墙范围: 1 边界防火墙 2 nat防火墙 4 vpc防火墙 7 = 1+2+4 所有防火墙
6198
- # 注意:此字段可能返回 null,表示取不到有效值。
6199
5971
  # @type FwType: Integer
6200
5972
  # @param RuleId: 入侵防御规则ID
6201
- # 注意:此字段可能返回 null,表示取不到有效值。
6202
5973
  # @type RuleId: String
6203
5974
 
6204
5975
  attr_accessor :Id, :SrcIp, :DstIp, :WhiteRuleType, :FwType, :RuleId
@@ -6222,101 +5993,81 @@ module TencentCloud
6222
5993
  end
6223
5994
  end
6224
5995
 
6225
- # // InstanceInfo 实例详情结果
6226
- # type InstanceInfo struct {
6227
- # AppID string `json:"AppId" gorm:"column:appid"`
6228
- # Region string `json:"Region" gorm:"column:region"`
6229
- # VPCID string `json:"VpcId" gorm:"column:vpc_id"`
6230
- # SubNetID string `json:"SubnetId" gorm:"column:subnet_id"`
6231
- # InstanceID string `json:"InstanceId" gorm:"column:instance_id"`
6232
- # InstanceName string `json:"InstanceName" gorm:"column:instance_name"`
6233
- # //InsType common.CVM 3是cvm实例,4是clb实例,5是eni实例,6是mysql,7是redis,8是NAT,9是VPN,10是ES,11是MARIADB,12是KAFKA
6234
- # InsType int `json:"InsType" gorm:"column:instance_type"`
6235
- # PublicIP string `json:"PublicIp" gorm:"column:public_ip"`
6236
- # PrivateIP string `json:"PrivateIp" gorm:"column:ip"`
6237
-
6238
- # //规则下发无需管,前端展示用
6239
- # PortNum string `json:"PortNum" gorm:"column:port_num"`
6240
- # LeakNum string `json:"LeakNum" gorm:"column:leak_num"`
6241
- # ResourceGroupNum int `json:"ResourceGroupNum"`
6242
- # VPCName string `json:"VPCName" gorm:"column:VPCName"`
6243
- # }
5996
+ # 实例详情结果
6244
5997
  class InstanceInfo < TencentCloud::Common::AbstractModel
6245
5998
  # @param AppId: appid信息
6246
5999
  # @type AppId: String
6247
- # @param Region: 地域
6248
- # @type Region: String
6249
- # @param VpcId: vpcid信息
6250
- # @type VpcId: String
6251
- # @param VPCName: vpc名称
6252
- # @type VPCName: String
6253
- # @param SubnetId: 子网id
6254
- # @type SubnetId: String
6000
+ # @param InsSource: 资产来源
6001
+ # 1公网 2内网
6002
+ # @type InsSource: String
6003
+ # @param InsType: 资产类型
6004
+ # 3是cvm实例,4是clb实例,5是eni实例,6是mysql,7是redis,8是NAT,9是VPN,10是ES,11是MARIADB,12是KAFKA 13 NATFW
6005
+ # @type InsType: Integer
6255
6006
  # @param InstanceId: 资产id
6256
6007
  # @type InstanceId: String
6257
6008
  # @param InstanceName: 资产名
6258
6009
  # @type InstanceName: String
6259
- # @param InsType: 资产类型
6260
- # 3是cvm实例,4是clb实例,5是eni实例,6是mysql,7是redis,8是NAT,9是VPN,10是ES,11是MARIADB,12是KAFKA 13 NATFW
6261
- # @type InsType: Integer
6262
- # @param PublicIp: 公网ip
6263
- # @type PublicIp: String
6264
- # @param PrivateIp: 内网ip
6265
- # @type PrivateIp: String
6266
- # @param PortNum: 端口数
6267
- # @type PortNum: String
6268
6010
  # @param LeakNum: 漏洞数
6269
6011
  # @type LeakNum: String
6270
- # @param InsSource: 1,公网 2内网
6271
- # @type InsSource: String
6272
- # @param ResourcePath: [a,b]
6273
- # 注意:此字段可能返回 null,表示取不到有效值。
6012
+ # @param PortNum: 端口数
6013
+ # @type PortNum: String
6014
+ # @param PrivateIp: 内网ip
6015
+ # @type PrivateIp: String
6016
+ # @param PublicIp: 公网ip
6017
+ # @type PublicIp: String
6018
+ # @param Region: 地域
6019
+ # @type Region: String
6020
+ # @param RegionKey: 地域
6021
+ # @type RegionKey: String
6022
+ # @param ResourcePath: 资产路径
6274
6023
  # @type ResourcePath: Array
6275
6024
  # @param Server: 扫描结果
6276
- # 注意:此字段可能返回 null,表示取不到有效值。
6277
6025
  # @type Server: Array
6278
- # @param RegionKey: 地域
6279
- # 注意:此字段可能返回 null,表示取不到有效值。
6280
- # @type RegionKey: String
6026
+ # @param SubnetId: 子网id
6027
+ # @type SubnetId: String
6028
+ # @param VPCName: vpc名称
6029
+ # @type VPCName: String
6030
+ # @param VpcId: vpcid信息
6031
+ # @type VpcId: String
6281
6032
 
6282
- attr_accessor :AppId, :Region, :VpcId, :VPCName, :SubnetId, :InstanceId, :InstanceName, :InsType, :PublicIp, :PrivateIp, :PortNum, :LeakNum, :InsSource, :ResourcePath, :Server, :RegionKey
6033
+ attr_accessor :AppId, :InsSource, :InsType, :InstanceId, :InstanceName, :LeakNum, :PortNum, :PrivateIp, :PublicIp, :Region, :RegionKey, :ResourcePath, :Server, :SubnetId, :VPCName, :VpcId
6283
6034
 
6284
- def initialize(appid=nil, region=nil, vpcid=nil, vpcname=nil, subnetid=nil, instanceid=nil, instancename=nil, instype=nil, publicip=nil, privateip=nil, portnum=nil, leaknum=nil, inssource=nil, resourcepath=nil, server=nil, regionkey=nil)
6035
+ def initialize(appid=nil, inssource=nil, instype=nil, instanceid=nil, instancename=nil, leaknum=nil, portnum=nil, privateip=nil, publicip=nil, region=nil, regionkey=nil, resourcepath=nil, server=nil, subnetid=nil, vpcname=nil, vpcid=nil)
6285
6036
  @AppId = appid
6286
- @Region = region
6287
- @VpcId = vpcid
6288
- @VPCName = vpcname
6289
- @SubnetId = subnetid
6037
+ @InsSource = inssource
6038
+ @InsType = instype
6290
6039
  @InstanceId = instanceid
6291
6040
  @InstanceName = instancename
6292
- @InsType = instype
6293
- @PublicIp = publicip
6294
- @PrivateIp = privateip
6295
- @PortNum = portnum
6296
6041
  @LeakNum = leaknum
6297
- @InsSource = inssource
6042
+ @PortNum = portnum
6043
+ @PrivateIp = privateip
6044
+ @PublicIp = publicip
6045
+ @Region = region
6046
+ @RegionKey = regionkey
6298
6047
  @ResourcePath = resourcepath
6299
6048
  @Server = server
6300
- @RegionKey = regionkey
6049
+ @SubnetId = subnetid
6050
+ @VPCName = vpcname
6051
+ @VpcId = vpcid
6301
6052
  end
6302
6053
 
6303
6054
  def deserialize(params)
6304
6055
  @AppId = params['AppId']
6305
- @Region = params['Region']
6306
- @VpcId = params['VpcId']
6307
- @VPCName = params['VPCName']
6308
- @SubnetId = params['SubnetId']
6056
+ @InsSource = params['InsSource']
6057
+ @InsType = params['InsType']
6309
6058
  @InstanceId = params['InstanceId']
6310
6059
  @InstanceName = params['InstanceName']
6311
- @InsType = params['InsType']
6312
- @PublicIp = params['PublicIp']
6313
- @PrivateIp = params['PrivateIp']
6314
- @PortNum = params['PortNum']
6315
6060
  @LeakNum = params['LeakNum']
6316
- @InsSource = params['InsSource']
6061
+ @PortNum = params['PortNum']
6062
+ @PrivateIp = params['PrivateIp']
6063
+ @PublicIp = params['PublicIp']
6064
+ @Region = params['Region']
6065
+ @RegionKey = params['RegionKey']
6317
6066
  @ResourcePath = params['ResourcePath']
6318
6067
  @Server = params['Server']
6319
- @RegionKey = params['RegionKey']
6068
+ @SubnetId = params['SubnetId']
6069
+ @VPCName = params['VPCName']
6070
+ @VpcId = params['VpcId']
6320
6071
  end
6321
6072
  end
6322
6073
 
@@ -6359,13 +6110,10 @@ module TencentCloud
6359
6110
  # 封禁放通IOC列表
6360
6111
  class IocListData < TencentCloud::Common::AbstractModel
6361
6112
  # @param IP: 待处置IP地址,IP/Domain字段二选一
6362
- # 注意:此字段可能返回 null,表示取不到有效值。
6363
6113
  # @type IP: String
6364
6114
  # @param Direction: 只能为0或者1 0代表出站 1代表入站
6365
- # 注意:此字段可能返回 null,表示取不到有效值。
6366
6115
  # @type Direction: Integer
6367
6116
  # @param Domain: 待处置域名,IP/Domain字段二选一
6368
- # 注意:此字段可能返回 null,表示取不到有效值。
6369
6117
  # @type Domain: String
6370
6118
 
6371
6119
  attr_accessor :IP, :Direction, :Domain
@@ -6443,7 +6191,6 @@ module TencentCloud
6443
6191
  # @param Status: 状态值,0:操作成功,非0:操作失败
6444
6192
  # @type Status: Integer
6445
6193
  # @param Info: 返回多余的信息
6446
- # 注意:此字段可能返回 null,表示取不到有效值。
6447
6194
  # @type Info: String
6448
6195
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6449
6196
  # @type RequestId: String
@@ -6465,7 +6212,7 @@ module TencentCloud
6465
6212
 
6466
6213
  # ModifyAclRule请求参数结构体
6467
6214
  class ModifyAclRuleRequest < TencentCloud::Common::AbstractModel
6468
- # @param Rules: 需要编辑的规则数组
6215
+ # @param Rules: 需要编辑的规则数组,基于Uuid唯一id修改该规则
6469
6216
  # @type Rules: Array
6470
6217
 
6471
6218
  attr_accessor :Rules
@@ -6591,10 +6338,8 @@ module TencentCloud
6591
6338
  # ModifyAllPublicIPSwitchStatus返回参数结构体
6592
6339
  class ModifyAllPublicIPSwitchStatusResponse < TencentCloud::Common::AbstractModel
6593
6340
  # @param ReturnMsg: 接口返回信息
6594
- # 注意:此字段可能返回 null,表示取不到有效值。
6595
6341
  # @type ReturnMsg: String
6596
6342
  # @param ReturnCode: 接口返回错误码,0请求成功 非0失败
6597
- # 注意:此字段可能返回 null,表示取不到有效值。
6598
6343
  # @type ReturnCode: Integer
6599
6344
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6600
6345
  # @type RequestId: String
@@ -6645,7 +6390,6 @@ module TencentCloud
6645
6390
  # ModifyAllRuleStatus返回参数结构体
6646
6391
  class ModifyAllRuleStatusResponse < TencentCloud::Common::AbstractModel
6647
6392
  # @param Status: 0: 修改成功, 其他: 修改失败
6648
- # 注意:此字段可能返回 null,表示取不到有效值。
6649
6393
  # @type Status: Integer
6650
6394
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6651
6395
  # @type RequestId: String
@@ -6738,10 +6482,8 @@ module TencentCloud
6738
6482
  # ModifyAssetScan返回参数结构体
6739
6483
  class ModifyAssetScanResponse < TencentCloud::Common::AbstractModel
6740
6484
  # @param ReturnMsg: 接口返回信息
6741
- # 注意:此字段可能返回 null,表示取不到有效值。
6742
6485
  # @type ReturnMsg: String
6743
6486
  # @param ReturnCode: 接口返回错误码,0请求成功 非0失败
6744
- # 注意:此字段可能返回 null,表示取不到有效值。
6745
6487
  # @type ReturnCode: Integer
6746
6488
  # @param Status: 状态值 0:成功,1 执行扫描中,其他:失败
6747
6489
  # @type Status: Integer
@@ -6952,21 +6694,21 @@ module TencentCloud
6952
6694
 
6953
6695
  # ModifyBlockTop请求参数结构体
6954
6696
  class ModifyBlockTopRequest < TencentCloud::Common::AbstractModel
6955
- # @param UniqueId: 记录id
6956
- # @type UniqueId: String
6957
6697
  # @param OpeType: 操作类型 1 置顶 0取消
6958
6698
  # @type OpeType: String
6699
+ # @param UniqueId: 记录id
6700
+ # @type UniqueId: String
6959
6701
 
6960
- attr_accessor :UniqueId, :OpeType
6702
+ attr_accessor :OpeType, :UniqueId
6961
6703
 
6962
- def initialize(uniqueid=nil, opetype=nil)
6963
- @UniqueId = uniqueid
6704
+ def initialize(opetype=nil, uniqueid=nil)
6964
6705
  @OpeType = opetype
6706
+ @UniqueId = uniqueid
6965
6707
  end
6966
6708
 
6967
6709
  def deserialize(params)
6968
- @UniqueId = params['UniqueId']
6969
6710
  @OpeType = params['OpeType']
6711
+ @UniqueId = params['UniqueId']
6970
6712
  end
6971
6713
  end
6972
6714
 
@@ -7121,7 +6863,6 @@ module TencentCloud
7121
6863
  # ModifyEnterpriseSecurityDispatchStatus返回参数结构体
7122
6864
  class ModifyEnterpriseSecurityDispatchStatusResponse < TencentCloud::Common::AbstractModel
7123
6865
  # @param Status: 0: 修改成功, 其他: 修改失败
7124
- # 注意:此字段可能返回 null,表示取不到有效值。
7125
6866
  # @type Status: Integer
7126
6867
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7127
6868
  # @type RequestId: String
@@ -7245,7 +6986,7 @@ module TencentCloud
7245
6986
 
7246
6987
  # ModifyNatAcRule请求参数结构体
7247
6988
  class ModifyNatAcRuleRequest < TencentCloud::Common::AbstractModel
7248
- # @param Rules: 需要编辑的规则数组
6989
+ # @param Rules: 需要编辑的规则数组,基于Uuid唯一id来修改该规则
7249
6990
  # @type Rules: Array
7250
6991
 
7251
6992
  attr_accessor :Rules
@@ -7411,7 +7152,6 @@ module TencentCloud
7411
7152
  # ModifyNatFwVpcDnsSwitch返回参数结构体
7412
7153
  class ModifyNatFwVpcDnsSwitchResponse < TencentCloud::Common::AbstractModel
7413
7154
  # @param ReturnMsg: 修改成功
7414
- # 注意:此字段可能返回 null,表示取不到有效值。
7415
7155
  # @type ReturnMsg: String
7416
7156
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7417
7157
  # @type RequestId: String
@@ -7824,7 +7564,6 @@ module TencentCloud
7824
7564
  # ModifySequenceRules返回参数结构体
7825
7565
  class ModifySequenceRulesResponse < TencentCloud::Common::AbstractModel
7826
7566
  # @param Status: 0: 修改成功, 非0: 修改失败
7827
- # 注意:此字段可能返回 null,表示取不到有效值。
7828
7567
  # @type Status: Integer
7829
7568
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7830
7569
  # @type RequestId: String
@@ -7900,7 +7639,6 @@ module TencentCloud
7900
7639
  # ModifyTableStatus返回参数结构体
7901
7640
  class ModifyTableStatusResponse < TencentCloud::Common::AbstractModel
7902
7641
  # @param Status: 0:正常,-1:不正常
7903
- # 注意:此字段可能返回 null,表示取不到有效值。
7904
7642
  # @type Status: Integer
7905
7643
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7906
7644
  # @type RequestId: String
@@ -8059,10 +7797,8 @@ module TencentCloud
8059
7797
  # @param Eip: 弹性公网ip
8060
7798
  # @type Eip: String
8061
7799
  # @param NatGatewayId: 所属的Nat网关Id
8062
- # 注意:此字段可能返回 null,表示取不到有效值。
8063
7800
  # @type NatGatewayId: String
8064
7801
  # @param NatGatewayName: Nat网关名称
8065
- # 注意:此字段可能返回 null,表示取不到有效值。
8066
7802
  # @type NatGatewayName: String
8067
7803
 
8068
7804
  attr_accessor :Eip, :NatGatewayId, :NatGatewayName
@@ -8107,16 +7843,12 @@ module TencentCloud
8107
7843
  # @param NatinsName: nat实例名称
8108
7844
  # @type NatinsName: String
8109
7845
  # @param Region: 实例所在地域
8110
- # 注意:此字段可能返回 null,表示取不到有效值。
8111
7846
  # @type Region: String
8112
7847
  # @param FwMode: 0:新增模式,1:接入模式
8113
- # 注意:此字段可能返回 null,表示取不到有效值。
8114
7848
  # @type FwMode: Integer
8115
7849
  # @param Status: 0:正常状态, 1: 正在创建
8116
- # 注意:此字段可能返回 null,表示取不到有效值。
8117
7850
  # @type Status: Integer
8118
7851
  # @param NatIp: nat公网ip
8119
- # 注意:此字段可能返回 null,表示取不到有效值。
8120
7852
  # @type NatIp: String
8121
7853
 
8122
7854
  attr_accessor :NatinsId, :NatinsName, :Region, :FwMode, :Status, :NatIp
@@ -8159,71 +7891,50 @@ module TencentCloud
8159
7891
  # @param RegionZh: 地域中文信息
8160
7892
  # @type RegionZh: String
8161
7893
  # @param EipAddress: 公网ip数组
8162
- # 注意:此字段可能返回 null,表示取不到有效值。
8163
7894
  # @type EipAddress: Array
8164
7895
  # @param VpcIp: 内外使用ip数组
8165
- # 注意:此字段可能返回 null,表示取不到有效值。
8166
7896
  # @type VpcIp: Array
8167
7897
  # @param Subnets: 实例关联子网数组
8168
- # 注意:此字段可能返回 null,表示取不到有效值。
8169
7898
  # @type Subnets: Array
8170
7899
  # @param Status: 0 :正常 1:正在初始化
8171
- # 注意:此字段可能返回 null,表示取不到有效值。
8172
7900
  # @type Status: Integer
8173
7901
  # @param RegionDetail: 地域区域信息
8174
- # 注意:此字段可能返回 null,表示取不到有效值。
8175
7902
  # @type RegionDetail: String
8176
7903
  # @param ZoneZh: 实例所在可用区
8177
- # 注意:此字段可能返回 null,表示取不到有效值。
8178
7904
  # @type ZoneZh: String
8179
7905
  # @param ZoneZhBak: 实例所在可用区
8180
- # 注意:此字段可能返回 null,表示取不到有效值。
8181
7906
  # @type ZoneZhBak: String
8182
7907
  # @param RuleUsed: 已使用规则数
8183
- # 注意:此字段可能返回 null,表示取不到有效值。
8184
7908
  # @type RuleUsed: Integer
8185
7909
  # @param RuleMax: 实例的规则限制最大规格数
8186
- # 注意:此字段可能返回 null,表示取不到有效值。
8187
7910
  # @type RuleMax: Integer
8188
7911
  # @param EngineVersion: 实例引擎版本
8189
- # 注意:此字段可能返回 null,表示取不到有效值。
8190
7912
  # @type EngineVersion: String
8191
7913
  # @param UpdateEnable: 引擎是否可升级:0,不可升级;1,可升级
8192
- # 注意:此字段可能返回 null,表示取不到有效值。
8193
7914
  # @type UpdateEnable: Integer
8194
7915
  # @param NeedProbeEngineUpdate: 是的需要升级引擎 支持 nat拨测 1需要 0不需要
8195
- # 注意:此字段可能返回 null,表示取不到有效值。
8196
7916
  # @type NeedProbeEngineUpdate: Integer
8197
7917
  # @param TrafficMode: 引擎运行模式,Normal:正常, OnlyRoute:透明模式
8198
- # 注意:此字段可能返回 null,表示取不到有效值。
8199
7918
  # @type TrafficMode: String
8200
7919
  # @param Zone: 实例主所在可用区
8201
- # 注意:此字段可能返回 null,表示取不到有效值。
8202
7920
  # @type Zone: String
8203
7921
  # @param ZoneBak: 实例备所在可用区
8204
- # 注意:此字段可能返回 null,表示取不到有效值。
8205
7922
  # @type ZoneBak: String
8206
7923
  # @param ReserveTime: 引擎预约升级时间
8207
- # 注意:此字段可能返回 null,表示取不到有效值。
8208
7924
  # @type ReserveTime: String
8209
7925
  # @param ReserveVersion: 引擎预约升级版本
8210
- # 注意:此字段可能返回 null,表示取不到有效值。
8211
7926
  # @type ReserveVersion: String
8212
- # @param ReserveVersionState: 引擎预约升级版本状态
8213
- # 注意:此字段可能返回 null,表示取不到有效值。
7927
+ # @param ReserveVersionState: 引擎预约升级版本状态 stable:稳定版;previewed:预览版
8214
7928
  # @type ReserveVersionState: String
8215
7929
  # @param ElasticSwitch: 弹性开关
8216
7930
  # 1 打开
8217
7931
  # 0 关闭
8218
- # 注意:此字段可能返回 null,表示取不到有效值。
8219
7932
  # @type ElasticSwitch: Integer
8220
7933
  # @param ElasticBandwidth: 弹性带宽,单位Mbps
8221
- # 注意:此字段可能返回 null,表示取不到有效值。
8222
7934
  # @type ElasticBandwidth: Integer
8223
7935
  # @param IsFirstAfterPay: 是否首次开通按量付费
8224
7936
  # 1 是
8225
7937
  # 0 不是
8226
- # 注意:此字段可能返回 null,表示取不到有效值。
8227
7938
  # @type IsFirstAfterPay: Integer
8228
7939
 
8229
7940
  attr_accessor :NatinsId, :NatinsName, :Region, :FwMode, :BandWidth, :InFlowMax, :OutFlowMax, :RegionZh, :EipAddress, :VpcIp, :Subnets, :Status, :RegionDetail, :ZoneZh, :ZoneZhBak, :RuleUsed, :RuleMax, :EngineVersion, :UpdateEnable, :NeedProbeEngineUpdate, :TrafficMode, :Zone, :ZoneBak, :ReserveTime, :ReserveVersion, :ReserveVersionState, :ElasticSwitch, :ElasticBandwidth, :IsFirstAfterPay
@@ -8296,7 +8007,6 @@ module TencentCloud
8296
8007
  # 网络实例信息
8297
8008
  class NetInstancesInfo < TencentCloud::Common::AbstractModel
8298
8009
  # @param InstanceId: 网络实例ID
8299
- # 注意:此字段可能返回 null,表示取不到有效值。
8300
8010
  # @type InstanceId: String
8301
8011
  # @param InstanceName: 网络实例名称
8302
8012
  # @type InstanceName: String
@@ -8367,10 +8077,8 @@ module TencentCloud
8367
8077
  # @param RuleUuid: 删除成功后返回被删除策略的uuid
8368
8078
  # @type RuleUuid: Integer
8369
8079
  # @param ReturnCode: 0代表成功,-1代表失败
8370
- # 注意:此字段可能返回 null,表示取不到有效值。
8371
8080
  # @type ReturnCode: Integer
8372
8081
  # @param ReturnMsg: success代表成功,failed代表失败
8373
- # 注意:此字段可能返回 null,表示取不到有效值。
8374
8082
  # @type ReturnMsg: String
8375
8083
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8376
8084
  # @type RequestId: String
@@ -8457,7 +8165,6 @@ module TencentCloud
8457
8165
  # @param RuleUuid: 删除成功后返回被删除策略的uuid
8458
8166
  # @type RuleUuid: Integer
8459
8167
  # @param Status: 0代表成功,-1代表失败
8460
- # 注意:此字段可能返回 null,表示取不到有效值。
8461
8168
  # @type Status: Integer
8462
8169
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8463
8170
  # @type RequestId: String
@@ -8521,15 +8228,19 @@ module TencentCloud
8521
8228
  class RemoveVpcAcRuleRequest < TencentCloud::Common::AbstractModel
8522
8229
  # @param RuleUuids: 规则的uuid列表,可通过查询规则列表获取,注意:如果传入的是[-1]将删除所有规则
8523
8230
  # @type RuleUuids: Array
8231
+ # @param IpVersion: 仅当RuleUuids为-1时有效;0:删除Ipv4规则,1:删除Ipv6规则;默认为Ipv4类型规则
8232
+ # @type IpVersion: Integer
8524
8233
 
8525
- attr_accessor :RuleUuids
8234
+ attr_accessor :RuleUuids, :IpVersion
8526
8235
 
8527
- def initialize(ruleuuids=nil)
8236
+ def initialize(ruleuuids=nil, ipversion=nil)
8528
8237
  @RuleUuids = ruleuuids
8238
+ @IpVersion = ipversion
8529
8239
  end
8530
8240
 
8531
8241
  def deserialize(params)
8532
8242
  @RuleUuids = params['RuleUuids']
8243
+ @IpVersion = params['IpVersion']
8533
8244
  end
8534
8245
  end
8535
8246
 
@@ -8667,139 +8378,114 @@ module TencentCloud
8667
8378
 
8668
8379
  # 新手引导扫描信息
8669
8380
  class ScanInfo < TencentCloud::Common::AbstractModel
8381
+ # @param ScanPercent: 进度
8382
+ # @type ScanPercent: Float
8670
8383
  # @param ScanResultInfo: 扫描结果信息
8671
8384
  # @type ScanResultInfo: :class:`Tencentcloud::Cfw.v20190904.models.ScanResultInfo`
8672
8385
  # @param ScanStatus: 扫描状态 0扫描中 1完成 2未勾选自动扫描
8673
8386
  # @type ScanStatus: Integer
8674
- # @param ScanPercent: 进度
8675
- # @type ScanPercent: Float
8676
8387
  # @param ScanTime: 预计完成时间
8677
8388
  # @type ScanTime: String
8678
8389
 
8679
- attr_accessor :ScanResultInfo, :ScanStatus, :ScanPercent, :ScanTime
8390
+ attr_accessor :ScanPercent, :ScanResultInfo, :ScanStatus, :ScanTime
8680
8391
 
8681
- def initialize(scanresultinfo=nil, scanstatus=nil, scanpercent=nil, scantime=nil)
8392
+ def initialize(scanpercent=nil, scanresultinfo=nil, scanstatus=nil, scantime=nil)
8393
+ @ScanPercent = scanpercent
8682
8394
  @ScanResultInfo = scanresultinfo
8683
8395
  @ScanStatus = scanstatus
8684
- @ScanPercent = scanpercent
8685
8396
  @ScanTime = scantime
8686
8397
  end
8687
8398
 
8688
8399
  def deserialize(params)
8400
+ @ScanPercent = params['ScanPercent']
8689
8401
  unless params['ScanResultInfo'].nil?
8690
8402
  @ScanResultInfo = ScanResultInfo.new
8691
8403
  @ScanResultInfo.deserialize(params['ScanResultInfo'])
8692
8404
  end
8693
8405
  @ScanStatus = params['ScanStatus']
8694
- @ScanPercent = params['ScanPercent']
8695
8406
  @ScanTime = params['ScanTime']
8696
8407
  end
8697
8408
  end
8698
8409
 
8699
- # 新手引导扫描结果信息PortNum int
8700
- # LeakNum int
8701
- # IPNum int
8702
- # IPStatus bool
8703
- # IdpStatus bool
8704
- # BanStatus bool
8410
+ # 新手引导扫描结果信息
8705
8411
  class ScanResultInfo < TencentCloud::Common::AbstractModel
8706
- # @param LeakNum: 暴露漏洞数量
8707
- # @type LeakNum: Integer
8412
+ # @param BanStatus: 是否禁封端口
8413
+ # @type BanStatus: Boolean
8708
8414
  # @param IPNum: 防护ip数量
8709
8415
  # @type IPNum: Integer
8710
- # @param PortNum: 暴露端口数量
8711
- # @type PortNum: Integer
8712
8416
  # @param IPStatus: 是否开启防护
8713
8417
  # @type IPStatus: Boolean
8714
8418
  # @param IdpStatus: 是否拦截攻击
8715
8419
  # @type IdpStatus: Boolean
8716
- # @param BanStatus: 是否禁封端口
8717
- # @type BanStatus: Boolean
8420
+ # @param LeakNum: 暴露漏洞数量
8421
+ # @type LeakNum: Integer
8422
+ # @param PortNum: 暴露端口数量
8423
+ # @type PortNum: Integer
8718
8424
 
8719
- attr_accessor :LeakNum, :IPNum, :PortNum, :IPStatus, :IdpStatus, :BanStatus
8425
+ attr_accessor :BanStatus, :IPNum, :IPStatus, :IdpStatus, :LeakNum, :PortNum
8720
8426
 
8721
- def initialize(leaknum=nil, ipnum=nil, portnum=nil, ipstatus=nil, idpstatus=nil, banstatus=nil)
8722
- @LeakNum = leaknum
8427
+ def initialize(banstatus=nil, ipnum=nil, ipstatus=nil, idpstatus=nil, leaknum=nil, portnum=nil)
8428
+ @BanStatus = banstatus
8723
8429
  @IPNum = ipnum
8724
- @PortNum = portnum
8725
8430
  @IPStatus = ipstatus
8726
8431
  @IdpStatus = idpstatus
8727
- @BanStatus = banstatus
8432
+ @LeakNum = leaknum
8433
+ @PortNum = portnum
8728
8434
  end
8729
8435
 
8730
8436
  def deserialize(params)
8731
- @LeakNum = params['LeakNum']
8437
+ @BanStatus = params['BanStatus']
8732
8438
  @IPNum = params['IPNum']
8733
- @PortNum = params['PortNum']
8734
8439
  @IPStatus = params['IPStatus']
8735
8440
  @IdpStatus = params['IdpStatus']
8736
- @BanStatus = params['BanStatus']
8441
+ @LeakNum = params['LeakNum']
8442
+ @PortNum = params['PortNum']
8737
8443
  end
8738
8444
  end
8739
8445
 
8740
8446
  # 双向下发的企业安全组规则
8741
8447
  class SecurityGroupBothWayInfo < TencentCloud::Common::AbstractModel
8742
8448
  # @param OrderIndex: 执行顺序
8743
- # 注意:此字段可能返回 null,表示取不到有效值。
8744
8449
  # @type OrderIndex: Integer
8745
8450
  # @param SourceId: 访问源
8746
- # 注意:此字段可能返回 null,表示取不到有效值。
8747
8451
  # @type SourceId: String
8748
8452
  # @param SourceType: 访问源类型,默认为0,0: IP, 1: VPC, 2: SUBNET, 3: CVM, 4: CLB, 5: ENI, 6: CDB, 7: 参数模板, 100: 资产分组
8749
- # 注意:此字段可能返回 null,表示取不到有效值。
8750
8453
  # @type SourceType: Integer
8751
8454
  # @param TargetId: 访问目的
8752
- # 注意:此字段可能返回 null,表示取不到有效值。
8753
8455
  # @type TargetId: String
8754
8456
  # @param TargetType: 访问目的类型,默认为0,0: IP, 1: VPC, 2: SUBNET, 3: CVM, 4: CLB, 5: ENI, 6: CDB, 7: 参数模板, 100: 资产分组
8755
- # 注意:此字段可能返回 null,表示取不到有效值。
8756
8457
  # @type TargetType: Integer
8757
8458
  # @param Protocol: 协议
8758
- # 注意:此字段可能返回 null,表示取不到有效值。
8759
8459
  # @type Protocol: String
8760
8460
  # @param Port: 目的端口
8761
- # 注意:此字段可能返回 null,表示取不到有效值。
8762
8461
  # @type Port: String
8763
8462
  # @param Strategy: 策略, 1:阻断,2:放行
8764
- # 注意:此字段可能返回 null,表示取不到有效值。
8765
8463
  # @type Strategy: Integer
8766
8464
  # @param Direction: 方向,0:出站,1:入站,默认1
8767
- # 注意:此字段可能返回 null,表示取不到有效值。
8768
8465
  # @type Direction: Integer
8769
8466
  # @param Region: 地域
8770
8467
  # @type Region: String
8771
8468
  # @param Detail: 描述
8772
- # 注意:此字段可能返回 null,表示取不到有效值。
8773
8469
  # @type Detail: String
8774
8470
  # @param Status: 是否开关开启,0:未开启,1:开启
8775
- # 注意:此字段可能返回 null,表示取不到有效值。
8776
8471
  # @type Status: Integer
8777
8472
  # @param IsNew: 是否是正常规则,0:正常,1:异常
8778
- # 注意:此字段可能返回 null,表示取不到有效值。
8779
8473
  # @type IsNew: Integer
8780
8474
  # @param BothWay: 单/双向下发,0:单向下发,1:双向下发
8781
- # 注意:此字段可能返回 null,表示取不到有效值。
8782
8475
  # @type BothWay: Integer
8783
8476
  # @param VpcId: 私有网络ID
8784
- # 注意:此字段可能返回 null,表示取不到有效值。
8785
8477
  # @type VpcId: String
8786
8478
  # @param SubnetId: 子网ID
8787
- # 注意:此字段可能返回 null,表示取不到有效值。
8788
8479
  # @type SubnetId: String
8789
8480
  # @param InstanceName: 实例名称
8790
- # 注意:此字段可能返回 null,表示取不到有效值。
8791
8481
  # @type InstanceName: String
8792
8482
  # @param PublicIp: 公网IP,多个以英文逗号分隔
8793
- # 注意:此字段可能返回 null,表示取不到有效值。
8794
8483
  # @type PublicIp: String
8795
8484
  # @param PrivateIp: 内网IP,多个以英文逗号分隔
8796
- # 注意:此字段可能返回 null,表示取不到有效值。
8797
8485
  # @type PrivateIp: String
8798
8486
  # @param Cidr: 掩码地址,多个以英文逗号分隔
8799
- # 注意:此字段可能返回 null,表示取不到有效值。
8800
8487
  # @type Cidr: String
8801
8488
  # @param ServiceTemplateId: 端口协议类型参数模板id
8802
- # 注意:此字段可能返回 null,表示取不到有效值。
8803
8489
  # @type ServiceTemplateId: String
8804
8490
  # @param ProtocolPortType: 是否使用端口协议模板,0:否,1:是
8805
8491
  # @type ProtocolPortType: Integer
@@ -8886,47 +8572,34 @@ module TencentCloud
8886
8572
  # @param IsNew: 是否是正常规则,0:正常,1:异常
8887
8573
  # @type IsNew: Integer
8888
8574
  # @param VpcId: 私有网络ID
8889
- # 注意:此字段可能返回 null,表示取不到有效值。
8890
8575
  # @type VpcId: String
8891
8576
  # @param SubnetId: 子网ID
8892
- # 注意:此字段可能返回 null,表示取不到有效值。
8893
8577
  # @type SubnetId: String
8894
8578
  # @param InstanceName: 实例名称
8895
- # 注意:此字段可能返回 null,表示取不到有效值。
8896
8579
  # @type InstanceName: String
8897
8580
  # @param PublicIp: 公网IP,多个以英文逗号分隔
8898
- # 注意:此字段可能返回 null,表示取不到有效值。
8899
8581
  # @type PublicIp: String
8900
8582
  # @param PrivateIp: 内网IP,多个以英文逗号分隔
8901
- # 注意:此字段可能返回 null,表示取不到有效值。
8902
8583
  # @type PrivateIp: String
8903
8584
  # @param Cidr: 掩码地址,多个以英文逗号分隔
8904
- # 注意:此字段可能返回 null,表示取不到有效值。
8905
8585
  # @type Cidr: String
8906
8586
  # @param ServiceTemplateId: 端口协议类型参数模板id
8907
- # 注意:此字段可能返回 null,表示取不到有效值。
8908
8587
  # @type ServiceTemplateId: String
8909
8588
  # @param BothWayInfo: 生成双向下发规则
8910
- # 注意:此字段可能返回 null,表示取不到有效值。
8911
8589
  # @type BothWayInfo: Array
8912
8590
  # @param Direction: 方向,0:出站,1:入站,默认1
8913
8591
  # @type Direction: Integer
8914
8592
  # @param ProtocolPortType: 是否使用端口协议模板,0:否,1:是
8915
8593
  # @type ProtocolPortType: Integer
8916
8594
  # @param Uuid: Uuid
8917
- # 注意:此字段可能返回 null,表示取不到有效值。
8918
8595
  # @type Uuid: String
8919
8596
  # @param Region: 地域
8920
- # 注意:此字段可能返回 null,表示取不到有效值。
8921
8597
  # @type Region: String
8922
8598
  # @param AssetGroupNameIn: 资产分组名称
8923
- # 注意:此字段可能返回 null,表示取不到有效值。
8924
8599
  # @type AssetGroupNameIn: String
8925
8600
  # @param AssetGroupNameOut: 资产分组名称
8926
- # 注意:此字段可能返回 null,表示取不到有效值。
8927
8601
  # @type AssetGroupNameOut: String
8928
8602
  # @param ParameterName: 模板名称
8929
- # 注意:此字段可能返回 null,表示取不到有效值。
8930
8603
  # @type ParameterName: String
8931
8604
  # @param ProtocolPortName: 端口协议类型参数模板名称
8932
8605
  # @type ProtocolPortName: String
@@ -9056,15 +8729,12 @@ module TencentCloud
9056
8729
  # @param OrderIndex: 规则顺序,-1表示最低,1表示最高,请勿和外层Type冲突(和外层的Type配合使用,当中间插入时,指定添加位置)
9057
8730
  # @type OrderIndex: String
9058
8731
  # @param Protocol: 协议;TCP/UDP/ICMP/ANY
9059
- # 注意:此字段可能返回 null,表示取不到有效值。
9060
8732
  # @type Protocol: String
9061
8733
  # @param Port: 访问控制策略的端口。取值:
9062
8734
  # -1/-1:全部端口
9063
8735
  # 80:80端口
9064
- # 注意:此字段可能返回 null,表示取不到有效值。
9065
8736
  # @type Port: String
9066
8737
  # @param ServiceTemplateId: 端口协议类型参数模板id;协议端口模板id;与Protocol,Port互斥
9067
- # 注意:此字段可能返回 null,表示取不到有效值。
9068
8738
  # @type ServiceTemplateId: String
9069
8739
  # @param Id: (入参时无需填写,自动生成)规则对应的唯一id
9070
8740
  # @type Id: String
@@ -9118,7 +8788,6 @@ module TencentCloud
9118
8788
  # resourcegroup:资产分组(/全部分组/分组1/子分组1)
9119
8789
  # tag:资源标签({"Key":"标签key值","Value":"标签Value值"})
9120
8790
  # region:地域(ap-gaungzhou)
9121
- # 注意:此字段可能返回 null,表示取不到有效值。
9122
8791
  # @type SourceContent: String
9123
8792
  # @param DestContent: 访问目的示例:
9124
8793
  # net:IP/CIDR(192.168.0.2)
@@ -9127,19 +8796,14 @@ module TencentCloud
9127
8796
  # resourcegroup:资产分组(/全部分组/分组1/子分组1)
9128
8797
  # tag:资源标签({"Key":"标签key值","Value":"标签Value值"})
9129
8798
  # region:地域(ap-gaungzhou)
9130
- # 注意:此字段可能返回 null,表示取不到有效值。
9131
8799
  # @type DestContent: String
9132
8800
  # @param Protocol: 协议;TCP/UDP/ICMP/ANY
9133
- # 注意:此字段可能返回 null,表示取不到有效值。
9134
8801
  # @type Protocol: String
9135
8802
  # @param Description: 描述
9136
- # 注意:此字段可能返回 null,表示取不到有效值。
9137
8803
  # @type Description: String
9138
8804
  # @param RuleUuid: 规则对应的唯一id
9139
- # 注意:此字段可能返回 null,表示取不到有效值。
9140
8805
  # @type RuleUuid: Integer
9141
8806
  # @param Sequence: 规则序号
9142
- # 注意:此字段可能返回 null,表示取不到有效值。
9143
8807
  # @type Sequence: Integer
9144
8808
 
9145
8809
  attr_accessor :SourceContent, :DestContent, :Protocol, :Description, :RuleUuid, :Sequence
@@ -9293,39 +8957,38 @@ module TencentCloud
9293
8957
  end
9294
8958
 
9295
8959
  # StaticInfo 告警柱形图统计信息
9296
-
9297
8960
  class StaticInfo < TencentCloud::Common::AbstractModel
9298
- # @param Num: 数
9299
- # @type Num: Integer
9300
- # @param Port: 端口
9301
- # @type Port: String
9302
- # @param Ip: ip信息
9303
- # @type Ip: String
9304
8961
  # @param Address: 地址
9305
8962
  # @type Address: String
9306
8963
  # @param InsID: 资产id
9307
8964
  # @type InsID: String
9308
8965
  # @param InsName: 资产名称
9309
8966
  # @type InsName: String
8967
+ # @param Ip: ip信息
8968
+ # @type Ip: String
8969
+ # @param Num: 数
8970
+ # @type Num: Integer
8971
+ # @param Port: 端口
8972
+ # @type Port: String
9310
8973
 
9311
- attr_accessor :Num, :Port, :Ip, :Address, :InsID, :InsName
8974
+ attr_accessor :Address, :InsID, :InsName, :Ip, :Num, :Port
9312
8975
 
9313
- def initialize(num=nil, port=nil, ip=nil, address=nil, insid=nil, insname=nil)
9314
- @Num = num
9315
- @Port = port
9316
- @Ip = ip
8976
+ def initialize(address=nil, insid=nil, insname=nil, ip=nil, num=nil, port=nil)
9317
8977
  @Address = address
9318
8978
  @InsID = insid
9319
8979
  @InsName = insname
8980
+ @Ip = ip
8981
+ @Num = num
8982
+ @Port = port
9320
8983
  end
9321
8984
 
9322
8985
  def deserialize(params)
9323
- @Num = params['Num']
9324
- @Port = params['Port']
9325
- @Ip = params['Ip']
9326
8986
  @Address = params['Address']
9327
8987
  @InsID = params['InsID']
9328
8988
  @InsName = params['InsName']
8989
+ @Ip = params['Ip']
8990
+ @Num = params['Num']
8991
+ @Port = params['Port']
9329
8992
  end
9330
8993
  end
9331
8994
 
@@ -9348,7 +9011,6 @@ module TencentCloud
9348
9011
  # StopSecurityGroupRuleDispatch返回参数结构体
9349
9012
  class StopSecurityGroupRuleDispatchResponse < TencentCloud::Common::AbstractModel
9350
9013
  # @param Status: true代表成功,false代表错误
9351
- # 注意:此字段可能返回 null,表示取不到有效值。
9352
9014
  # @type Status: Boolean
9353
9015
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9354
9016
  # @type RequestId: String
@@ -9369,40 +9031,30 @@ module TencentCloud
9369
9031
  # 防火墙开关列表对象
9370
9032
  class SwitchListsData < TencentCloud::Common::AbstractModel
9371
9033
  # @param PublicIp: 公网IP
9372
- # 注意:此字段可能返回 null,表示取不到有效值。
9373
9034
  # @type PublicIp: String
9374
9035
  # @param IntranetIp: 内网IP
9375
- # 注意:此字段可能返回 null,表示取不到有效值。
9376
9036
  # @type IntranetIp: String
9377
9037
  # @param InstanceName: 实例名
9378
- # 注意:此字段可能返回 null,表示取不到有效值。
9379
9038
  # @type InstanceName: String
9380
9039
  # @param InstanceId: 实例ID
9381
- # 注意:此字段可能返回 null,表示取不到有效值。
9382
9040
  # @type InstanceId: String
9383
9041
  # @param AssetType: 资产类型
9384
9042
  # @type AssetType: String
9385
9043
  # @param Area: 地域
9386
- # 注意:此字段可能返回 null,表示取不到有效值。
9387
9044
  # @type Area: String
9388
9045
  # @param Switch: 防火墙开关
9389
9046
  # @type Switch: Integer
9390
9047
  # @param Id: id值
9391
9048
  # @type Id: Integer
9392
9049
  # @param PublicIpType: 公网 IP 类型
9393
- # 注意:此字段可能返回 null,表示取不到有效值。
9394
9050
  # @type PublicIpType: Integer
9395
9051
  # @param PortTimes: 风险端口数
9396
- # 注意:此字段可能返回 null,表示取不到有效值。
9397
9052
  # @type PortTimes: Integer
9398
9053
  # @param LastTime: 最近扫描时间
9399
- # 注意:此字段可能返回 null,表示取不到有效值。
9400
9054
  # @type LastTime: String
9401
9055
  # @param ScanMode: 扫描深度
9402
- # 注意:此字段可能返回 null,表示取不到有效值。
9403
9056
  # @type ScanMode: String
9404
9057
  # @param ScanStatus: 扫描状态
9405
- # 注意:此字段可能返回 null,表示取不到有效值。
9406
9058
  # @type ScanStatus: Integer
9407
9059
 
9408
9060
  attr_accessor :PublicIp, :IntranetIp, :InstanceName, :InstanceId, :AssetType, :Area, :Switch, :Id, :PublicIpType, :PortTimes, :LastTime, :ScanMode, :ScanStatus
@@ -9478,37 +9130,37 @@ module TencentCloud
9478
9130
 
9479
9131
  # 告警中心概览数据
9480
9132
  class TLogInfo < TencentCloud::Common::AbstractModel
9481
- # @param OutNum: 失陷主机
9482
- # @type OutNum: Integer
9483
- # @param HandleNum: 待处置告警
9484
- # @type HandleNum: Integer
9485
- # @param VulNum: 漏洞攻击
9486
- # @type VulNum: Integer
9487
- # @param NetworkNum: 网络探测
9488
- # @type NetworkNum: Integer
9489
9133
  # @param BanNum: 封禁列表
9490
9134
  # @type BanNum: Integer
9491
9135
  # @param BruteForceNum: 暴力破解
9492
9136
  # @type BruteForceNum: Integer
9137
+ # @param HandleNum: 待处置告警
9138
+ # @type HandleNum: Integer
9139
+ # @param NetworkNum: 网络探测
9140
+ # @type NetworkNum: Integer
9141
+ # @param OutNum: 失陷主机
9142
+ # @type OutNum: Integer
9143
+ # @param VulNum: 漏洞攻击
9144
+ # @type VulNum: Integer
9493
9145
 
9494
- attr_accessor :OutNum, :HandleNum, :VulNum, :NetworkNum, :BanNum, :BruteForceNum
9146
+ attr_accessor :BanNum, :BruteForceNum, :HandleNum, :NetworkNum, :OutNum, :VulNum
9495
9147
 
9496
- def initialize(outnum=nil, handlenum=nil, vulnum=nil, networknum=nil, bannum=nil, bruteforcenum=nil)
9497
- @OutNum = outnum
9498
- @HandleNum = handlenum
9499
- @VulNum = vulnum
9500
- @NetworkNum = networknum
9148
+ def initialize(bannum=nil, bruteforcenum=nil, handlenum=nil, networknum=nil, outnum=nil, vulnum=nil)
9501
9149
  @BanNum = bannum
9502
9150
  @BruteForceNum = bruteforcenum
9151
+ @HandleNum = handlenum
9152
+ @NetworkNum = networknum
9153
+ @OutNum = outnum
9154
+ @VulNum = vulnum
9503
9155
  end
9504
9156
 
9505
9157
  def deserialize(params)
9506
- @OutNum = params['OutNum']
9507
- @HandleNum = params['HandleNum']
9508
- @VulNum = params['VulNum']
9509
- @NetworkNum = params['NetworkNum']
9510
9158
  @BanNum = params['BanNum']
9511
9159
  @BruteForceNum = params['BruteForceNum']
9160
+ @HandleNum = params['HandleNum']
9161
+ @NetworkNum = params['NetworkNum']
9162
+ @OutNum = params['OutNum']
9163
+ @VulNum = params['VulNum']
9512
9164
  end
9513
9165
  end
9514
9166
 
@@ -9535,40 +9187,28 @@ module TencentCloud
9535
9187
  # 地址模板列表数据
9536
9188
  class TemplateListInfo < TencentCloud::Common::AbstractModel
9537
9189
  # @param Uuid: 模板ID
9538
- # 注意:此字段可能返回 null,表示取不到有效值。
9539
9190
  # @type Uuid: String
9540
9191
  # @param Name: 模板名称
9541
- # 注意:此字段可能返回 null,表示取不到有效值。
9542
9192
  # @type Name: String
9543
9193
  # @param Detail: 描述
9544
- # 注意:此字段可能返回 null,表示取不到有效值。
9545
9194
  # @type Detail: String
9546
9195
  # @param IpString: IP模板
9547
- # 注意:此字段可能返回 null,表示取不到有效值。
9548
9196
  # @type IpString: String
9549
9197
  # @param InsertTime: 插入时间
9550
- # 注意:此字段可能返回 null,表示取不到有效值。
9551
9198
  # @type InsertTime: String
9552
9199
  # @param UpdateTime: 修改时间
9553
- # 注意:此字段可能返回 null,表示取不到有效值。
9554
9200
  # @type UpdateTime: String
9555
9201
  # @param Type: 模板类型
9556
- # 注意:此字段可能返回 null,表示取不到有效值。
9557
9202
  # @type Type: Integer
9558
9203
  # @param RulesNum: 关联规则条数
9559
- # 注意:此字段可能返回 null,表示取不到有效值。
9560
9204
  # @type RulesNum: Integer
9561
9205
  # @param TemplateId: 模板Id
9562
- # 注意:此字段可能返回 null,表示取不到有效值。
9563
9206
  # @type TemplateId: String
9564
9207
  # @param ProtocolType: 协议端口模板,协议类型,4:4层协议,7:7层协议
9565
- # 注意:此字段可能返回 null,表示取不到有效值。
9566
9208
  # @type ProtocolType: String
9567
9209
  # @param IPNum: 模板包含地址数量
9568
- # 注意:此字段可能返回 null,表示取不到有效值。
9569
9210
  # @type IPNum: Integer
9570
9211
  # @param IpVersion: IP版本,0,IPv4;1,IPv6
9571
- # 注意:此字段可能返回 null,表示取不到有效值。
9572
9212
  # @type IpVersion: Integer
9573
9213
 
9574
9214
  attr_accessor :Uuid, :Name, :Detail, :IpString, :InsertTime, :UpdateTime, :Type, :RulesNum, :TemplateId, :ProtocolType, :IPNum, :IpVersion
@@ -9615,7 +9255,6 @@ module TencentCloud
9615
9255
  # @param BaseLineOutSwitch: 1 打开 0 关闭
9616
9256
  # @type BaseLineOutSwitch: Integer
9617
9257
  # @param VpcFwCount: vpc间防火墙实例数量
9618
- # 注意:此字段可能返回 null,表示取不到有效值。
9619
9258
  # @type VpcFwCount: Integer
9620
9259
 
9621
9260
  attr_accessor :EventTableListStruct, :BaseLineUser, :BaseLineInSwitch, :BaseLineOutSwitch, :VpcFwCount
@@ -9677,18 +9316,14 @@ module TencentCloud
9677
9316
  # @param DNSEip: 外网弹性ip,防火墙 dns解析地址
9678
9317
  # @type DNSEip: String
9679
9318
  # @param NatInsId: nat网关id
9680
- # 注意:此字段可能返回 null,表示取不到有效值。
9681
9319
  # @type NatInsId: String
9682
9320
  # @param NatInsName: nat网关名称
9683
- # 注意:此字段可能返回 null,表示取不到有效值。
9684
9321
  # @type NatInsName: String
9685
9322
  # @param SwitchStatus: 0:开关关闭 , 1: 开关打开
9686
9323
  # @type SwitchStatus: Integer
9687
9324
  # @param ProtectedStatus: 0:未防护, 1: 已防护,2:忽略此字段
9688
- # 注意:此字段可能返回 null,表示取不到有效值。
9689
9325
  # @type ProtectedStatus: Integer
9690
9326
  # @param SupportDNSFW: 是否支持DNS FW,0-不支持、1-支持
9691
- # 注意:此字段可能返回 null,表示取不到有效值。
9692
9327
  # @type SupportDNSFW: Integer
9693
9328
 
9694
9329
  attr_accessor :VpcId, :VpcName, :FwMode, :VpcIpv4Cidr, :DNSEip, :NatInsId, :NatInsName, :SwitchStatus, :ProtectedStatus, :SupportDNSFW
@@ -9723,31 +9358,22 @@ module TencentCloud
9723
9358
  # VPC防火墙实例的CVM信息
9724
9359
  class VpcFwCvmInsInfo < TencentCloud::Common::AbstractModel
9725
9360
  # @param FwInsId: VPC防火墙实例ID
9726
- # 注意:此字段可能返回 null,表示取不到有效值。
9727
9361
  # @type FwInsId: String
9728
9362
  # @param Region: CVM所在地域
9729
- # 注意:此字段可能返回 null,表示取不到有效值。
9730
9363
  # @type Region: String
9731
9364
  # @param RegionZh: CVM所在地域中文
9732
- # 注意:此字段可能返回 null,表示取不到有效值。
9733
9365
  # @type RegionZh: String
9734
9366
  # @param RegionDetail: CVM所在地域详情
9735
- # 注意:此字段可能返回 null,表示取不到有效值。
9736
9367
  # @type RegionDetail: String
9737
9368
  # @param ZoneZh: 主机所在可用区
9738
- # 注意:此字段可能返回 null,表示取不到有效值。
9739
9369
  # @type ZoneZh: String
9740
9370
  # @param ZoneZhBack: 备机所在可用区
9741
- # 注意:此字段可能返回 null,表示取不到有效值。
9742
9371
  # @type ZoneZhBack: String
9743
9372
  # @param BandWidth: 防火墙CVM带宽值
9744
- # 注意:此字段可能返回 null,表示取不到有效值。
9745
9373
  # @type BandWidth: Integer
9746
9374
  # @param Zone: 实例主机所在可用区
9747
- # 注意:此字段可能返回 null,表示取不到有效值。
9748
9375
  # @type Zone: String
9749
9376
  # @param ZoneBak: 实例备机所在可用区
9750
- # 注意:此字段可能返回 null,表示取不到有效值。
9751
9377
  # @type ZoneBak: String
9752
9378
 
9753
9379
  attr_accessor :FwInsId, :Region, :RegionZh, :RegionDetail, :ZoneZh, :ZoneZhBack, :BandWidth, :Zone, :ZoneBak
@@ -9780,46 +9406,33 @@ module TencentCloud
9780
9406
  # VPC防火墙(组)及防火墙实例详情信息
9781
9407
  class VpcFwGroupInfo < TencentCloud::Common::AbstractModel
9782
9408
  # @param FwGroupId: 防火墙(组)ID
9783
- # 注意:此字段可能返回 null,表示取不到有效值。
9784
9409
  # @type FwGroupId: String
9785
9410
  # @param FwGroupName: 防火墙(组)名称
9786
- # 注意:此字段可能返回 null,表示取不到有效值。
9787
9411
  # @type FwGroupName: String
9788
9412
  # @param FwSwitchNum: 防火墙组涉及到的开关个数
9789
- # 注意:此字段可能返回 null,表示取不到有效值。
9790
9413
  # @type FwSwitchNum: Integer
9791
9414
  # @param RegionLst: 防火墙(组)部署的地域
9792
- # 注意:此字段可能返回 null,表示取不到有效值。
9793
9415
  # @type RegionLst: Array
9794
9416
  # @param Mode: 模式 1:CCN云联网模式;0:私有网络模式 2: sase 模式 3:ccn 高级模式 4: 私有网络(跨租户单边模式)
9795
- # 注意:此字段可能返回 null,表示取不到有效值。
9796
9417
  # @type Mode: Integer
9797
9418
  # @param SwitchMode: 防火墙实例的开关模式 1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由
9798
- # 注意:此字段可能返回 null,表示取不到有效值。
9799
9419
  # @type SwitchMode: Integer
9800
9420
  # @param FwInstanceLst: VPC防火墙实例卡片信息数组
9801
- # 注意:此字段可能返回 null,表示取不到有效值。
9802
9421
  # @type FwInstanceLst: Array
9803
9422
  # @param Status: 防火墙(状态) 0:正常 1: 初始化或操作中
9804
- # 注意:此字段可能返回 null,表示取不到有效值。
9805
9423
  # @type Status: Integer
9806
9424
  # @param FwVpcCidr: auto :自动选择
9807
9425
  # 如果为网段,则为用户自定义 192.168.0.0/20
9808
9426
  # @type FwVpcCidr: String
9809
9427
  # @param CdcId: cdc专用集群场景时表示部署所属的cdc
9810
- # 注意:此字段可能返回 null,表示取不到有效值。
9811
9428
  # @type CdcId: String
9812
9429
  # @param CdcName: cdc专用集群场景时表示cdc名称
9813
- # 注意:此字段可能返回 null,表示取不到有效值。
9814
9430
  # @type CdcName: String
9815
9431
  # @param CrossUserMode: 跨租户模式 1管理员 2单边 0 非跨租户
9816
- # 注意:此字段可能返回 null,表示取不到有效值。
9817
9432
  # @type CrossUserMode: String
9818
9433
  # @param NeedSwitchCcnOverlap: 云联网模式下,当前实例是否需要开启重叠路由开关,1:需要开启,0:不需要开启
9819
- # 注意:此字段可能返回 null,表示取不到有效值。
9820
9434
  # @type NeedSwitchCcnOverlap: Integer
9821
9435
  # @param CcnId: 云联网模式下,实例关联的云联网id
9822
- # 注意:此字段可能返回 null,表示取不到有效值。
9823
9436
  # @type CcnId: String
9824
9437
 
9825
9438
  attr_accessor :FwGroupId, :FwGroupName, :FwSwitchNum, :RegionLst, :Mode, :SwitchMode, :FwInstanceLst, :Status, :FwVpcCidr, :CdcId, :CdcName, :CrossUserMode, :NeedSwitchCcnOverlap, :CcnId
@@ -9900,95 +9513,66 @@ module TencentCloud
9900
9513
  # VPC防火墙实例卡片信息
9901
9514
  class VpcFwInstanceInfo < TencentCloud::Common::AbstractModel
9902
9515
  # @param FwInsName: VPC防火墙实例名称
9903
- # 注意:此字段可能返回 null,表示取不到有效值。
9904
9516
  # @type FwInsName: String
9905
9517
  # @param FwInsId: VPC防火墙实例ID
9906
- # 注意:此字段可能返回 null,表示取不到有效值。
9907
9518
  # @type FwInsId: String
9908
9519
  # @param FwMode: VPC防火墙实例模式 0: 旧VPC模式防火墙 1: CCN模式防火墙
9909
- # 注意:此字段可能返回 null,表示取不到有效值。
9910
9520
  # @type FwMode: Integer
9911
9521
  # @param JoinInsNum: VPC防火墙接入网络实例个数
9912
- # 注意:此字段可能返回 null,表示取不到有效值。
9913
9522
  # @type JoinInsNum: Integer
9914
9523
  # @param FwSwitchNum: VPC防火墙开关个数
9915
- # 注意:此字段可能返回 null,表示取不到有效值。
9916
9524
  # @type FwSwitchNum: Integer
9917
9525
  # @param Status: VPC防火墙状态 0:正常 , 1:创建中 2: 变更中
9918
- # 注意:此字段可能返回 null,表示取不到有效值。
9919
9526
  # @type Status: Integer
9920
9527
  # @param Time: VPC防火墙创建时间
9921
- # 注意:此字段可能返回 null,表示取不到有效值。
9922
9528
  # @type Time: String
9923
9529
  # @param CcnId: VPC 相关云联网ID列表
9924
- # 注意:此字段可能返回 null,表示取不到有效值。
9925
9530
  # @type CcnId: Array
9926
9531
  # @param CcnName: VPC 相关云联网名称列表
9927
- # 注意:此字段可能返回 null,表示取不到有效值。
9928
9532
  # @type CcnName: Array
9929
9533
  # @param PeerConnectionId: VPC 相关对等连接ID列表
9930
- # 注意:此字段可能返回 null,表示取不到有效值。
9931
9534
  # @type PeerConnectionId: Array
9932
9535
  # @param PeerConnectionName: VPC 相关对等连接名称列表
9933
- # 注意:此字段可能返回 null,表示取不到有效值。
9934
9536
  # @type PeerConnectionName: Array
9935
9537
  # @param FwCvmLst: VPC防火墙CVM的列表
9936
- # 注意:此字段可能返回 null,表示取不到有效值。
9937
9538
  # @type FwCvmLst: Array
9938
9539
  # @param JoinInsLst: VPC防火墙接入网络实例类型列表
9939
- # 注意:此字段可能返回 null,表示取不到有效值。
9940
9540
  # @type JoinInsLst: Array
9941
9541
  # @param FwGateway: 防火墙网关信息
9942
- # 注意:此字段可能返回 null,表示取不到有效值。
9943
9542
  # @type FwGateway: Array
9944
9543
  # @param FwGroupId: 防火墙(组)ID
9945
- # 注意:此字段可能返回 null,表示取不到有效值。
9946
9544
  # @type FwGroupId: String
9947
9545
  # @param RuleUsed: 已使用规则数
9948
- # 注意:此字段可能返回 null,表示取不到有效值。
9949
9546
  # @type RuleUsed: Integer
9950
9547
  # @param RuleMax: 最大规则数
9951
- # 注意:此字段可能返回 null,表示取不到有效值。
9952
9548
  # @type RuleMax: Integer
9953
9549
  # @param Width: 防火墙实例带宽
9954
- # 注意:此字段可能返回 null,表示取不到有效值。
9955
9550
  # @type Width: Integer
9956
9551
  # @param UserVpcWidth: 用户VPC墙总带宽
9957
- # 注意:此字段可能返回 null,表示取不到有效值。
9958
9552
  # @type UserVpcWidth: Integer
9959
9553
  # @param JoinInsIdLst: 接入的vpc列表
9960
- # 注意:此字段可能返回 null,表示取不到有效值。
9961
9554
  # @type JoinInsIdLst: Array
9962
9555
  # @param FlowMax: 内网间峰值带宽 (单位 bps )
9963
9556
  # @type FlowMax: Integer
9964
9557
  # @param EngineVersion: 实例引擎版本
9965
- # 注意:此字段可能返回 null,表示取不到有效值。
9966
9558
  # @type EngineVersion: String
9967
9559
  # @param UpdateEnable: 引擎是否可升级:0,不可升级;1,可升级
9968
- # 注意:此字段可能返回 null,表示取不到有效值。
9969
9560
  # @type UpdateEnable: Integer
9970
9561
  # @param TrafficMode: 引擎运行模式,Normal:正常, OnlyRoute:透明模式
9971
- # 注意:此字段可能返回 null,表示取不到有效值。
9972
9562
  # @type TrafficMode: String
9973
9563
  # @param ReserveTime: 引擎预约升级时间
9974
- # 注意:此字段可能返回 null,表示取不到有效值。
9975
9564
  # @type ReserveTime: String
9976
9565
  # @param ReserveVersion: 预约引擎升级版本
9977
- # 注意:此字段可能返回 null,表示取不到有效值。
9978
9566
  # @type ReserveVersion: String
9979
9567
  # @param ReserveVersionState: 引擎预约升级版本状态
9980
- # 注意:此字段可能返回 null,表示取不到有效值。
9981
9568
  # @type ReserveVersionState: String
9982
9569
  # @param ElasticSwitch: 弹性开关 1打开 0关闭
9983
- # 注意:此字段可能返回 null,表示取不到有效值。
9984
9570
  # @type ElasticSwitch: Integer
9985
9571
  # @param ElasticBandwidth: 弹性带宽,单位Mbps
9986
- # 注意:此字段可能返回 null,表示取不到有效值。
9987
9572
  # @type ElasticBandwidth: Integer
9988
9573
  # @param IsFirstAfterPay: 是否首次开通按量付费
9989
9574
  # 1 是
9990
9575
  # 0 不是
9991
- # 注意:此字段可能返回 null,表示取不到有效值。
9992
9576
  # @type IsFirstAfterPay: Integer
9993
9577
 
9994
9578
  attr_accessor :FwInsName, :FwInsId, :FwMode, :JoinInsNum, :FwSwitchNum, :Status, :Time, :CcnId, :CcnName, :PeerConnectionId, :PeerConnectionName, :FwCvmLst, :JoinInsLst, :FwGateway, :FwGroupId, :RuleUsed, :RuleMax, :Width, :UserVpcWidth, :JoinInsIdLst, :FlowMax, :EngineVersion, :UpdateEnable, :TrafficMode, :ReserveTime, :ReserveVersion, :ReserveVersionState, :ElasticSwitch, :ElasticBandwidth, :IsFirstAfterPay
@@ -10086,10 +9670,8 @@ module TencentCloud
10086
9670
  # @param FwInsId: VPC防火墙实例ID
10087
9671
  # @type FwInsId: String
10088
9672
  # @param FwInsName: VPC防火墙实例名称
10089
- # 注意:此字段可能返回 null,表示取不到有效值。
10090
9673
  # @type FwInsName: String
10091
9674
  # @param FwInsRegion: 网络经过VPC防火墙CVM所在地域
10092
- # 注意:此字段可能返回 null,表示取不到有效值。
10093
9675
  # @type FwInsRegion: String
10094
9676
 
10095
9677
  attr_accessor :FwInsId, :FwInsName, :FwInsRegion
@@ -10110,10 +9692,8 @@ module TencentCloud
10110
9692
  # VPC防火墙接入的网络实例类型及数量
10111
9693
  class VpcFwJoinInstanceType < TencentCloud::Common::AbstractModel
10112
9694
  # @param JoinType: 接入实例类型,VPC、DIRECTCONNECT、 VPNGW 等
10113
- # 注意:此字段可能返回 null,表示取不到有效值。
10114
9695
  # @type JoinType: String
10115
9696
  # @param Num: 接入的对应网络实例类型的数量
10116
- # 注意:此字段可能返回 null,表示取不到有效值。
10117
9697
  # @type Num: Integer
10118
9698
 
10119
9699
  attr_accessor :JoinType, :Num
@@ -10156,7 +9736,6 @@ module TencentCloud
10156
9736
  # FTP
10157
9737
  # DNS
10158
9738
  # TLS/SSL
10159
- # 注意:此字段可能返回 null,表示取不到有效值。
10160
9739
  # @type Protocol: String
10161
9740
  # @param RuleAction: 访问控制策略中设置的流量通过云防火墙的方式。取值:
10162
9741
  # accept:放行
@@ -10166,7 +9745,6 @@ module TencentCloud
10166
9745
  # @param Port: 访问控制策略的端口。取值:
10167
9746
  # -1/-1:全部端口
10168
9747
  # 80:80端口
10169
- # 注意:此字段可能返回 null,表示取不到有效值。
10170
9748
  # @type Port: String
10171
9749
  # @param Description: 描述
10172
9750
  # @type Description: String
@@ -10187,33 +9765,27 @@ module TencentCloud
10187
9765
  # @param Deleted: 规则被删除:1,已删除;0,未删除
10188
9766
  # @type Deleted: Integer
10189
9767
  # @param FwGroupId: 规则生效的防火墙实例ID
10190
- # 注意:此字段可能返回 null,表示取不到有效值。
10191
9768
  # @type FwGroupId: String
10192
9769
  # @param FwGroupName: 防火墙名称
10193
- # 注意:此字段可能返回 null,表示取不到有效值。
10194
9770
  # @type FwGroupName: String
10195
9771
  # @param BetaList: beta任务详情
10196
- # 注意:此字段可能返回 null,表示取不到有效值。
10197
9772
  # @type BetaList: Array
10198
9773
  # @param ParamTemplateId: 端口协议组ID
10199
- # 注意:此字段可能返回 null,表示取不到有效值。
10200
9774
  # @type ParamTemplateId: String
10201
9775
  # @param ParamTemplateName: 端口协议组名称
10202
- # 注意:此字段可能返回 null,表示取不到有效值。
10203
9776
  # @type ParamTemplateName: String
10204
9777
  # @param TargetName: 访问目的名称
10205
- # 注意:此字段可能返回 null,表示取不到有效值。
10206
9778
  # @type TargetName: String
10207
9779
  # @param SourceName: 访问源名称
10208
- # 注意:此字段可能返回 null,表示取不到有效值。
10209
9780
  # @type SourceName: String
10210
9781
  # @param IpVersion: Ip版本,0:IPv4,1:IPv6,默认为IPv4
10211
- # 注意:此字段可能返回 null,表示取不到有效值。
10212
9782
  # @type IpVersion: Integer
9783
+ # @param Invalid: 是否是无效规则,0 表示有效规则,1 表示无效规则,出参场景返回使用
9784
+ # @type Invalid: Integer
10213
9785
 
10214
- attr_accessor :SourceContent, :SourceType, :DestContent, :DestType, :Protocol, :RuleAction, :Port, :Description, :OrderIndex, :Enable, :EdgeId, :Uuid, :DetectedTimes, :EdgeName, :InternalUuid, :Deleted, :FwGroupId, :FwGroupName, :BetaList, :ParamTemplateId, :ParamTemplateName, :TargetName, :SourceName, :IpVersion
9786
+ attr_accessor :SourceContent, :SourceType, :DestContent, :DestType, :Protocol, :RuleAction, :Port, :Description, :OrderIndex, :Enable, :EdgeId, :Uuid, :DetectedTimes, :EdgeName, :InternalUuid, :Deleted, :FwGroupId, :FwGroupName, :BetaList, :ParamTemplateId, :ParamTemplateName, :TargetName, :SourceName, :IpVersion, :Invalid
10215
9787
 
10216
- def initialize(sourcecontent=nil, sourcetype=nil, destcontent=nil, desttype=nil, protocol=nil, ruleaction=nil, port=nil, description=nil, orderindex=nil, enable=nil, edgeid=nil, uuid=nil, detectedtimes=nil, edgename=nil, internaluuid=nil, deleted=nil, fwgroupid=nil, fwgroupname=nil, betalist=nil, paramtemplateid=nil, paramtemplatename=nil, targetname=nil, sourcename=nil, ipversion=nil)
9788
+ def initialize(sourcecontent=nil, sourcetype=nil, destcontent=nil, desttype=nil, protocol=nil, ruleaction=nil, port=nil, description=nil, orderindex=nil, enable=nil, edgeid=nil, uuid=nil, detectedtimes=nil, edgename=nil, internaluuid=nil, deleted=nil, fwgroupid=nil, fwgroupname=nil, betalist=nil, paramtemplateid=nil, paramtemplatename=nil, targetname=nil, sourcename=nil, ipversion=nil, invalid=nil)
10217
9789
  @SourceContent = sourcecontent
10218
9790
  @SourceType = sourcetype
10219
9791
  @DestContent = destcontent
@@ -10238,6 +9810,7 @@ module TencentCloud
10238
9810
  @TargetName = targetname
10239
9811
  @SourceName = sourcename
10240
9812
  @IpVersion = ipversion
9813
+ @Invalid = invalid
10241
9814
  end
10242
9815
 
10243
9816
  def deserialize(params)
@@ -10272,6 +9845,7 @@ module TencentCloud
10272
9845
  @TargetName = params['TargetName']
10273
9846
  @SourceName = params['SourceName']
10274
9847
  @IpVersion = params['IpVersion']
9848
+ @Invalid = params['Invalid']
10275
9849
  end
10276
9850
  end
10277
9851