tencentcloud-sdk-antiddos 1.0.253 → 1.0.257
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200309/client.rb +504 -0
- data/lib/v20200309/models.rb +1583 -190
- metadata +2 -2
data/lib/v20200309/models.rb
CHANGED
@@ -573,13 +573,13 @@ module TencentCloud
|
|
573
573
|
class BoundIpInfo < TencentCloud::Common::AbstractModel
|
574
574
|
# @param Ip: IP地址
|
575
575
|
# @type Ip: String
|
576
|
-
# @param BizType:
|
576
|
+
# @param BizType: 绑定的产品分类,绑定操作为必填项,解绑操作可不填。取值[public(CVM、CLB产品),bm(黑石产品),eni(弹性网卡),vpngw(VPN网关), natgw(NAT网关),waf(Web应用安全产品),fpc(金融产品),gaap(GAAP产品), other(托管IP)]
|
577
577
|
# @type BizType: String
|
578
|
-
# @param InstanceId: IP所属的资源实例ID
|
578
|
+
# @param InstanceId: IP所属的资源实例ID,绑定操作为必填项,解绑操作可不填。例如是弹性网卡的IP,则InstanceId填写弹性网卡的ID(eni-*); 如果绑定的是托管IP没有对应的资源实例ID,请填写"none";
|
579
579
|
# @type InstanceId: String
|
580
|
-
# @param DeviceType:
|
580
|
+
# @param DeviceType: 产品分类下的子类型,绑定操作为必填项,解绑操作可不填。取值[cvm(CVM),lb(负载均衡器),eni(弹性网卡),vpngw(VPN),natgw(NAT),waf(WAF),fpc(金融),gaap(GAAP),other(托管IP),eip(黑石弹性IP)]
|
581
581
|
# @type DeviceType: String
|
582
|
-
# @param IspCode:
|
582
|
+
# @param IspCode: 运营商,绑定操作为必填项,解绑操作可不填。0:电信;1:联通;2:移动;5:BGP
|
583
583
|
# @type IspCode: Integer
|
584
584
|
|
585
585
|
attr_accessor :Ip, :BizType, :InstanceId, :DeviceType, :IspCode
|
@@ -601,6 +601,319 @@ module TencentCloud
|
|
601
601
|
end
|
602
602
|
end
|
603
603
|
|
604
|
+
# CC精准防护配置项
|
605
|
+
class CCPrecisionPlyRecord < TencentCloud::Common::AbstractModel
|
606
|
+
# @param FieldType: 配置项类型,当前仅支持value
|
607
|
+
# @type FieldType: String
|
608
|
+
# @param FieldName: 配置字段,可取值cgi, ua, cookie, referer, accept, srcip
|
609
|
+
# @type FieldName: String
|
610
|
+
# @param Value: 配置取值
|
611
|
+
# @type Value: String
|
612
|
+
# @param ValueOperator: 配置项值比对方式,可取值equal ,not_equal, include
|
613
|
+
# @type ValueOperator: String
|
614
|
+
|
615
|
+
attr_accessor :FieldType, :FieldName, :Value, :ValueOperator
|
616
|
+
|
617
|
+
def initialize(fieldtype=nil, fieldname=nil, value=nil, valueoperator=nil)
|
618
|
+
@FieldType = fieldtype
|
619
|
+
@FieldName = fieldname
|
620
|
+
@Value = value
|
621
|
+
@ValueOperator = valueoperator
|
622
|
+
end
|
623
|
+
|
624
|
+
def deserialize(params)
|
625
|
+
@FieldType = params['FieldType']
|
626
|
+
@FieldName = params['FieldName']
|
627
|
+
@Value = params['Value']
|
628
|
+
@ValueOperator = params['ValueOperator']
|
629
|
+
end
|
630
|
+
end
|
631
|
+
|
632
|
+
# CC精准防护策略信息
|
633
|
+
class CCPrecisionPolicy < TencentCloud::Common::AbstractModel
|
634
|
+
# @param PolicyId: 策略Id
|
635
|
+
# @type PolicyId: String
|
636
|
+
# @param InstanceId: 实例Id
|
637
|
+
# @type InstanceId: String
|
638
|
+
# @param Ip: Ip地址
|
639
|
+
# @type Ip: String
|
640
|
+
# @param Protocol: 协议
|
641
|
+
# @type Protocol: String
|
642
|
+
# @param Domain: 域名
|
643
|
+
# @type Domain: String
|
644
|
+
# @param PolicyAction: 策略方式(丢弃或验证码)
|
645
|
+
# @type PolicyAction: String
|
646
|
+
# @param PolicyList: 策略列表
|
647
|
+
# @type PolicyList: Array
|
648
|
+
# @param CreateTime: 创建时间
|
649
|
+
# @type CreateTime: String
|
650
|
+
# @param ModifyTime: 修改时间
|
651
|
+
# @type ModifyTime: String
|
652
|
+
|
653
|
+
attr_accessor :PolicyId, :InstanceId, :Ip, :Protocol, :Domain, :PolicyAction, :PolicyList, :CreateTime, :ModifyTime
|
654
|
+
|
655
|
+
def initialize(policyid=nil, instanceid=nil, ip=nil, protocol=nil, domain=nil, policyaction=nil, policylist=nil, createtime=nil, modifytime=nil)
|
656
|
+
@PolicyId = policyid
|
657
|
+
@InstanceId = instanceid
|
658
|
+
@Ip = ip
|
659
|
+
@Protocol = protocol
|
660
|
+
@Domain = domain
|
661
|
+
@PolicyAction = policyaction
|
662
|
+
@PolicyList = policylist
|
663
|
+
@CreateTime = createtime
|
664
|
+
@ModifyTime = modifytime
|
665
|
+
end
|
666
|
+
|
667
|
+
def deserialize(params)
|
668
|
+
@PolicyId = params['PolicyId']
|
669
|
+
@InstanceId = params['InstanceId']
|
670
|
+
@Ip = params['Ip']
|
671
|
+
@Protocol = params['Protocol']
|
672
|
+
@Domain = params['Domain']
|
673
|
+
@PolicyAction = params['PolicyAction']
|
674
|
+
unless params['PolicyList'].nil?
|
675
|
+
@PolicyList = []
|
676
|
+
params['PolicyList'].each do |i|
|
677
|
+
ccprecisionplyrecord_tmp = CCPrecisionPlyRecord.new
|
678
|
+
ccprecisionplyrecord_tmp.deserialize(i)
|
679
|
+
@PolicyList << ccprecisionplyrecord_tmp
|
680
|
+
end
|
681
|
+
end
|
682
|
+
@CreateTime = params['CreateTime']
|
683
|
+
@ModifyTime = params['ModifyTime']
|
684
|
+
end
|
685
|
+
end
|
686
|
+
|
687
|
+
# CC频率限制策略
|
688
|
+
class CCReqLimitPolicy < TencentCloud::Common::AbstractModel
|
689
|
+
# @param PolicyId: 策略Id
|
690
|
+
# @type PolicyId: String
|
691
|
+
# @param InstanceId: 实例Id
|
692
|
+
# @type InstanceId: String
|
693
|
+
# @param Ip: Ip地址
|
694
|
+
# @type Ip: String
|
695
|
+
# @param Protocol: 协议,可取值HTTP,HTTPS
|
696
|
+
# @type Protocol: String
|
697
|
+
# @param Domain: 域名
|
698
|
+
# @type Domain: String
|
699
|
+
# @param PolicyRecord: 策略项
|
700
|
+
# @type PolicyRecord: :class:`Tencentcloud::Antiddos.v20200309.models.CCReqLimitPolicyRecord`
|
701
|
+
# @param CreateTime: 创建时间
|
702
|
+
# @type CreateTime: String
|
703
|
+
# @param ModifyTime: 修改时间
|
704
|
+
# @type ModifyTime: String
|
705
|
+
|
706
|
+
attr_accessor :PolicyId, :InstanceId, :Ip, :Protocol, :Domain, :PolicyRecord, :CreateTime, :ModifyTime
|
707
|
+
|
708
|
+
def initialize(policyid=nil, instanceid=nil, ip=nil, protocol=nil, domain=nil, policyrecord=nil, createtime=nil, modifytime=nil)
|
709
|
+
@PolicyId = policyid
|
710
|
+
@InstanceId = instanceid
|
711
|
+
@Ip = ip
|
712
|
+
@Protocol = protocol
|
713
|
+
@Domain = domain
|
714
|
+
@PolicyRecord = policyrecord
|
715
|
+
@CreateTime = createtime
|
716
|
+
@ModifyTime = modifytime
|
717
|
+
end
|
718
|
+
|
719
|
+
def deserialize(params)
|
720
|
+
@PolicyId = params['PolicyId']
|
721
|
+
@InstanceId = params['InstanceId']
|
722
|
+
@Ip = params['Ip']
|
723
|
+
@Protocol = params['Protocol']
|
724
|
+
@Domain = params['Domain']
|
725
|
+
unless params['PolicyRecord'].nil?
|
726
|
+
@PolicyRecord = CCReqLimitPolicyRecord.new
|
727
|
+
@PolicyRecord.deserialize(params['PolicyRecord'])
|
728
|
+
end
|
729
|
+
@CreateTime = params['CreateTime']
|
730
|
+
@ModifyTime = params['ModifyTime']
|
731
|
+
end
|
732
|
+
end
|
733
|
+
|
734
|
+
# CC频率限制策略项字段
|
735
|
+
class CCReqLimitPolicyRecord < TencentCloud::Common::AbstractModel
|
736
|
+
# @param Period: 统计周期,可取值1,10,30,60,单位秒
|
737
|
+
# @type Period: Integer
|
738
|
+
# @param RequestNum: 请求数,取值1~20000
|
739
|
+
# @type RequestNum: Integer
|
740
|
+
# @param Action: 频率限制策略方式,可取值alg表示验证码,drop表示丢弃
|
741
|
+
# @type Action: String
|
742
|
+
# @param ExecuteDuration: 频率限制策略时长,可取值1~86400,单位秒
|
743
|
+
# @type ExecuteDuration: Integer
|
744
|
+
# @param Mode: 策略项比对方式,可取值include表示包含,equal表示等于
|
745
|
+
# @type Mode: String
|
746
|
+
# @param Uri: Uri,三个策略项仅可填其中之一
|
747
|
+
# @type Uri: String
|
748
|
+
# @param UserAgent: User-Agent,三个策略项仅可填其中之一
|
749
|
+
# @type UserAgent: String
|
750
|
+
# @param Cookie: Cookie,三个策略项仅可填其中之一
|
751
|
+
# @type Cookie: String
|
752
|
+
|
753
|
+
attr_accessor :Period, :RequestNum, :Action, :ExecuteDuration, :Mode, :Uri, :UserAgent, :Cookie
|
754
|
+
|
755
|
+
def initialize(period=nil, requestnum=nil, action=nil, executeduration=nil, mode=nil, uri=nil, useragent=nil, cookie=nil)
|
756
|
+
@Period = period
|
757
|
+
@RequestNum = requestnum
|
758
|
+
@Action = action
|
759
|
+
@ExecuteDuration = executeduration
|
760
|
+
@Mode = mode
|
761
|
+
@Uri = uri
|
762
|
+
@UserAgent = useragent
|
763
|
+
@Cookie = cookie
|
764
|
+
end
|
765
|
+
|
766
|
+
def deserialize(params)
|
767
|
+
@Period = params['Period']
|
768
|
+
@RequestNum = params['RequestNum']
|
769
|
+
@Action = params['Action']
|
770
|
+
@ExecuteDuration = params['ExecuteDuration']
|
771
|
+
@Mode = params['Mode']
|
772
|
+
@Uri = params['Uri']
|
773
|
+
@UserAgent = params['UserAgent']
|
774
|
+
@Cookie = params['Cookie']
|
775
|
+
end
|
776
|
+
end
|
777
|
+
|
778
|
+
# CC四层黑白名单列表
|
779
|
+
class CcBlackWhiteIpPolicy < TencentCloud::Common::AbstractModel
|
780
|
+
# @param PolicyId: 策略Id
|
781
|
+
# @type PolicyId: String
|
782
|
+
# @param InstanceId: 实例Id
|
783
|
+
# @type InstanceId: String
|
784
|
+
# @param Ip: IP地址
|
785
|
+
# @type Ip: String
|
786
|
+
# @param Domain: 域名
|
787
|
+
# @type Domain: String
|
788
|
+
# @param Protocol: 协议
|
789
|
+
# @type Protocol: String
|
790
|
+
# @param Type: IP类型,取值[black(黑名单IP), white(白名单IP)]
|
791
|
+
# @type Type: String
|
792
|
+
# @param BlackWhiteIp: 黑白名单IP地址
|
793
|
+
# @type BlackWhiteIp: String
|
794
|
+
# @param Mask: 掩码
|
795
|
+
# @type Mask: Integer
|
796
|
+
# @param CreateTime: 创建时间
|
797
|
+
# @type CreateTime: String
|
798
|
+
# @param ModifyTime: 修改时间
|
799
|
+
# @type ModifyTime: String
|
800
|
+
|
801
|
+
attr_accessor :PolicyId, :InstanceId, :Ip, :Domain, :Protocol, :Type, :BlackWhiteIp, :Mask, :CreateTime, :ModifyTime
|
802
|
+
|
803
|
+
def initialize(policyid=nil, instanceid=nil, ip=nil, domain=nil, protocol=nil, type=nil, blackwhiteip=nil, mask=nil, createtime=nil, modifytime=nil)
|
804
|
+
@PolicyId = policyid
|
805
|
+
@InstanceId = instanceid
|
806
|
+
@Ip = ip
|
807
|
+
@Domain = domain
|
808
|
+
@Protocol = protocol
|
809
|
+
@Type = type
|
810
|
+
@BlackWhiteIp = blackwhiteip
|
811
|
+
@Mask = mask
|
812
|
+
@CreateTime = createtime
|
813
|
+
@ModifyTime = modifytime
|
814
|
+
end
|
815
|
+
|
816
|
+
def deserialize(params)
|
817
|
+
@PolicyId = params['PolicyId']
|
818
|
+
@InstanceId = params['InstanceId']
|
819
|
+
@Ip = params['Ip']
|
820
|
+
@Domain = params['Domain']
|
821
|
+
@Protocol = params['Protocol']
|
822
|
+
@Type = params['Type']
|
823
|
+
@BlackWhiteIp = params['BlackWhiteIp']
|
824
|
+
@Mask = params['Mask']
|
825
|
+
@CreateTime = params['CreateTime']
|
826
|
+
@ModifyTime = params['ModifyTime']
|
827
|
+
end
|
828
|
+
end
|
829
|
+
|
830
|
+
# DDoS防护的区域封禁配置
|
831
|
+
class CcGeoIPBlockConfig < TencentCloud::Common::AbstractModel
|
832
|
+
# @param RegionType: 区域类型,取值[
|
833
|
+
# oversea(海外)
|
834
|
+
# china(国内)
|
835
|
+
# customized(自定义地区)
|
836
|
+
# ]
|
837
|
+
# @type RegionType: String
|
838
|
+
# @param Action: 封禁动作,取值[
|
839
|
+
# drop(拦截)
|
840
|
+
# alg(人机校验)
|
841
|
+
# ]
|
842
|
+
# @type Action: String
|
843
|
+
# @param Id: 配置ID,配置添加成功后生成;添加新配置时不用填写此字段,修改或删除配置时需要填写配置ID
|
844
|
+
# @type Id: String
|
845
|
+
# @param AreaList: 当RegionType为customized时,必须填写AreaList;当RegionType为china或oversea时,AreaList为空
|
846
|
+
# @type AreaList: Array
|
847
|
+
|
848
|
+
attr_accessor :RegionType, :Action, :Id, :AreaList
|
849
|
+
|
850
|
+
def initialize(regiontype=nil, action=nil, id=nil, arealist=nil)
|
851
|
+
@RegionType = regiontype
|
852
|
+
@Action = action
|
853
|
+
@Id = id
|
854
|
+
@AreaList = arealist
|
855
|
+
end
|
856
|
+
|
857
|
+
def deserialize(params)
|
858
|
+
@RegionType = params['RegionType']
|
859
|
+
@Action = params['Action']
|
860
|
+
@Id = params['Id']
|
861
|
+
@AreaList = params['AreaList']
|
862
|
+
end
|
863
|
+
end
|
864
|
+
|
865
|
+
# CC地域封禁列表详情
|
866
|
+
class CcGeoIpPolicyNew < TencentCloud::Common::AbstractModel
|
867
|
+
# @param PolicyId: 策略Id
|
868
|
+
# @type PolicyId: String
|
869
|
+
# @param InstanceId: 实例Id
|
870
|
+
# @type InstanceId: String
|
871
|
+
# @param Ip: IP地址
|
872
|
+
# @type Ip: String
|
873
|
+
# @param Domain: 域名
|
874
|
+
# @type Domain: String
|
875
|
+
# @param Protocol: 协议,可取值HTTP,HTTPS
|
876
|
+
# @type Protocol: String
|
877
|
+
# @param Action: 用户动作,drop或alg
|
878
|
+
# @type Action: String
|
879
|
+
# @param RegionType: 地域类型,分为china, oversea与customized
|
880
|
+
# @type RegionType: String
|
881
|
+
# @param AreaList: 用户选择封禁的地域ID列表
|
882
|
+
# @type AreaList: Array
|
883
|
+
# @param CreateTime: 创建时间
|
884
|
+
# @type CreateTime: String
|
885
|
+
# @param ModifyTime: 修改时间
|
886
|
+
# @type ModifyTime: String
|
887
|
+
|
888
|
+
attr_accessor :PolicyId, :InstanceId, :Ip, :Domain, :Protocol, :Action, :RegionType, :AreaList, :CreateTime, :ModifyTime
|
889
|
+
|
890
|
+
def initialize(policyid=nil, instanceid=nil, ip=nil, domain=nil, protocol=nil, action=nil, regiontype=nil, arealist=nil, createtime=nil, modifytime=nil)
|
891
|
+
@PolicyId = policyid
|
892
|
+
@InstanceId = instanceid
|
893
|
+
@Ip = ip
|
894
|
+
@Domain = domain
|
895
|
+
@Protocol = protocol
|
896
|
+
@Action = action
|
897
|
+
@RegionType = regiontype
|
898
|
+
@AreaList = arealist
|
899
|
+
@CreateTime = createtime
|
900
|
+
@ModifyTime = modifytime
|
901
|
+
end
|
902
|
+
|
903
|
+
def deserialize(params)
|
904
|
+
@PolicyId = params['PolicyId']
|
905
|
+
@InstanceId = params['InstanceId']
|
906
|
+
@Ip = params['Ip']
|
907
|
+
@Domain = params['Domain']
|
908
|
+
@Protocol = params['Protocol']
|
909
|
+
@Action = params['Action']
|
910
|
+
@RegionType = params['RegionType']
|
911
|
+
@AreaList = params['AreaList']
|
912
|
+
@CreateTime = params['CreateTime']
|
913
|
+
@ModifyTime = params['ModifyTime']
|
914
|
+
end
|
915
|
+
end
|
916
|
+
|
604
917
|
# 使用证书的规则集合
|
605
918
|
class CertIdInsL7Rules < TencentCloud::Common::AbstractModel
|
606
919
|
# @param L7Rules: 使用证书的规则列表
|
@@ -815,31 +1128,51 @@ module TencentCloud
|
|
815
1128
|
end
|
816
1129
|
end
|
817
1130
|
|
818
|
-
#
|
819
|
-
class
|
820
|
-
# @param
|
821
|
-
# @type
|
822
|
-
# @param
|
823
|
-
#
|
824
|
-
#
|
825
|
-
#
|
826
|
-
# @
|
1131
|
+
# CreateCCPrecisionPolicy请求参数结构体
|
1132
|
+
class CreateCCPrecisionPolicyRequest < TencentCloud::Common::AbstractModel
|
1133
|
+
# @param InstanceId: 实例Id
|
1134
|
+
# @type InstanceId: String
|
1135
|
+
# @param Ip: IP值
|
1136
|
+
# @type Ip: String
|
1137
|
+
# @param Protocol: 协议, 可取值HTTP,HTTPS
|
1138
|
+
# @type Protocol: String
|
1139
|
+
# @param Domain: 域名
|
1140
|
+
# @type Domain: String
|
1141
|
+
# @param PolicyAction: 策略方式,可取值alg表示验证码,drop表示丢弃
|
1142
|
+
# @type PolicyAction: String
|
1143
|
+
# @param PolicyList: 策略记录
|
1144
|
+
# @type PolicyList: Array
|
827
1145
|
|
828
|
-
attr_accessor :
|
1146
|
+
attr_accessor :InstanceId, :Ip, :Protocol, :Domain, :PolicyAction, :PolicyList
|
829
1147
|
|
830
|
-
def initialize(
|
831
|
-
@
|
832
|
-
@
|
1148
|
+
def initialize(instanceid=nil, ip=nil, protocol=nil, domain=nil, policyaction=nil, policylist=nil)
|
1149
|
+
@InstanceId = instanceid
|
1150
|
+
@Ip = ip
|
1151
|
+
@Protocol = protocol
|
1152
|
+
@Domain = domain
|
1153
|
+
@PolicyAction = policyaction
|
1154
|
+
@PolicyList = policylist
|
833
1155
|
end
|
834
1156
|
|
835
1157
|
def deserialize(params)
|
836
|
-
@
|
837
|
-
@
|
1158
|
+
@InstanceId = params['InstanceId']
|
1159
|
+
@Ip = params['Ip']
|
1160
|
+
@Protocol = params['Protocol']
|
1161
|
+
@Domain = params['Domain']
|
1162
|
+
@PolicyAction = params['PolicyAction']
|
1163
|
+
unless params['PolicyList'].nil?
|
1164
|
+
@PolicyList = []
|
1165
|
+
params['PolicyList'].each do |i|
|
1166
|
+
ccprecisionplyrecord_tmp = CCPrecisionPlyRecord.new
|
1167
|
+
ccprecisionplyrecord_tmp.deserialize(i)
|
1168
|
+
@PolicyList << ccprecisionplyrecord_tmp
|
1169
|
+
end
|
1170
|
+
end
|
838
1171
|
end
|
839
1172
|
end
|
840
1173
|
|
841
|
-
#
|
842
|
-
class
|
1174
|
+
# CreateCCPrecisionPolicy返回参数结构体
|
1175
|
+
class CreateCCPrecisionPolicyResponse < TencentCloud::Common::AbstractModel
|
843
1176
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
844
1177
|
# @type RequestId: String
|
845
1178
|
|
@@ -854,39 +1187,43 @@ module TencentCloud
|
|
854
1187
|
end
|
855
1188
|
end
|
856
1189
|
|
857
|
-
#
|
858
|
-
class
|
859
|
-
# @param InstanceId:
|
1190
|
+
# CreateCCReqLimitPolicy请求参数结构体
|
1191
|
+
class CreateCCReqLimitPolicyRequest < TencentCloud::Common::AbstractModel
|
1192
|
+
# @param InstanceId: 实例Id
|
860
1193
|
# @type InstanceId: String
|
861
|
-
# @param
|
862
|
-
# @type
|
863
|
-
# @param
|
864
|
-
# @type
|
1194
|
+
# @param Ip: IP值
|
1195
|
+
# @type Ip: String
|
1196
|
+
# @param Protocol: 协议,可取值HTTP,HTTPS
|
1197
|
+
# @type Protocol: String
|
1198
|
+
# @param Domain: 域名
|
1199
|
+
# @type Domain: String
|
1200
|
+
# @param Policy: 策略项
|
1201
|
+
# @type Policy: :class:`Tencentcloud::Antiddos.v20200309.models.CCReqLimitPolicyRecord`
|
865
1202
|
|
866
|
-
attr_accessor :InstanceId, :
|
1203
|
+
attr_accessor :InstanceId, :Ip, :Protocol, :Domain, :Policy
|
867
1204
|
|
868
|
-
def initialize(instanceid=nil,
|
1205
|
+
def initialize(instanceid=nil, ip=nil, protocol=nil, domain=nil, policy=nil)
|
869
1206
|
@InstanceId = instanceid
|
870
|
-
@
|
871
|
-
@
|
1207
|
+
@Ip = ip
|
1208
|
+
@Protocol = protocol
|
1209
|
+
@Domain = domain
|
1210
|
+
@Policy = policy
|
872
1211
|
end
|
873
1212
|
|
874
1213
|
def deserialize(params)
|
875
1214
|
@InstanceId = params['InstanceId']
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
end
|
1215
|
+
@Ip = params['Ip']
|
1216
|
+
@Protocol = params['Protocol']
|
1217
|
+
@Domain = params['Domain']
|
1218
|
+
unless params['Policy'].nil?
|
1219
|
+
@Policy = CCReqLimitPolicyRecord.new
|
1220
|
+
@Policy.deserialize(params['Policy'])
|
883
1221
|
end
|
884
|
-
@Type = params['Type']
|
885
1222
|
end
|
886
1223
|
end
|
887
1224
|
|
888
|
-
#
|
889
|
-
class
|
1225
|
+
# CreateCCReqLimitPolicy返回参数结构体
|
1226
|
+
class CreateCCReqLimitPolicyResponse < TencentCloud::Common::AbstractModel
|
890
1227
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
891
1228
|
# @type RequestId: String
|
892
1229
|
|
@@ -901,7 +1238,144 @@ module TencentCloud
|
|
901
1238
|
end
|
902
1239
|
end
|
903
1240
|
|
904
|
-
#
|
1241
|
+
# CreateCcGeoIPBlockConfig请求参数结构体
|
1242
|
+
class CreateCcGeoIPBlockConfigRequest < TencentCloud::Common::AbstractModel
|
1243
|
+
# @param InstanceId: 实例id
|
1244
|
+
# @type InstanceId: String
|
1245
|
+
# @param IP: ip地址
|
1246
|
+
# @type IP: String
|
1247
|
+
# @param Domain: 域名
|
1248
|
+
# @type Domain: String
|
1249
|
+
# @param Protocol: 协议类型
|
1250
|
+
# @type Protocol: String
|
1251
|
+
# @param CcGeoIPBlockConfig: CC区域封禁配置,填写参数时配置ID请为空
|
1252
|
+
# @type CcGeoIPBlockConfig: :class:`Tencentcloud::Antiddos.v20200309.models.CcGeoIPBlockConfig`
|
1253
|
+
|
1254
|
+
attr_accessor :InstanceId, :IP, :Domain, :Protocol, :CcGeoIPBlockConfig
|
1255
|
+
|
1256
|
+
def initialize(instanceid=nil, ip=nil, domain=nil, protocol=nil, ccgeoipblockconfig=nil)
|
1257
|
+
@InstanceId = instanceid
|
1258
|
+
@IP = ip
|
1259
|
+
@Domain = domain
|
1260
|
+
@Protocol = protocol
|
1261
|
+
@CcGeoIPBlockConfig = ccgeoipblockconfig
|
1262
|
+
end
|
1263
|
+
|
1264
|
+
def deserialize(params)
|
1265
|
+
@InstanceId = params['InstanceId']
|
1266
|
+
@IP = params['IP']
|
1267
|
+
@Domain = params['Domain']
|
1268
|
+
@Protocol = params['Protocol']
|
1269
|
+
unless params['CcGeoIPBlockConfig'].nil?
|
1270
|
+
@CcGeoIPBlockConfig = CcGeoIPBlockConfig.new
|
1271
|
+
@CcGeoIPBlockConfig.deserialize(params['CcGeoIPBlockConfig'])
|
1272
|
+
end
|
1273
|
+
end
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
# CreateCcGeoIPBlockConfig返回参数结构体
|
1277
|
+
class CreateCcGeoIPBlockConfigResponse < TencentCloud::Common::AbstractModel
|
1278
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1279
|
+
# @type RequestId: String
|
1280
|
+
|
1281
|
+
attr_accessor :RequestId
|
1282
|
+
|
1283
|
+
def initialize(requestid=nil)
|
1284
|
+
@RequestId = requestid
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
def deserialize(params)
|
1288
|
+
@RequestId = params['RequestId']
|
1289
|
+
end
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
# CreateDDoSAI请求参数结构体
|
1293
|
+
class CreateDDoSAIRequest < TencentCloud::Common::AbstractModel
|
1294
|
+
# @param InstanceIdList: 资源实例ID列表
|
1295
|
+
# @type InstanceIdList: Array
|
1296
|
+
# @param DDoSAI: AI防护开关,取值[
|
1297
|
+
# on(开启)
|
1298
|
+
# off(关闭)
|
1299
|
+
# ]
|
1300
|
+
# @type DDoSAI: String
|
1301
|
+
|
1302
|
+
attr_accessor :InstanceIdList, :DDoSAI
|
1303
|
+
|
1304
|
+
def initialize(instanceidlist=nil, ddosai=nil)
|
1305
|
+
@InstanceIdList = instanceidlist
|
1306
|
+
@DDoSAI = ddosai
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
def deserialize(params)
|
1310
|
+
@InstanceIdList = params['InstanceIdList']
|
1311
|
+
@DDoSAI = params['DDoSAI']
|
1312
|
+
end
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
# CreateDDoSAI返回参数结构体
|
1316
|
+
class CreateDDoSAIResponse < TencentCloud::Common::AbstractModel
|
1317
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1318
|
+
# @type RequestId: String
|
1319
|
+
|
1320
|
+
attr_accessor :RequestId
|
1321
|
+
|
1322
|
+
def initialize(requestid=nil)
|
1323
|
+
@RequestId = requestid
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
def deserialize(params)
|
1327
|
+
@RequestId = params['RequestId']
|
1328
|
+
end
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
# CreateDDoSBlackWhiteIpList请求参数结构体
|
1332
|
+
class CreateDDoSBlackWhiteIpListRequest < TencentCloud::Common::AbstractModel
|
1333
|
+
# @param InstanceId: 资源实例ID
|
1334
|
+
# @type InstanceId: String
|
1335
|
+
# @param IpList: IP列表
|
1336
|
+
# @type IpList: Array
|
1337
|
+
# @param Type: IP类型,取值[black(黑名单IP), white(白名单IP)]
|
1338
|
+
# @type Type: String
|
1339
|
+
|
1340
|
+
attr_accessor :InstanceId, :IpList, :Type
|
1341
|
+
|
1342
|
+
def initialize(instanceid=nil, iplist=nil, type=nil)
|
1343
|
+
@InstanceId = instanceid
|
1344
|
+
@IpList = iplist
|
1345
|
+
@Type = type
|
1346
|
+
end
|
1347
|
+
|
1348
|
+
def deserialize(params)
|
1349
|
+
@InstanceId = params['InstanceId']
|
1350
|
+
unless params['IpList'].nil?
|
1351
|
+
@IpList = []
|
1352
|
+
params['IpList'].each do |i|
|
1353
|
+
ipsegment_tmp = IpSegment.new
|
1354
|
+
ipsegment_tmp.deserialize(i)
|
1355
|
+
@IpList << ipsegment_tmp
|
1356
|
+
end
|
1357
|
+
end
|
1358
|
+
@Type = params['Type']
|
1359
|
+
end
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
# CreateDDoSBlackWhiteIpList返回参数结构体
|
1363
|
+
class CreateDDoSBlackWhiteIpListResponse < TencentCloud::Common::AbstractModel
|
1364
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1365
|
+
# @type RequestId: String
|
1366
|
+
|
1367
|
+
attr_accessor :RequestId
|
1368
|
+
|
1369
|
+
def initialize(requestid=nil)
|
1370
|
+
@RequestId = requestid
|
1371
|
+
end
|
1372
|
+
|
1373
|
+
def deserialize(params)
|
1374
|
+
@RequestId = params['RequestId']
|
1375
|
+
end
|
1376
|
+
end
|
1377
|
+
|
1378
|
+
# CreateDDoSConnectLimit请求参数结构体
|
905
1379
|
class CreateDDoSConnectLimitRequest < TencentCloud::Common::AbstractModel
|
906
1380
|
# @param InstanceId: 资源实例Id
|
907
1381
|
# @type InstanceId: String
|
@@ -1655,6 +2129,153 @@ module TencentCloud
|
|
1655
2129
|
end
|
1656
2130
|
end
|
1657
2131
|
|
2132
|
+
# DeleteCCPrecisionPolicy请求参数结构体
|
2133
|
+
class DeleteCCPrecisionPolicyRequest < TencentCloud::Common::AbstractModel
|
2134
|
+
# @param InstanceId: 实例Id
|
2135
|
+
# @type InstanceId: String
|
2136
|
+
# @param PolicyId: 策略Id
|
2137
|
+
# @type PolicyId: String
|
2138
|
+
|
2139
|
+
attr_accessor :InstanceId, :PolicyId
|
2140
|
+
|
2141
|
+
def initialize(instanceid=nil, policyid=nil)
|
2142
|
+
@InstanceId = instanceid
|
2143
|
+
@PolicyId = policyid
|
2144
|
+
end
|
2145
|
+
|
2146
|
+
def deserialize(params)
|
2147
|
+
@InstanceId = params['InstanceId']
|
2148
|
+
@PolicyId = params['PolicyId']
|
2149
|
+
end
|
2150
|
+
end
|
2151
|
+
|
2152
|
+
# DeleteCCPrecisionPolicy返回参数结构体
|
2153
|
+
class DeleteCCPrecisionPolicyResponse < TencentCloud::Common::AbstractModel
|
2154
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2155
|
+
# @type RequestId: String
|
2156
|
+
|
2157
|
+
attr_accessor :RequestId
|
2158
|
+
|
2159
|
+
def initialize(requestid=nil)
|
2160
|
+
@RequestId = requestid
|
2161
|
+
end
|
2162
|
+
|
2163
|
+
def deserialize(params)
|
2164
|
+
@RequestId = params['RequestId']
|
2165
|
+
end
|
2166
|
+
end
|
2167
|
+
|
2168
|
+
# DeleteCCRequestLimitPolicy请求参数结构体
|
2169
|
+
class DeleteCCRequestLimitPolicyRequest < TencentCloud::Common::AbstractModel
|
2170
|
+
# @param InstanceId: 实例Id
|
2171
|
+
# @type InstanceId: String
|
2172
|
+
# @param PolicyId: 策略Id
|
2173
|
+
# @type PolicyId: String
|
2174
|
+
|
2175
|
+
attr_accessor :InstanceId, :PolicyId
|
2176
|
+
|
2177
|
+
def initialize(instanceid=nil, policyid=nil)
|
2178
|
+
@InstanceId = instanceid
|
2179
|
+
@PolicyId = policyid
|
2180
|
+
end
|
2181
|
+
|
2182
|
+
def deserialize(params)
|
2183
|
+
@InstanceId = params['InstanceId']
|
2184
|
+
@PolicyId = params['PolicyId']
|
2185
|
+
end
|
2186
|
+
end
|
2187
|
+
|
2188
|
+
# DeleteCCRequestLimitPolicy返回参数结构体
|
2189
|
+
class DeleteCCRequestLimitPolicyResponse < TencentCloud::Common::AbstractModel
|
2190
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2191
|
+
# @type RequestId: String
|
2192
|
+
|
2193
|
+
attr_accessor :RequestId
|
2194
|
+
|
2195
|
+
def initialize(requestid=nil)
|
2196
|
+
@RequestId = requestid
|
2197
|
+
end
|
2198
|
+
|
2199
|
+
def deserialize(params)
|
2200
|
+
@RequestId = params['RequestId']
|
2201
|
+
end
|
2202
|
+
end
|
2203
|
+
|
2204
|
+
# DeleteCcBlackWhiteIpList请求参数结构体
|
2205
|
+
class DeleteCcBlackWhiteIpListRequest < TencentCloud::Common::AbstractModel
|
2206
|
+
# @param InstanceId: 资源实例ID
|
2207
|
+
# @type InstanceId: String
|
2208
|
+
# @param PolicyId: 策略Id
|
2209
|
+
# @type PolicyId: String
|
2210
|
+
|
2211
|
+
attr_accessor :InstanceId, :PolicyId
|
2212
|
+
|
2213
|
+
def initialize(instanceid=nil, policyid=nil)
|
2214
|
+
@InstanceId = instanceid
|
2215
|
+
@PolicyId = policyid
|
2216
|
+
end
|
2217
|
+
|
2218
|
+
def deserialize(params)
|
2219
|
+
@InstanceId = params['InstanceId']
|
2220
|
+
@PolicyId = params['PolicyId']
|
2221
|
+
end
|
2222
|
+
end
|
2223
|
+
|
2224
|
+
# DeleteCcBlackWhiteIpList返回参数结构体
|
2225
|
+
class DeleteCcBlackWhiteIpListResponse < TencentCloud::Common::AbstractModel
|
2226
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2227
|
+
# @type RequestId: String
|
2228
|
+
|
2229
|
+
attr_accessor :RequestId
|
2230
|
+
|
2231
|
+
def initialize(requestid=nil)
|
2232
|
+
@RequestId = requestid
|
2233
|
+
end
|
2234
|
+
|
2235
|
+
def deserialize(params)
|
2236
|
+
@RequestId = params['RequestId']
|
2237
|
+
end
|
2238
|
+
end
|
2239
|
+
|
2240
|
+
# DeleteCcGeoIPBlockConfig请求参数结构体
|
2241
|
+
class DeleteCcGeoIPBlockConfigRequest < TencentCloud::Common::AbstractModel
|
2242
|
+
# @param InstanceId: 资源实例ID
|
2243
|
+
# @type InstanceId: String
|
2244
|
+
# @param CcGeoIPBlockConfig: CC区域封禁配置,填写参数时配置ID不能为空
|
2245
|
+
# @type CcGeoIPBlockConfig: :class:`Tencentcloud::Antiddos.v20200309.models.CcGeoIPBlockConfig`
|
2246
|
+
|
2247
|
+
attr_accessor :InstanceId, :CcGeoIPBlockConfig
|
2248
|
+
|
2249
|
+
def initialize(instanceid=nil, ccgeoipblockconfig=nil)
|
2250
|
+
@InstanceId = instanceid
|
2251
|
+
@CcGeoIPBlockConfig = ccgeoipblockconfig
|
2252
|
+
end
|
2253
|
+
|
2254
|
+
def deserialize(params)
|
2255
|
+
@InstanceId = params['InstanceId']
|
2256
|
+
unless params['CcGeoIPBlockConfig'].nil?
|
2257
|
+
@CcGeoIPBlockConfig = CcGeoIPBlockConfig.new
|
2258
|
+
@CcGeoIPBlockConfig.deserialize(params['CcGeoIPBlockConfig'])
|
2259
|
+
end
|
2260
|
+
end
|
2261
|
+
end
|
2262
|
+
|
2263
|
+
# DeleteCcGeoIPBlockConfig返回参数结构体
|
2264
|
+
class DeleteCcGeoIPBlockConfigResponse < TencentCloud::Common::AbstractModel
|
2265
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2266
|
+
# @type RequestId: String
|
2267
|
+
|
2268
|
+
attr_accessor :RequestId
|
2269
|
+
|
2270
|
+
def initialize(requestid=nil)
|
2271
|
+
@RequestId = requestid
|
2272
|
+
end
|
2273
|
+
|
2274
|
+
def deserialize(params)
|
2275
|
+
@RequestId = params['RequestId']
|
2276
|
+
end
|
2277
|
+
end
|
2278
|
+
|
1658
2279
|
# DeleteDDoSBlackWhiteIpList请求参数结构体
|
1659
2280
|
class DeleteDDoSBlackWhiteIpListRequest < TencentCloud::Common::AbstractModel
|
1660
2281
|
# @param InstanceId: 资源实例ID
|
@@ -1819,24 +2440,31 @@ module TencentCloud
|
|
1819
2440
|
end
|
1820
2441
|
end
|
1821
2442
|
|
1822
|
-
#
|
1823
|
-
class
|
2443
|
+
# DeletePortAclConfig请求参数结构体
|
2444
|
+
class DeletePortAclConfigRequest < TencentCloud::Common::AbstractModel
|
1824
2445
|
# @param InstanceId: 资源实例ID
|
1825
2446
|
# @type InstanceId: String
|
2447
|
+
# @param AclConfig: 端口acl策略
|
2448
|
+
# @type AclConfig: :class:`Tencentcloud::Antiddos.v20200309.models.AclConfig`
|
1826
2449
|
|
1827
|
-
attr_accessor :InstanceId
|
2450
|
+
attr_accessor :InstanceId, :AclConfig
|
1828
2451
|
|
1829
|
-
def initialize(instanceid=nil)
|
2452
|
+
def initialize(instanceid=nil, aclconfig=nil)
|
1830
2453
|
@InstanceId = instanceid
|
2454
|
+
@AclConfig = aclconfig
|
1831
2455
|
end
|
1832
2456
|
|
1833
2457
|
def deserialize(params)
|
1834
2458
|
@InstanceId = params['InstanceId']
|
2459
|
+
unless params['AclConfig'].nil?
|
2460
|
+
@AclConfig = AclConfig.new
|
2461
|
+
@AclConfig.deserialize(params['AclConfig'])
|
2462
|
+
end
|
1835
2463
|
end
|
1836
2464
|
end
|
1837
2465
|
|
1838
|
-
#
|
1839
|
-
class
|
2466
|
+
# DeletePortAclConfig返回参数结构体
|
2467
|
+
class DeletePortAclConfigResponse < TencentCloud::Common::AbstractModel
|
1840
2468
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1841
2469
|
# @type RequestId: String
|
1842
2470
|
|
@@ -1851,28 +2479,24 @@ module TencentCloud
|
|
1851
2479
|
end
|
1852
2480
|
end
|
1853
2481
|
|
1854
|
-
#
|
1855
|
-
class
|
2482
|
+
# DeleteWaterPrintConfig请求参数结构体
|
2483
|
+
class DeleteWaterPrintConfigRequest < TencentCloud::Common::AbstractModel
|
1856
2484
|
# @param InstanceId: 资源实例ID
|
1857
2485
|
# @type InstanceId: String
|
1858
|
-
# @param KeyId: 水印密钥ID
|
1859
|
-
# @type KeyId: String
|
1860
2486
|
|
1861
|
-
attr_accessor :InstanceId
|
2487
|
+
attr_accessor :InstanceId
|
1862
2488
|
|
1863
|
-
def initialize(instanceid=nil
|
2489
|
+
def initialize(instanceid=nil)
|
1864
2490
|
@InstanceId = instanceid
|
1865
|
-
@KeyId = keyid
|
1866
2491
|
end
|
1867
2492
|
|
1868
2493
|
def deserialize(params)
|
1869
2494
|
@InstanceId = params['InstanceId']
|
1870
|
-
@KeyId = params['KeyId']
|
1871
2495
|
end
|
1872
2496
|
end
|
1873
2497
|
|
1874
|
-
#
|
1875
|
-
class
|
2498
|
+
# DeleteWaterPrintConfig返回参数结构体
|
2499
|
+
class DeleteWaterPrintConfigResponse < TencentCloud::Common::AbstractModel
|
1876
2500
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1877
2501
|
# @type RequestId: String
|
1878
2502
|
|
@@ -1887,8 +2511,44 @@ module TencentCloud
|
|
1887
2511
|
end
|
1888
2512
|
end
|
1889
2513
|
|
1890
|
-
#
|
1891
|
-
class
|
2514
|
+
# DeleteWaterPrintKey请求参数结构体
|
2515
|
+
class DeleteWaterPrintKeyRequest < TencentCloud::Common::AbstractModel
|
2516
|
+
# @param InstanceId: 资源实例ID
|
2517
|
+
# @type InstanceId: String
|
2518
|
+
# @param KeyId: 水印密钥ID
|
2519
|
+
# @type KeyId: String
|
2520
|
+
|
2521
|
+
attr_accessor :InstanceId, :KeyId
|
2522
|
+
|
2523
|
+
def initialize(instanceid=nil, keyid=nil)
|
2524
|
+
@InstanceId = instanceid
|
2525
|
+
@KeyId = keyid
|
2526
|
+
end
|
2527
|
+
|
2528
|
+
def deserialize(params)
|
2529
|
+
@InstanceId = params['InstanceId']
|
2530
|
+
@KeyId = params['KeyId']
|
2531
|
+
end
|
2532
|
+
end
|
2533
|
+
|
2534
|
+
# DeleteWaterPrintKey返回参数结构体
|
2535
|
+
class DeleteWaterPrintKeyResponse < TencentCloud::Common::AbstractModel
|
2536
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2537
|
+
# @type RequestId: String
|
2538
|
+
|
2539
|
+
attr_accessor :RequestId
|
2540
|
+
|
2541
|
+
def initialize(requestid=nil)
|
2542
|
+
@RequestId = requestid
|
2543
|
+
end
|
2544
|
+
|
2545
|
+
def deserialize(params)
|
2546
|
+
@RequestId = params['RequestId']
|
2547
|
+
end
|
2548
|
+
end
|
2549
|
+
|
2550
|
+
# DescribeBasicDeviceStatus请求参数结构体
|
2551
|
+
class DescribeBasicDeviceStatusRequest < TencentCloud::Common::AbstractModel
|
1892
2552
|
# @param IpList: IP 资源列表
|
1893
2553
|
# @type IpList: Array
|
1894
2554
|
|
@@ -2052,6 +2712,148 @@ module TencentCloud
|
|
2052
2712
|
end
|
2053
2713
|
end
|
2054
2714
|
|
2715
|
+
# DescribeCCPrecisionPlyList请求参数结构体
|
2716
|
+
class DescribeCCPrecisionPlyListRequest < TencentCloud::Common::AbstractModel
|
2717
|
+
# @param Business: 大禹子产品代号(bgpip-multip:表示高防包;bgpip:表示高防ip)
|
2718
|
+
# @type Business: String
|
2719
|
+
# @param Offset: 页起始偏移,取值为(页码-1)*一页条数
|
2720
|
+
# @type Offset: Integer
|
2721
|
+
# @param Limit: 一页条数
|
2722
|
+
# @type Limit: Integer
|
2723
|
+
# @param InstanceId: 指定特定实例Id
|
2724
|
+
# @type InstanceId: String
|
2725
|
+
# @param Ip: ip地址,普通高防ip要传该字段
|
2726
|
+
# @type Ip: String
|
2727
|
+
# @param Domain: 域名,普通高防ip要传该字段
|
2728
|
+
# @type Domain: String
|
2729
|
+
# @param Protocol: 协议,普通高防ip要传该字段
|
2730
|
+
# @type Protocol: String
|
2731
|
+
|
2732
|
+
attr_accessor :Business, :Offset, :Limit, :InstanceId, :Ip, :Domain, :Protocol
|
2733
|
+
|
2734
|
+
def initialize(business=nil, offset=nil, limit=nil, instanceid=nil, ip=nil, domain=nil, protocol=nil)
|
2735
|
+
@Business = business
|
2736
|
+
@Offset = offset
|
2737
|
+
@Limit = limit
|
2738
|
+
@InstanceId = instanceid
|
2739
|
+
@Ip = ip
|
2740
|
+
@Domain = domain
|
2741
|
+
@Protocol = protocol
|
2742
|
+
end
|
2743
|
+
|
2744
|
+
def deserialize(params)
|
2745
|
+
@Business = params['Business']
|
2746
|
+
@Offset = params['Offset']
|
2747
|
+
@Limit = params['Limit']
|
2748
|
+
@InstanceId = params['InstanceId']
|
2749
|
+
@Ip = params['Ip']
|
2750
|
+
@Domain = params['Domain']
|
2751
|
+
@Protocol = params['Protocol']
|
2752
|
+
end
|
2753
|
+
end
|
2754
|
+
|
2755
|
+
# DescribeCCPrecisionPlyList返回参数结构体
|
2756
|
+
class DescribeCCPrecisionPlyListResponse < TencentCloud::Common::AbstractModel
|
2757
|
+
# @param Total: 策略列表总数
|
2758
|
+
# @type Total: Integer
|
2759
|
+
# @param PrecisionPolicyList: 策略列表详情
|
2760
|
+
# @type PrecisionPolicyList: Array
|
2761
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2762
|
+
# @type RequestId: String
|
2763
|
+
|
2764
|
+
attr_accessor :Total, :PrecisionPolicyList, :RequestId
|
2765
|
+
|
2766
|
+
def initialize(total=nil, precisionpolicylist=nil, requestid=nil)
|
2767
|
+
@Total = total
|
2768
|
+
@PrecisionPolicyList = precisionpolicylist
|
2769
|
+
@RequestId = requestid
|
2770
|
+
end
|
2771
|
+
|
2772
|
+
def deserialize(params)
|
2773
|
+
@Total = params['Total']
|
2774
|
+
unless params['PrecisionPolicyList'].nil?
|
2775
|
+
@PrecisionPolicyList = []
|
2776
|
+
params['PrecisionPolicyList'].each do |i|
|
2777
|
+
ccprecisionpolicy_tmp = CCPrecisionPolicy.new
|
2778
|
+
ccprecisionpolicy_tmp.deserialize(i)
|
2779
|
+
@PrecisionPolicyList << ccprecisionpolicy_tmp
|
2780
|
+
end
|
2781
|
+
end
|
2782
|
+
@RequestId = params['RequestId']
|
2783
|
+
end
|
2784
|
+
end
|
2785
|
+
|
2786
|
+
# DescribeCCReqLimitPolicyList请求参数结构体
|
2787
|
+
class DescribeCCReqLimitPolicyListRequest < TencentCloud::Common::AbstractModel
|
2788
|
+
# @param Business: 大禹子产品代号(bgp-multip表示高防包,bgpip表示高防ip)
|
2789
|
+
# @type Business: String
|
2790
|
+
# @param Offset: 页起始偏移,取值为(页码-1)*一页条数
|
2791
|
+
# @type Offset: Integer
|
2792
|
+
# @param Limit: 一页条数
|
2793
|
+
# @type Limit: Integer
|
2794
|
+
# @param InstanceId: 指定实例Id
|
2795
|
+
# @type InstanceId: String
|
2796
|
+
# @param Ip: Ip地址,普通高防ip要传该字段
|
2797
|
+
# @type Ip: String
|
2798
|
+
# @param Domain: 域名,普通高防ip要传该字段
|
2799
|
+
# @type Domain: String
|
2800
|
+
# @param Protocol: 协议,普通高防ip要传该字段
|
2801
|
+
# @type Protocol: String
|
2802
|
+
|
2803
|
+
attr_accessor :Business, :Offset, :Limit, :InstanceId, :Ip, :Domain, :Protocol
|
2804
|
+
|
2805
|
+
def initialize(business=nil, offset=nil, limit=nil, instanceid=nil, ip=nil, domain=nil, protocol=nil)
|
2806
|
+
@Business = business
|
2807
|
+
@Offset = offset
|
2808
|
+
@Limit = limit
|
2809
|
+
@InstanceId = instanceid
|
2810
|
+
@Ip = ip
|
2811
|
+
@Domain = domain
|
2812
|
+
@Protocol = protocol
|
2813
|
+
end
|
2814
|
+
|
2815
|
+
def deserialize(params)
|
2816
|
+
@Business = params['Business']
|
2817
|
+
@Offset = params['Offset']
|
2818
|
+
@Limit = params['Limit']
|
2819
|
+
@InstanceId = params['InstanceId']
|
2820
|
+
@Ip = params['Ip']
|
2821
|
+
@Domain = params['Domain']
|
2822
|
+
@Protocol = params['Protocol']
|
2823
|
+
end
|
2824
|
+
end
|
2825
|
+
|
2826
|
+
# DescribeCCReqLimitPolicyList返回参数结构体
|
2827
|
+
class DescribeCCReqLimitPolicyListResponse < TencentCloud::Common::AbstractModel
|
2828
|
+
# @param Total: 频率限制列表总数
|
2829
|
+
# @type Total: Integer
|
2830
|
+
# @param RequestLimitPolicyList: 频率限制列表详情
|
2831
|
+
# @type RequestLimitPolicyList: Array
|
2832
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2833
|
+
# @type RequestId: String
|
2834
|
+
|
2835
|
+
attr_accessor :Total, :RequestLimitPolicyList, :RequestId
|
2836
|
+
|
2837
|
+
def initialize(total=nil, requestlimitpolicylist=nil, requestid=nil)
|
2838
|
+
@Total = total
|
2839
|
+
@RequestLimitPolicyList = requestlimitpolicylist
|
2840
|
+
@RequestId = requestid
|
2841
|
+
end
|
2842
|
+
|
2843
|
+
def deserialize(params)
|
2844
|
+
@Total = params['Total']
|
2845
|
+
unless params['RequestLimitPolicyList'].nil?
|
2846
|
+
@RequestLimitPolicyList = []
|
2847
|
+
params['RequestLimitPolicyList'].each do |i|
|
2848
|
+
ccreqlimitpolicy_tmp = CCReqLimitPolicy.new
|
2849
|
+
ccreqlimitpolicy_tmp.deserialize(i)
|
2850
|
+
@RequestLimitPolicyList << ccreqlimitpolicy_tmp
|
2851
|
+
end
|
2852
|
+
end
|
2853
|
+
@RequestId = params['RequestId']
|
2854
|
+
end
|
2855
|
+
end
|
2856
|
+
|
2055
2857
|
# DescribeCCTrend请求参数结构体
|
2056
2858
|
class DescribeCCTrendRequest < TencentCloud::Common::AbstractModel
|
2057
2859
|
# @param Business: 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护)
|
@@ -2149,6 +2951,156 @@ module TencentCloud
|
|
2149
2951
|
end
|
2150
2952
|
end
|
2151
2953
|
|
2954
|
+
# DescribeCcBlackWhiteIpList请求参数结构体
|
2955
|
+
class DescribeCcBlackWhiteIpListRequest < TencentCloud::Common::AbstractModel
|
2956
|
+
# @param Business: 大禹子产品代号(bgp-multip:表示高防包;bgpip:表示高防ip)
|
2957
|
+
# @type Business: String
|
2958
|
+
# @param InstanceId: 指定特定实例Id
|
2959
|
+
# @type InstanceId: String
|
2960
|
+
# @param Offset: 页起始偏移,取值为(页码-1)*一页条数
|
2961
|
+
# @type Offset: Integer
|
2962
|
+
# @param Limit: 一页条数
|
2963
|
+
# @type Limit: Integer
|
2964
|
+
# @param Ip: Ip地址,普通高防ip要传该字段
|
2965
|
+
# @type Ip: String
|
2966
|
+
# @param Domain: 域名,普通高防ip要传该字段
|
2967
|
+
# @type Domain: String
|
2968
|
+
# @param Protocol: 协议,普通高防ip要传该字段
|
2969
|
+
# @type Protocol: String
|
2970
|
+
# @param FilterIp: 筛选ip,需要筛选黑白名单ip时传该字段
|
2971
|
+
# @type FilterIp: String
|
2972
|
+
# @param FilterType: 黑白名单筛选字段,需要筛选黑白名单列表时传该字段
|
2973
|
+
# @type FilterType: String
|
2974
|
+
|
2975
|
+
attr_accessor :Business, :InstanceId, :Offset, :Limit, :Ip, :Domain, :Protocol, :FilterIp, :FilterType
|
2976
|
+
|
2977
|
+
def initialize(business=nil, instanceid=nil, offset=nil, limit=nil, ip=nil, domain=nil, protocol=nil, filterip=nil, filtertype=nil)
|
2978
|
+
@Business = business
|
2979
|
+
@InstanceId = instanceid
|
2980
|
+
@Offset = offset
|
2981
|
+
@Limit = limit
|
2982
|
+
@Ip = ip
|
2983
|
+
@Domain = domain
|
2984
|
+
@Protocol = protocol
|
2985
|
+
@FilterIp = filterip
|
2986
|
+
@FilterType = filtertype
|
2987
|
+
end
|
2988
|
+
|
2989
|
+
def deserialize(params)
|
2990
|
+
@Business = params['Business']
|
2991
|
+
@InstanceId = params['InstanceId']
|
2992
|
+
@Offset = params['Offset']
|
2993
|
+
@Limit = params['Limit']
|
2994
|
+
@Ip = params['Ip']
|
2995
|
+
@Domain = params['Domain']
|
2996
|
+
@Protocol = params['Protocol']
|
2997
|
+
@FilterIp = params['FilterIp']
|
2998
|
+
@FilterType = params['FilterType']
|
2999
|
+
end
|
3000
|
+
end
|
3001
|
+
|
3002
|
+
# DescribeCcBlackWhiteIpList返回参数结构体
|
3003
|
+
class DescribeCcBlackWhiteIpListResponse < TencentCloud::Common::AbstractModel
|
3004
|
+
# @param Total: CC四层黑白名单策略列表总数
|
3005
|
+
# @type Total: Integer
|
3006
|
+
# @param CcBlackWhiteIpList: CC四层黑白名单策略列表详情
|
3007
|
+
# @type CcBlackWhiteIpList: Array
|
3008
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3009
|
+
# @type RequestId: String
|
3010
|
+
|
3011
|
+
attr_accessor :Total, :CcBlackWhiteIpList, :RequestId
|
3012
|
+
|
3013
|
+
def initialize(total=nil, ccblackwhiteiplist=nil, requestid=nil)
|
3014
|
+
@Total = total
|
3015
|
+
@CcBlackWhiteIpList = ccblackwhiteiplist
|
3016
|
+
@RequestId = requestid
|
3017
|
+
end
|
3018
|
+
|
3019
|
+
def deserialize(params)
|
3020
|
+
@Total = params['Total']
|
3021
|
+
unless params['CcBlackWhiteIpList'].nil?
|
3022
|
+
@CcBlackWhiteIpList = []
|
3023
|
+
params['CcBlackWhiteIpList'].each do |i|
|
3024
|
+
ccblackwhiteippolicy_tmp = CcBlackWhiteIpPolicy.new
|
3025
|
+
ccblackwhiteippolicy_tmp.deserialize(i)
|
3026
|
+
@CcBlackWhiteIpList << ccblackwhiteippolicy_tmp
|
3027
|
+
end
|
3028
|
+
end
|
3029
|
+
@RequestId = params['RequestId']
|
3030
|
+
end
|
3031
|
+
end
|
3032
|
+
|
3033
|
+
# DescribeCcGeoIPBlockConfigList请求参数结构体
|
3034
|
+
class DescribeCcGeoIPBlockConfigListRequest < TencentCloud::Common::AbstractModel
|
3035
|
+
# @param Business: 大禹子产品代号(bgpip-multip:表示高防包;bgpip:表示高防ip)
|
3036
|
+
# @type Business: String
|
3037
|
+
# @param Offset: 页起始偏移,取值为(页码-1)*一页条数
|
3038
|
+
# @type Offset: Integer
|
3039
|
+
# @param Limit: 一页条数
|
3040
|
+
# @type Limit: Integer
|
3041
|
+
# @param InstanceId: 指定特定实例Id
|
3042
|
+
# @type InstanceId: String
|
3043
|
+
# @param Ip: Ip地址,普通高防ip要传该字段
|
3044
|
+
# @type Ip: String
|
3045
|
+
# @param Domain: 域名,普通高防ip要传该字段
|
3046
|
+
# @type Domain: String
|
3047
|
+
# @param Protocol: 协议,普通高防ip要传该字段
|
3048
|
+
# @type Protocol: String
|
3049
|
+
|
3050
|
+
attr_accessor :Business, :Offset, :Limit, :InstanceId, :Ip, :Domain, :Protocol
|
3051
|
+
|
3052
|
+
def initialize(business=nil, offset=nil, limit=nil, instanceid=nil, ip=nil, domain=nil, protocol=nil)
|
3053
|
+
@Business = business
|
3054
|
+
@Offset = offset
|
3055
|
+
@Limit = limit
|
3056
|
+
@InstanceId = instanceid
|
3057
|
+
@Ip = ip
|
3058
|
+
@Domain = domain
|
3059
|
+
@Protocol = protocol
|
3060
|
+
end
|
3061
|
+
|
3062
|
+
def deserialize(params)
|
3063
|
+
@Business = params['Business']
|
3064
|
+
@Offset = params['Offset']
|
3065
|
+
@Limit = params['Limit']
|
3066
|
+
@InstanceId = params['InstanceId']
|
3067
|
+
@Ip = params['Ip']
|
3068
|
+
@Domain = params['Domain']
|
3069
|
+
@Protocol = params['Protocol']
|
3070
|
+
end
|
3071
|
+
end
|
3072
|
+
|
3073
|
+
# DescribeCcGeoIPBlockConfigList返回参数结构体
|
3074
|
+
class DescribeCcGeoIPBlockConfigListResponse < TencentCloud::Common::AbstractModel
|
3075
|
+
# @param Total: CC地域封禁策略列表总数
|
3076
|
+
# @type Total: Integer
|
3077
|
+
# @param CcGeoIpPolicyList: CC地域封禁策略列表详情
|
3078
|
+
# @type CcGeoIpPolicyList: Array
|
3079
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3080
|
+
# @type RequestId: String
|
3081
|
+
|
3082
|
+
attr_accessor :Total, :CcGeoIpPolicyList, :RequestId
|
3083
|
+
|
3084
|
+
def initialize(total=nil, ccgeoippolicylist=nil, requestid=nil)
|
3085
|
+
@Total = total
|
3086
|
+
@CcGeoIpPolicyList = ccgeoippolicylist
|
3087
|
+
@RequestId = requestid
|
3088
|
+
end
|
3089
|
+
|
3090
|
+
def deserialize(params)
|
3091
|
+
@Total = params['Total']
|
3092
|
+
unless params['CcGeoIpPolicyList'].nil?
|
3093
|
+
@CcGeoIpPolicyList = []
|
3094
|
+
params['CcGeoIpPolicyList'].each do |i|
|
3095
|
+
ccgeoippolicynew_tmp = CcGeoIpPolicyNew.new
|
3096
|
+
ccgeoippolicynew_tmp.deserialize(i)
|
3097
|
+
@CcGeoIpPolicyList << ccgeoippolicynew_tmp
|
3098
|
+
end
|
3099
|
+
end
|
3100
|
+
@RequestId = params['RequestId']
|
3101
|
+
end
|
3102
|
+
end
|
3103
|
+
|
2152
3104
|
# DescribeDDoSBlackWhiteIpList请求参数结构体
|
2153
3105
|
class DescribeDDoSBlackWhiteIpListRequest < TencentCloud::Common::AbstractModel
|
2154
3106
|
# @param InstanceId: 资源实例ID
|
@@ -2564,7 +3516,7 @@ module TencentCloud
|
|
2564
3516
|
# @type FilterName: String
|
2565
3517
|
# @param FilterLine: 按照线路搜索, 1: BGP; 2: 三网
|
2566
3518
|
# @type FilterLine: Integer
|
2567
|
-
# @param FilterStatus: 状态搜索,idle
|
3519
|
+
# @param FilterStatus: 状态搜索,idle:运行中;attacking:攻击中;blocking:封堵中
|
2568
3520
|
# @type FilterStatus: String
|
2569
3521
|
# @param FilterBoundStatus: 高防包绑定状态搜索,bounding:绑定中; failed:绑定失败
|
2570
3522
|
# @type FilterBoundStatus: String
|
@@ -3757,160 +4709,455 @@ module TencentCloud
|
|
3757
4709
|
end
|
3758
4710
|
|
3759
4711
|
def deserialize(params)
|
3760
|
-
@KeepTime = params['KeepTime']
|
3761
|
-
@Domain = params['Domain']
|
3762
|
-
@Protocol = params['Protocol']
|
3763
|
-
@SourceType = params['SourceType']
|
3764
|
-
@LbType = params['LbType']
|
3765
|
-
unless params['SourceList'].nil?
|
3766
|
-
@SourceList = []
|
3767
|
-
params['SourceList'].each do |i|
|
3768
|
-
l4rulesource_tmp = L4RuleSource.new
|
3769
|
-
l4rulesource_tmp.deserialize(i)
|
3770
|
-
@SourceList << l4rulesource_tmp
|
4712
|
+
@KeepTime = params['KeepTime']
|
4713
|
+
@Domain = params['Domain']
|
4714
|
+
@Protocol = params['Protocol']
|
4715
|
+
@SourceType = params['SourceType']
|
4716
|
+
@LbType = params['LbType']
|
4717
|
+
unless params['SourceList'].nil?
|
4718
|
+
@SourceList = []
|
4719
|
+
params['SourceList'].each do |i|
|
4720
|
+
l4rulesource_tmp = L4RuleSource.new
|
4721
|
+
l4rulesource_tmp.deserialize(i)
|
4722
|
+
@SourceList << l4rulesource_tmp
|
4723
|
+
end
|
4724
|
+
end
|
4725
|
+
@KeepEnable = params['KeepEnable']
|
4726
|
+
@Status = params['Status']
|
4727
|
+
@RuleId = params['RuleId']
|
4728
|
+
@CCThreshold = params['CCThreshold']
|
4729
|
+
@PrivateKey = params['PrivateKey']
|
4730
|
+
@CCEnable = params['CCEnable']
|
4731
|
+
@HttpsToHttpEnable = params['HttpsToHttpEnable']
|
4732
|
+
@CertType = params['CertType']
|
4733
|
+
@Cert = params['Cert']
|
4734
|
+
@CCLevel = params['CCLevel']
|
4735
|
+
@RuleName = params['RuleName']
|
4736
|
+
@CCStatus = params['CCStatus']
|
4737
|
+
@VirtualPort = params['VirtualPort']
|
4738
|
+
@SSLId = params['SSLId']
|
4739
|
+
@Id = params['Id']
|
4740
|
+
end
|
4741
|
+
end
|
4742
|
+
|
4743
|
+
# 4层转发规则
|
4744
|
+
class Layer4Rule < TencentCloud::Common::AbstractModel
|
4745
|
+
# @param BackendPort: 源站端口,取值1~65535
|
4746
|
+
# @type BackendPort: Integer
|
4747
|
+
# @param FrontendPort: 转发端口,取值1~65535
|
4748
|
+
# @type FrontendPort: Integer
|
4749
|
+
# @param Protocol: 转发协议,取值[
|
4750
|
+
# TCP(TCP协议)
|
4751
|
+
# UDP(UDP协议)
|
4752
|
+
# ]
|
4753
|
+
# @type Protocol: String
|
4754
|
+
# @param RealServers: 源站列表
|
4755
|
+
# @type RealServers: Array
|
4756
|
+
# @param InstanceDetails: 规则所属的资源实例
|
4757
|
+
# @type InstanceDetails: Array
|
4758
|
+
|
4759
|
+
attr_accessor :BackendPort, :FrontendPort, :Protocol, :RealServers, :InstanceDetails
|
4760
|
+
|
4761
|
+
def initialize(backendport=nil, frontendport=nil, protocol=nil, realservers=nil, instancedetails=nil)
|
4762
|
+
@BackendPort = backendport
|
4763
|
+
@FrontendPort = frontendport
|
4764
|
+
@Protocol = protocol
|
4765
|
+
@RealServers = realservers
|
4766
|
+
@InstanceDetails = instancedetails
|
4767
|
+
end
|
4768
|
+
|
4769
|
+
def deserialize(params)
|
4770
|
+
@BackendPort = params['BackendPort']
|
4771
|
+
@FrontendPort = params['FrontendPort']
|
4772
|
+
@Protocol = params['Protocol']
|
4773
|
+
unless params['RealServers'].nil?
|
4774
|
+
@RealServers = []
|
4775
|
+
params['RealServers'].each do |i|
|
4776
|
+
sourceserver_tmp = SourceServer.new
|
4777
|
+
sourceserver_tmp.deserialize(i)
|
4778
|
+
@RealServers << sourceserver_tmp
|
4779
|
+
end
|
4780
|
+
end
|
4781
|
+
unless params['InstanceDetails'].nil?
|
4782
|
+
@InstanceDetails = []
|
4783
|
+
params['InstanceDetails'].each do |i|
|
4784
|
+
instancerelation_tmp = InstanceRelation.new
|
4785
|
+
instancerelation_tmp.deserialize(i)
|
4786
|
+
@InstanceDetails << instancerelation_tmp
|
4787
|
+
end
|
4788
|
+
end
|
4789
|
+
end
|
4790
|
+
end
|
4791
|
+
|
4792
|
+
# 7层转发规则
|
4793
|
+
class Layer7Rule < TencentCloud::Common::AbstractModel
|
4794
|
+
# @param Domain: 域名
|
4795
|
+
# @type Domain: String
|
4796
|
+
# @param ProxyTypeList: 转发类型列表
|
4797
|
+
# @type ProxyTypeList: Array
|
4798
|
+
# @param RealServers: 源站列表
|
4799
|
+
# @type RealServers: Array
|
4800
|
+
# @param InstanceDetails: 规则所属的资源实例
|
4801
|
+
# @type InstanceDetails: Array
|
4802
|
+
|
4803
|
+
attr_accessor :Domain, :ProxyTypeList, :RealServers, :InstanceDetails
|
4804
|
+
|
4805
|
+
def initialize(domain=nil, proxytypelist=nil, realservers=nil, instancedetails=nil)
|
4806
|
+
@Domain = domain
|
4807
|
+
@ProxyTypeList = proxytypelist
|
4808
|
+
@RealServers = realservers
|
4809
|
+
@InstanceDetails = instancedetails
|
4810
|
+
end
|
4811
|
+
|
4812
|
+
def deserialize(params)
|
4813
|
+
@Domain = params['Domain']
|
4814
|
+
unless params['ProxyTypeList'].nil?
|
4815
|
+
@ProxyTypeList = []
|
4816
|
+
params['ProxyTypeList'].each do |i|
|
4817
|
+
proxytypeinfo_tmp = ProxyTypeInfo.new
|
4818
|
+
proxytypeinfo_tmp.deserialize(i)
|
4819
|
+
@ProxyTypeList << proxytypeinfo_tmp
|
4820
|
+
end
|
4821
|
+
end
|
4822
|
+
unless params['RealServers'].nil?
|
4823
|
+
@RealServers = []
|
4824
|
+
params['RealServers'].each do |i|
|
4825
|
+
sourceserver_tmp = SourceServer.new
|
4826
|
+
sourceserver_tmp.deserialize(i)
|
4827
|
+
@RealServers << sourceserver_tmp
|
4828
|
+
end
|
4829
|
+
end
|
4830
|
+
unless params['InstanceDetails'].nil?
|
4831
|
+
@InstanceDetails = []
|
4832
|
+
params['InstanceDetails'].each do |i|
|
4833
|
+
instancerelation_tmp = InstanceRelation.new
|
4834
|
+
instancerelation_tmp.deserialize(i)
|
4835
|
+
@InstanceDetails << instancerelation_tmp
|
4836
|
+
end
|
4837
|
+
end
|
4838
|
+
end
|
4839
|
+
end
|
4840
|
+
|
4841
|
+
# 域名与协议纬度的CC防护阈值
|
4842
|
+
class ListenerCcThreholdConfig < TencentCloud::Common::AbstractModel
|
4843
|
+
# @param Domain: 域名
|
4844
|
+
# @type Domain: String
|
4845
|
+
# @param Protocol: 协议(可取值htttps)
|
4846
|
+
# @type Protocol: String
|
4847
|
+
# @param CCEnable: 开关状态(0:关闭,1:开启)
|
4848
|
+
# @type CCEnable: Integer
|
4849
|
+
# @param CCThreshold: cc防护阈值
|
4850
|
+
# @type CCThreshold: Integer
|
4851
|
+
|
4852
|
+
attr_accessor :Domain, :Protocol, :CCEnable, :CCThreshold
|
4853
|
+
|
4854
|
+
def initialize(domain=nil, protocol=nil, ccenable=nil, ccthreshold=nil)
|
4855
|
+
@Domain = domain
|
4856
|
+
@Protocol = protocol
|
4857
|
+
@CCEnable = ccenable
|
4858
|
+
@CCThreshold = ccthreshold
|
4859
|
+
end
|
4860
|
+
|
4861
|
+
def deserialize(params)
|
4862
|
+
@Domain = params['Domain']
|
4863
|
+
@Protocol = params['Protocol']
|
4864
|
+
@CCEnable = params['CCEnable']
|
4865
|
+
@CCThreshold = params['CCThreshold']
|
4866
|
+
end
|
4867
|
+
end
|
4868
|
+
|
4869
|
+
# ModifyCCLevelPolicy请求参数结构体
|
4870
|
+
class ModifyCCLevelPolicyRequest < TencentCloud::Common::AbstractModel
|
4871
|
+
# @param InstanceId: 实例Id
|
4872
|
+
# @type InstanceId: String
|
4873
|
+
# @param Ip: Ip地址
|
4874
|
+
# @type Ip: String
|
4875
|
+
# @param Domain: 域名
|
4876
|
+
# @type Domain: String
|
4877
|
+
# @param Protocol: 协议,可取值HTTP,HTTPS
|
4878
|
+
# @type Protocol: String
|
4879
|
+
# @param Level: CC防护等级,可取值loose表示宽松,strict表示严格,normal表示适中, emergency表示攻击紧急, sup_loose表示超级宽松,default表示默认策略(无频控配置下发),customized表示自定义策略
|
4880
|
+
# @type Level: String
|
4881
|
+
|
4882
|
+
attr_accessor :InstanceId, :Ip, :Domain, :Protocol, :Level
|
4883
|
+
|
4884
|
+
def initialize(instanceid=nil, ip=nil, domain=nil, protocol=nil, level=nil)
|
4885
|
+
@InstanceId = instanceid
|
4886
|
+
@Ip = ip
|
4887
|
+
@Domain = domain
|
4888
|
+
@Protocol = protocol
|
4889
|
+
@Level = level
|
4890
|
+
end
|
4891
|
+
|
4892
|
+
def deserialize(params)
|
4893
|
+
@InstanceId = params['InstanceId']
|
4894
|
+
@Ip = params['Ip']
|
4895
|
+
@Domain = params['Domain']
|
4896
|
+
@Protocol = params['Protocol']
|
4897
|
+
@Level = params['Level']
|
4898
|
+
end
|
4899
|
+
end
|
4900
|
+
|
4901
|
+
# ModifyCCLevelPolicy返回参数结构体
|
4902
|
+
class ModifyCCLevelPolicyResponse < TencentCloud::Common::AbstractModel
|
4903
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4904
|
+
# @type RequestId: String
|
4905
|
+
|
4906
|
+
attr_accessor :RequestId
|
4907
|
+
|
4908
|
+
def initialize(requestid=nil)
|
4909
|
+
@RequestId = requestid
|
4910
|
+
end
|
4911
|
+
|
4912
|
+
def deserialize(params)
|
4913
|
+
@RequestId = params['RequestId']
|
4914
|
+
end
|
4915
|
+
end
|
4916
|
+
|
4917
|
+
# ModifyCCPrecisionPolicy请求参数结构体
|
4918
|
+
class ModifyCCPrecisionPolicyRequest < TencentCloud::Common::AbstractModel
|
4919
|
+
# @param InstanceId: 实例Id
|
4920
|
+
# @type InstanceId: String
|
4921
|
+
# @param PolicyId: 策略Id
|
4922
|
+
# @type PolicyId: String
|
4923
|
+
# @param PolicyAction: 策略方式,可取值alg表示验证码,drop表示丢弃
|
4924
|
+
# @type PolicyAction: String
|
4925
|
+
# @param PolicyList: 策略记录
|
4926
|
+
# @type PolicyList: Array
|
4927
|
+
|
4928
|
+
attr_accessor :InstanceId, :PolicyId, :PolicyAction, :PolicyList
|
4929
|
+
|
4930
|
+
def initialize(instanceid=nil, policyid=nil, policyaction=nil, policylist=nil)
|
4931
|
+
@InstanceId = instanceid
|
4932
|
+
@PolicyId = policyid
|
4933
|
+
@PolicyAction = policyaction
|
4934
|
+
@PolicyList = policylist
|
4935
|
+
end
|
4936
|
+
|
4937
|
+
def deserialize(params)
|
4938
|
+
@InstanceId = params['InstanceId']
|
4939
|
+
@PolicyId = params['PolicyId']
|
4940
|
+
@PolicyAction = params['PolicyAction']
|
4941
|
+
unless params['PolicyList'].nil?
|
4942
|
+
@PolicyList = []
|
4943
|
+
params['PolicyList'].each do |i|
|
4944
|
+
ccprecisionplyrecord_tmp = CCPrecisionPlyRecord.new
|
4945
|
+
ccprecisionplyrecord_tmp.deserialize(i)
|
4946
|
+
@PolicyList << ccprecisionplyrecord_tmp
|
4947
|
+
end
|
4948
|
+
end
|
4949
|
+
end
|
4950
|
+
end
|
4951
|
+
|
4952
|
+
# ModifyCCPrecisionPolicy返回参数结构体
|
4953
|
+
class ModifyCCPrecisionPolicyResponse < TencentCloud::Common::AbstractModel
|
4954
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4955
|
+
# @type RequestId: String
|
4956
|
+
|
4957
|
+
attr_accessor :RequestId
|
4958
|
+
|
4959
|
+
def initialize(requestid=nil)
|
4960
|
+
@RequestId = requestid
|
4961
|
+
end
|
4962
|
+
|
4963
|
+
def deserialize(params)
|
4964
|
+
@RequestId = params['RequestId']
|
4965
|
+
end
|
4966
|
+
end
|
4967
|
+
|
4968
|
+
# ModifyCCReqLimitPolicy请求参数结构体
|
4969
|
+
class ModifyCCReqLimitPolicyRequest < TencentCloud::Common::AbstractModel
|
4970
|
+
# @param InstanceId: 实例Id
|
4971
|
+
# @type InstanceId: String
|
4972
|
+
# @param PolicyId: 策略Id
|
4973
|
+
# @type PolicyId: String
|
4974
|
+
# @param Policy: 策略项
|
4975
|
+
# @type Policy: :class:`Tencentcloud::Antiddos.v20200309.models.CCReqLimitPolicyRecord`
|
4976
|
+
|
4977
|
+
attr_accessor :InstanceId, :PolicyId, :Policy
|
4978
|
+
|
4979
|
+
def initialize(instanceid=nil, policyid=nil, policy=nil)
|
4980
|
+
@InstanceId = instanceid
|
4981
|
+
@PolicyId = policyid
|
4982
|
+
@Policy = policy
|
4983
|
+
end
|
4984
|
+
|
4985
|
+
def deserialize(params)
|
4986
|
+
@InstanceId = params['InstanceId']
|
4987
|
+
@PolicyId = params['PolicyId']
|
4988
|
+
unless params['Policy'].nil?
|
4989
|
+
@Policy = CCReqLimitPolicyRecord.new
|
4990
|
+
@Policy.deserialize(params['Policy'])
|
4991
|
+
end
|
4992
|
+
end
|
4993
|
+
end
|
4994
|
+
|
4995
|
+
# ModifyCCReqLimitPolicy返回参数结构体
|
4996
|
+
class ModifyCCReqLimitPolicyResponse < TencentCloud::Common::AbstractModel
|
4997
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4998
|
+
# @type RequestId: String
|
4999
|
+
|
5000
|
+
attr_accessor :RequestId
|
5001
|
+
|
5002
|
+
def initialize(requestid=nil)
|
5003
|
+
@RequestId = requestid
|
5004
|
+
end
|
5005
|
+
|
5006
|
+
def deserialize(params)
|
5007
|
+
@RequestId = params['RequestId']
|
5008
|
+
end
|
5009
|
+
end
|
5010
|
+
|
5011
|
+
# ModifyCCThresholdPolicy请求参数结构体
|
5012
|
+
class ModifyCCThresholdPolicyRequest < TencentCloud::Common::AbstractModel
|
5013
|
+
# @param InstanceId: 实例Id
|
5014
|
+
# @type InstanceId: String
|
5015
|
+
# @param Ip: Ip地址
|
5016
|
+
# @type Ip: String
|
5017
|
+
# @param Domain: 域名
|
5018
|
+
# @type Domain: String
|
5019
|
+
# @param Protocol: 协议,可取值HTTP,HTTPS
|
5020
|
+
# @type Protocol: String
|
5021
|
+
# @param Threshold: 清洗阈值,-1表示开启“默认”模式
|
5022
|
+
# @type Threshold: Integer
|
5023
|
+
|
5024
|
+
attr_accessor :InstanceId, :Ip, :Domain, :Protocol, :Threshold
|
5025
|
+
|
5026
|
+
def initialize(instanceid=nil, ip=nil, domain=nil, protocol=nil, threshold=nil)
|
5027
|
+
@InstanceId = instanceid
|
5028
|
+
@Ip = ip
|
5029
|
+
@Domain = domain
|
5030
|
+
@Protocol = protocol
|
5031
|
+
@Threshold = threshold
|
5032
|
+
end
|
5033
|
+
|
5034
|
+
def deserialize(params)
|
5035
|
+
@InstanceId = params['InstanceId']
|
5036
|
+
@Ip = params['Ip']
|
5037
|
+
@Domain = params['Domain']
|
5038
|
+
@Protocol = params['Protocol']
|
5039
|
+
@Threshold = params['Threshold']
|
5040
|
+
end
|
5041
|
+
end
|
5042
|
+
|
5043
|
+
# ModifyCCThresholdPolicy返回参数结构体
|
5044
|
+
class ModifyCCThresholdPolicyResponse < TencentCloud::Common::AbstractModel
|
5045
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5046
|
+
# @type RequestId: String
|
5047
|
+
|
5048
|
+
attr_accessor :RequestId
|
5049
|
+
|
5050
|
+
def initialize(requestid=nil)
|
5051
|
+
@RequestId = requestid
|
5052
|
+
end
|
5053
|
+
|
5054
|
+
def deserialize(params)
|
5055
|
+
@RequestId = params['RequestId']
|
5056
|
+
end
|
5057
|
+
end
|
5058
|
+
|
5059
|
+
# ModifyCcBlackWhiteIpList请求参数结构体
|
5060
|
+
class ModifyCcBlackWhiteIpListRequest < TencentCloud::Common::AbstractModel
|
5061
|
+
# @param InstanceId: 资源实例ID
|
5062
|
+
# @type InstanceId: String
|
5063
|
+
# @param IpList: IP列表
|
5064
|
+
# @type IpList: Array
|
5065
|
+
# @param Type: IP类型,取值[black(黑名单IP), white(白名单IP)]
|
5066
|
+
# @type Type: String
|
5067
|
+
# @param PolicyId: 策略Id
|
5068
|
+
# @type PolicyId: String
|
5069
|
+
|
5070
|
+
attr_accessor :InstanceId, :IpList, :Type, :PolicyId
|
5071
|
+
|
5072
|
+
def initialize(instanceid=nil, iplist=nil, type=nil, policyid=nil)
|
5073
|
+
@InstanceId = instanceid
|
5074
|
+
@IpList = iplist
|
5075
|
+
@Type = type
|
5076
|
+
@PolicyId = policyid
|
5077
|
+
end
|
5078
|
+
|
5079
|
+
def deserialize(params)
|
5080
|
+
@InstanceId = params['InstanceId']
|
5081
|
+
unless params['IpList'].nil?
|
5082
|
+
@IpList = []
|
5083
|
+
params['IpList'].each do |i|
|
5084
|
+
ipsegment_tmp = IpSegment.new
|
5085
|
+
ipsegment_tmp.deserialize(i)
|
5086
|
+
@IpList << ipsegment_tmp
|
3771
5087
|
end
|
3772
5088
|
end
|
3773
|
-
@
|
3774
|
-
@
|
3775
|
-
@RuleId = params['RuleId']
|
3776
|
-
@CCThreshold = params['CCThreshold']
|
3777
|
-
@PrivateKey = params['PrivateKey']
|
3778
|
-
@CCEnable = params['CCEnable']
|
3779
|
-
@HttpsToHttpEnable = params['HttpsToHttpEnable']
|
3780
|
-
@CertType = params['CertType']
|
3781
|
-
@Cert = params['Cert']
|
3782
|
-
@CCLevel = params['CCLevel']
|
3783
|
-
@RuleName = params['RuleName']
|
3784
|
-
@CCStatus = params['CCStatus']
|
3785
|
-
@VirtualPort = params['VirtualPort']
|
3786
|
-
@SSLId = params['SSLId']
|
3787
|
-
@Id = params['Id']
|
5089
|
+
@Type = params['Type']
|
5090
|
+
@PolicyId = params['PolicyId']
|
3788
5091
|
end
|
3789
5092
|
end
|
3790
5093
|
|
3791
|
-
#
|
3792
|
-
class
|
3793
|
-
# @param
|
3794
|
-
# @type
|
3795
|
-
# @param FrontendPort: 转发端口,取值1~65535
|
3796
|
-
# @type FrontendPort: Integer
|
3797
|
-
# @param Protocol: 转发协议,取值[
|
3798
|
-
# TCP(TCP协议)
|
3799
|
-
# UDP(UDP协议)
|
3800
|
-
# ]
|
3801
|
-
# @type Protocol: String
|
3802
|
-
# @param RealServers: 源站列表
|
3803
|
-
# @type RealServers: Array
|
3804
|
-
# @param InstanceDetails: 规则所属的资源实例
|
3805
|
-
# @type InstanceDetails: Array
|
5094
|
+
# ModifyCcBlackWhiteIpList返回参数结构体
|
5095
|
+
class ModifyCcBlackWhiteIpListResponse < TencentCloud::Common::AbstractModel
|
5096
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5097
|
+
# @type RequestId: String
|
3806
5098
|
|
3807
|
-
attr_accessor :
|
5099
|
+
attr_accessor :RequestId
|
3808
5100
|
|
3809
|
-
def initialize(
|
3810
|
-
@
|
3811
|
-
@FrontendPort = frontendport
|
3812
|
-
@Protocol = protocol
|
3813
|
-
@RealServers = realservers
|
3814
|
-
@InstanceDetails = instancedetails
|
5101
|
+
def initialize(requestid=nil)
|
5102
|
+
@RequestId = requestid
|
3815
5103
|
end
|
3816
5104
|
|
3817
5105
|
def deserialize(params)
|
3818
|
-
@
|
3819
|
-
@FrontendPort = params['FrontendPort']
|
3820
|
-
@Protocol = params['Protocol']
|
3821
|
-
unless params['RealServers'].nil?
|
3822
|
-
@RealServers = []
|
3823
|
-
params['RealServers'].each do |i|
|
3824
|
-
sourceserver_tmp = SourceServer.new
|
3825
|
-
sourceserver_tmp.deserialize(i)
|
3826
|
-
@RealServers << sourceserver_tmp
|
3827
|
-
end
|
3828
|
-
end
|
3829
|
-
unless params['InstanceDetails'].nil?
|
3830
|
-
@InstanceDetails = []
|
3831
|
-
params['InstanceDetails'].each do |i|
|
3832
|
-
instancerelation_tmp = InstanceRelation.new
|
3833
|
-
instancerelation_tmp.deserialize(i)
|
3834
|
-
@InstanceDetails << instancerelation_tmp
|
3835
|
-
end
|
3836
|
-
end
|
5106
|
+
@RequestId = params['RequestId']
|
3837
5107
|
end
|
3838
5108
|
end
|
3839
5109
|
|
3840
|
-
#
|
3841
|
-
class
|
3842
|
-
# @param
|
3843
|
-
# @type
|
3844
|
-
# @param
|
3845
|
-
# @type
|
3846
|
-
# @param
|
3847
|
-
# @type
|
3848
|
-
# @param
|
3849
|
-
# @type
|
3850
|
-
|
3851
|
-
|
3852
|
-
|
3853
|
-
|
3854
|
-
|
3855
|
-
|
3856
|
-
@
|
3857
|
-
@
|
5110
|
+
# ModifyDDoSBlackWhiteIpList请求参数结构体
|
5111
|
+
class ModifyDDoSBlackWhiteIpListRequest < TencentCloud::Common::AbstractModel
|
5112
|
+
# @param InstanceId: 资源Id
|
5113
|
+
# @type InstanceId: String
|
5114
|
+
# @param OldIpType: 当前黑名单类型,取值black时黑名单;取值white时白名单
|
5115
|
+
# @type OldIpType: String
|
5116
|
+
# @param OldIp: 当前配置的Ip段,包含ip与掩码
|
5117
|
+
# @type OldIp: :class:`Tencentcloud::Antiddos.v20200309.models.IpSegment`
|
5118
|
+
# @param NewIpType: 修改后黑白名单类型,取值black时黑名单,取值white时白名单
|
5119
|
+
# @type NewIpType: String
|
5120
|
+
# @param NewIp: 当前配置的Ip段,包含ip与掩码
|
5121
|
+
# @type NewIp: :class:`Tencentcloud::Antiddos.v20200309.models.IpSegment`
|
5122
|
+
|
5123
|
+
attr_accessor :InstanceId, :OldIpType, :OldIp, :NewIpType, :NewIp
|
5124
|
+
|
5125
|
+
def initialize(instanceid=nil, oldiptype=nil, oldip=nil, newiptype=nil, newip=nil)
|
5126
|
+
@InstanceId = instanceid
|
5127
|
+
@OldIpType = oldiptype
|
5128
|
+
@OldIp = oldip
|
5129
|
+
@NewIpType = newiptype
|
5130
|
+
@NewIp = newip
|
3858
5131
|
end
|
3859
5132
|
|
3860
5133
|
def deserialize(params)
|
3861
|
-
@
|
3862
|
-
|
3863
|
-
|
3864
|
-
|
3865
|
-
|
3866
|
-
proxytypeinfo_tmp.deserialize(i)
|
3867
|
-
@ProxyTypeList << proxytypeinfo_tmp
|
3868
|
-
end
|
3869
|
-
end
|
3870
|
-
unless params['RealServers'].nil?
|
3871
|
-
@RealServers = []
|
3872
|
-
params['RealServers'].each do |i|
|
3873
|
-
sourceserver_tmp = SourceServer.new
|
3874
|
-
sourceserver_tmp.deserialize(i)
|
3875
|
-
@RealServers << sourceserver_tmp
|
3876
|
-
end
|
5134
|
+
@InstanceId = params['InstanceId']
|
5135
|
+
@OldIpType = params['OldIpType']
|
5136
|
+
unless params['OldIp'].nil?
|
5137
|
+
@OldIp = IpSegment.new
|
5138
|
+
@OldIp.deserialize(params['OldIp'])
|
3877
5139
|
end
|
3878
|
-
|
3879
|
-
|
3880
|
-
|
3881
|
-
|
3882
|
-
instancerelation_tmp.deserialize(i)
|
3883
|
-
@InstanceDetails << instancerelation_tmp
|
3884
|
-
end
|
5140
|
+
@NewIpType = params['NewIpType']
|
5141
|
+
unless params['NewIp'].nil?
|
5142
|
+
@NewIp = IpSegment.new
|
5143
|
+
@NewIp.deserialize(params['NewIp'])
|
3885
5144
|
end
|
3886
5145
|
end
|
3887
5146
|
end
|
3888
5147
|
|
3889
|
-
#
|
3890
|
-
class
|
3891
|
-
# @param
|
3892
|
-
# @type
|
3893
|
-
# @param Protocol: 协议(可取值htttps)
|
3894
|
-
# @type Protocol: String
|
3895
|
-
# @param CCEnable: 开关状态(0:关闭,1:开启)
|
3896
|
-
# @type CCEnable: Integer
|
3897
|
-
# @param CCThreshold: cc防护阈值
|
3898
|
-
# @type CCThreshold: Integer
|
5148
|
+
# ModifyDDoSBlackWhiteIpList返回参数结构体
|
5149
|
+
class ModifyDDoSBlackWhiteIpListResponse < TencentCloud::Common::AbstractModel
|
5150
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5151
|
+
# @type RequestId: String
|
3899
5152
|
|
3900
|
-
attr_accessor :
|
5153
|
+
attr_accessor :RequestId
|
3901
5154
|
|
3902
|
-
def initialize(
|
3903
|
-
@
|
3904
|
-
@Protocol = protocol
|
3905
|
-
@CCEnable = ccenable
|
3906
|
-
@CCThreshold = ccthreshold
|
5155
|
+
def initialize(requestid=nil)
|
5156
|
+
@RequestId = requestid
|
3907
5157
|
end
|
3908
5158
|
|
3909
5159
|
def deserialize(params)
|
3910
|
-
@
|
3911
|
-
@Protocol = params['Protocol']
|
3912
|
-
@CCEnable = params['CCEnable']
|
3913
|
-
@CCThreshold = params['CCThreshold']
|
5160
|
+
@RequestId = params['RequestId']
|
3914
5161
|
end
|
3915
5162
|
end
|
3916
5163
|
|
@@ -3953,6 +5200,58 @@ module TencentCloud
|
|
3953
5200
|
end
|
3954
5201
|
end
|
3955
5202
|
|
5203
|
+
# ModifyDDoSLevel请求参数结构体
|
5204
|
+
class ModifyDDoSLevelRequest < TencentCloud::Common::AbstractModel
|
5205
|
+
# @param Id: 资源ID
|
5206
|
+
# @type Id: String
|
5207
|
+
# @param Business: 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版)
|
5208
|
+
# @type Business: String
|
5209
|
+
# @param Method: =get表示读取防护等级;=set表示修改防护等级
|
5210
|
+
# @type Method: String
|
5211
|
+
# @param DDoSLevel: 防护等级,取值[low,middle,high];当Method=set时必填
|
5212
|
+
# @type DDoSLevel: String
|
5213
|
+
|
5214
|
+
attr_accessor :Id, :Business, :Method, :DDoSLevel
|
5215
|
+
|
5216
|
+
def initialize(id=nil, business=nil, method=nil, ddoslevel=nil)
|
5217
|
+
@Id = id
|
5218
|
+
@Business = business
|
5219
|
+
@Method = method
|
5220
|
+
@DDoSLevel = ddoslevel
|
5221
|
+
end
|
5222
|
+
|
5223
|
+
def deserialize(params)
|
5224
|
+
@Id = params['Id']
|
5225
|
+
@Business = params['Business']
|
5226
|
+
@Method = params['Method']
|
5227
|
+
@DDoSLevel = params['DDoSLevel']
|
5228
|
+
end
|
5229
|
+
end
|
5230
|
+
|
5231
|
+
# ModifyDDoSLevel返回参数结构体
|
5232
|
+
class ModifyDDoSLevelResponse < TencentCloud::Common::AbstractModel
|
5233
|
+
# @param DDoSLevel: 防护等级,取值[low,middle,high]
|
5234
|
+
# @type DDoSLevel: String
|
5235
|
+
# @param Id: 资源ID
|
5236
|
+
# @type Id: String
|
5237
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5238
|
+
# @type RequestId: String
|
5239
|
+
|
5240
|
+
attr_accessor :DDoSLevel, :Id, :RequestId
|
5241
|
+
|
5242
|
+
def initialize(ddoslevel=nil, id=nil, requestid=nil)
|
5243
|
+
@DDoSLevel = ddoslevel
|
5244
|
+
@Id = id
|
5245
|
+
@RequestId = requestid
|
5246
|
+
end
|
5247
|
+
|
5248
|
+
def deserialize(params)
|
5249
|
+
@DDoSLevel = params['DDoSLevel']
|
5250
|
+
@Id = params['Id']
|
5251
|
+
@RequestId = params['RequestId']
|
5252
|
+
end
|
5253
|
+
end
|
5254
|
+
|
3956
5255
|
# ModifyDDoSSpeedLimitConfig请求参数结构体
|
3957
5256
|
class ModifyDDoSSpeedLimitConfigRequest < TencentCloud::Common::AbstractModel
|
3958
5257
|
# @param InstanceId: 资源实例ID
|
@@ -3992,6 +5291,54 @@ module TencentCloud
|
|
3992
5291
|
end
|
3993
5292
|
end
|
3994
5293
|
|
5294
|
+
# ModifyDDoSThreshold请求参数结构体
|
5295
|
+
class ModifyDDoSThresholdRequest < TencentCloud::Common::AbstractModel
|
5296
|
+
# @param Threshold: DDoS清洗阈值,取值[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000];
|
5297
|
+
# 当设置值为0时,表示采用默认值;
|
5298
|
+
# @type Threshold: Integer
|
5299
|
+
# @param Id: 资源ID
|
5300
|
+
# @type Id: String
|
5301
|
+
# @param Business: 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版)
|
5302
|
+
# @type Business: String
|
5303
|
+
|
5304
|
+
attr_accessor :Threshold, :Id, :Business
|
5305
|
+
|
5306
|
+
def initialize(threshold=nil, id=nil, business=nil)
|
5307
|
+
@Threshold = threshold
|
5308
|
+
@Id = id
|
5309
|
+
@Business = business
|
5310
|
+
end
|
5311
|
+
|
5312
|
+
def deserialize(params)
|
5313
|
+
@Threshold = params['Threshold']
|
5314
|
+
@Id = params['Id']
|
5315
|
+
@Business = params['Business']
|
5316
|
+
end
|
5317
|
+
end
|
5318
|
+
|
5319
|
+
# ModifyDDoSThreshold返回参数结构体
|
5320
|
+
class ModifyDDoSThresholdResponse < TencentCloud::Common::AbstractModel
|
5321
|
+
# @param Success: 成功码
|
5322
|
+
# @type Success: :class:`Tencentcloud::Antiddos.v20200309.models.SuccessCode`
|
5323
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5324
|
+
# @type RequestId: String
|
5325
|
+
|
5326
|
+
attr_accessor :Success, :RequestId
|
5327
|
+
|
5328
|
+
def initialize(success=nil, requestid=nil)
|
5329
|
+
@Success = success
|
5330
|
+
@RequestId = requestid
|
5331
|
+
end
|
5332
|
+
|
5333
|
+
def deserialize(params)
|
5334
|
+
unless params['Success'].nil?
|
5335
|
+
@Success = SuccessCode.new
|
5336
|
+
@Success.deserialize(params['Success'])
|
5337
|
+
end
|
5338
|
+
@RequestId = params['RequestId']
|
5339
|
+
end
|
5340
|
+
end
|
5341
|
+
|
3995
5342
|
# ModifyDomainUsrName请求参数结构体
|
3996
5343
|
class ModifyDomainUsrNameRequest < TencentCloud::Common::AbstractModel
|
3997
5344
|
# @param DomainName: 用户CNAME
|
@@ -4167,6 +5514,52 @@ module TencentCloud
|
|
4167
5514
|
end
|
4168
5515
|
end
|
4169
5516
|
|
5517
|
+
# ModifyPortAclConfig请求参数结构体
|
5518
|
+
class ModifyPortAclConfigRequest < TencentCloud::Common::AbstractModel
|
5519
|
+
# @param InstanceId: 资源实例ID
|
5520
|
+
# @type InstanceId: String
|
5521
|
+
# @param OldAclConfig: 旧端口acl策略
|
5522
|
+
# @type OldAclConfig: :class:`Tencentcloud::Antiddos.v20200309.models.AclConfig`
|
5523
|
+
# @param NewAclConfig: 新端口acl策略
|
5524
|
+
# @type NewAclConfig: :class:`Tencentcloud::Antiddos.v20200309.models.AclConfig`
|
5525
|
+
|
5526
|
+
attr_accessor :InstanceId, :OldAclConfig, :NewAclConfig
|
5527
|
+
|
5528
|
+
def initialize(instanceid=nil, oldaclconfig=nil, newaclconfig=nil)
|
5529
|
+
@InstanceId = instanceid
|
5530
|
+
@OldAclConfig = oldaclconfig
|
5531
|
+
@NewAclConfig = newaclconfig
|
5532
|
+
end
|
5533
|
+
|
5534
|
+
def deserialize(params)
|
5535
|
+
@InstanceId = params['InstanceId']
|
5536
|
+
unless params['OldAclConfig'].nil?
|
5537
|
+
@OldAclConfig = AclConfig.new
|
5538
|
+
@OldAclConfig.deserialize(params['OldAclConfig'])
|
5539
|
+
end
|
5540
|
+
unless params['NewAclConfig'].nil?
|
5541
|
+
@NewAclConfig = AclConfig.new
|
5542
|
+
@NewAclConfig.deserialize(params['NewAclConfig'])
|
5543
|
+
end
|
5544
|
+
end
|
5545
|
+
end
|
5546
|
+
|
5547
|
+
# ModifyPortAclConfig返回参数结构体
|
5548
|
+
class ModifyPortAclConfigResponse < TencentCloud::Common::AbstractModel
|
5549
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5550
|
+
# @type RequestId: String
|
5551
|
+
|
5552
|
+
attr_accessor :RequestId
|
5553
|
+
|
5554
|
+
def initialize(requestid=nil)
|
5555
|
+
@RequestId = requestid
|
5556
|
+
end
|
5557
|
+
|
5558
|
+
def deserialize(params)
|
5559
|
+
@RequestId = params['RequestId']
|
5560
|
+
end
|
5561
|
+
end
|
5562
|
+
|
4170
5563
|
# L7规则
|
4171
5564
|
class NewL7RuleEntry < TencentCloud::Common::AbstractModel
|
4172
5565
|
# @param KeepTime: 会话保持时间,单位秒
|