tencentcloud-sdk-waf 3.0.1141 → 3.0.1146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180125/client.rb +1 -1
- data/lib/v20180125/models.rb +439 -65
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f7acde5991f377f9bb152c4dd40d22a392ff6a0
|
4
|
+
data.tar.gz: e70bdafcf44f9fbb70fd0eabc77c38f2bafb78de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d43765e5e426a0cb438b3be8beb3a15ae76b87ddfcab165ef347acc2f4daccea536ccb989012dca76e9e83f0bce7bfcb0c73818f607a8eac3ef25f80da65ddb0
|
7
|
+
data.tar.gz: c167656ded34d4851c89774cb39047ee8a0f494eb147664129129ac385688072d353964a96ec53761c618f00ac0789b024b6edd23008daecd40cfbb99b6b64c9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1146
|
data/lib/v20180125/client.rb
CHANGED
@@ -3439,7 +3439,7 @@ module TencentCloud
|
|
3439
3439
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3440
3440
|
end
|
3441
3441
|
|
3442
|
-
#
|
3442
|
+
# 修改域名规则白名单
|
3443
3443
|
|
3444
3444
|
# @param request: Request instance for ModifyDomainWhiteRule.
|
3445
3445
|
# @type request: :class:`Tencentcloud::waf::V20180125::ModifyDomainWhiteRuleRequest`
|
data/lib/v20180125/models.rb
CHANGED
@@ -592,13 +592,15 @@ module TencentCloud
|
|
592
592
|
# @type PageId: String
|
593
593
|
# @param LogicalOp: 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
594
594
|
# @type LogicalOp: String
|
595
|
+
# @param ActionRatio: 按照动作灰度的比例,默认是100
|
596
|
+
# @type ActionRatio: Integer
|
595
597
|
|
596
|
-
attr_accessor :Name, :SortId, :Strategies, :Domain, :ActionType, :Redirect, :ExpireTime, :Edition, :Bypass, :EventId, :JobType, :JobDateTime, :Source, :Label, :Status, :PageId, :LogicalOp
|
598
|
+
attr_accessor :Name, :SortId, :Strategies, :Domain, :ActionType, :Redirect, :ExpireTime, :Edition, :Bypass, :EventId, :JobType, :JobDateTime, :Source, :Label, :Status, :PageId, :LogicalOp, :ActionRatio
|
597
599
|
extend Gem::Deprecate
|
598
600
|
deprecate :Bypass, :none, 2025, 9
|
599
601
|
deprecate :Bypass=, :none, 2025, 9
|
600
602
|
|
601
|
-
def initialize(name=nil, sortid=nil, strategies=nil, domain=nil, actiontype=nil, redirect=nil, expiretime=nil, edition=nil, bypass=nil, eventid=nil, jobtype=nil, jobdatetime=nil, source=nil, label=nil, status=nil, pageid=nil, logicalop=nil)
|
603
|
+
def initialize(name=nil, sortid=nil, strategies=nil, domain=nil, actiontype=nil, redirect=nil, expiretime=nil, edition=nil, bypass=nil, eventid=nil, jobtype=nil, jobdatetime=nil, source=nil, label=nil, status=nil, pageid=nil, logicalop=nil, actionratio=nil)
|
602
604
|
@Name = name
|
603
605
|
@SortId = sortid
|
604
606
|
@Strategies = strategies
|
@@ -616,6 +618,7 @@ module TencentCloud
|
|
616
618
|
@Status = status
|
617
619
|
@PageId = pageid
|
618
620
|
@LogicalOp = logicalop
|
621
|
+
@ActionRatio = actionratio
|
619
622
|
end
|
620
623
|
|
621
624
|
def deserialize(params)
|
@@ -646,6 +649,7 @@ module TencentCloud
|
|
646
649
|
@Status = params['Status']
|
647
650
|
@PageId = params['PageId']
|
648
651
|
@LogicalOp = params['LogicalOp']
|
652
|
+
@ActionRatio = params['ActionRatio']
|
649
653
|
end
|
650
654
|
end
|
651
655
|
|
@@ -854,6 +858,24 @@ module TencentCloud
|
|
854
858
|
# @type IsKeepAlive: String
|
855
859
|
# @param InstanceID: 必填项,域名所属实例id
|
856
860
|
# @type InstanceID: String
|
861
|
+
# @param HttpsRewrite: 必填项,是否开启HTTP强制跳转到HTTPS。
|
862
|
+
# 0:不强制跳转
|
863
|
+
# 1:开启强制跳转
|
864
|
+
# @type HttpsRewrite: Integer
|
865
|
+
# @param IsHttp2: 必填项,是否开启HTTP2,需要开启HTTPS协议支持。
|
866
|
+
# 0:关闭
|
867
|
+
# 1:开启
|
868
|
+
# @type IsHttp2: Integer
|
869
|
+
# @param ActiveCheck: 必填项,是否开启主动健康检测。
|
870
|
+
# 0:不开启
|
871
|
+
# 1:开启
|
872
|
+
# @type ActiveCheck: Integer
|
873
|
+
# @param CipherTemplate: 必填项,加密套件模板。
|
874
|
+
# 0:不支持选择,使用默认模板
|
875
|
+
# 1:通用型模板
|
876
|
+
# 2:安全型模板
|
877
|
+
# 3:自定义模板
|
878
|
+
# @type CipherTemplate: Integer
|
857
879
|
# @param Cert: CertType为1时,需要填充此参数,表示自有证书的证书链
|
858
880
|
# @type Cert: String
|
859
881
|
# @param PrivateKey: CertType为1时,需要填充此参数,表示自有证书的私钥
|
@@ -874,18 +896,10 @@ module TencentCloud
|
|
874
896
|
# @type IsGray: Integer
|
875
897
|
# @param GrayAreas: 灰度的地区
|
876
898
|
# @type GrayAreas: Array
|
877
|
-
# @param HttpsRewrite: 必填项,是否开启HTTP强制跳转到HTTPS。
|
878
|
-
# 0:不强制跳转
|
879
|
-
# 1:开启强制跳转
|
880
|
-
# @type HttpsRewrite: Integer
|
881
899
|
# @param UpstreamDomain: 域名回源时的回源域名。UpstreamType为1时,需要填充此字段
|
882
900
|
# @type UpstreamDomain: String
|
883
901
|
# @param SrcList: IP回源时的回源IP列表。UpstreamType为0时,需要填充此字段
|
884
902
|
# @type SrcList: Array
|
885
|
-
# @param IsHttp2: 必填项,是否开启HTTP2,需要开启HTTPS协议支持。
|
886
|
-
# 0:关闭
|
887
|
-
# 1:开启
|
888
|
-
# @type IsHttp2: Integer
|
889
903
|
# @param Edition: WAF实例类型。
|
890
904
|
# sparta-waf:SAAS型WAF
|
891
905
|
# clb-waf:负载均衡型WAF
|
@@ -895,20 +909,12 @@ module TencentCloud
|
|
895
909
|
# @type Anycast: Integer
|
896
910
|
# @param Weights: 回源IP列表各IP的权重,和SrcList一一对应。当且仅当UpstreamType为0,并且SrcList有多个IP,并且LoadBalance为2时需要填写,否则填 []
|
897
911
|
# @type Weights: Array
|
898
|
-
# @param ActiveCheck: 必填项,是否开启主动健康检测。
|
899
|
-
# 0:不开启
|
900
|
-
# 1:开启
|
901
|
-
# @type ActiveCheck: Integer
|
902
912
|
# @param TLSVersion: TLS版本信息
|
903
913
|
# @type TLSVersion: Integer
|
904
|
-
# @param CipherTemplate: 必填项,加密套件模板。
|
905
|
-
# 0:不支持选择,使用默认模板
|
906
|
-
# 1:通用型模板
|
907
|
-
# 2:安全型模板
|
908
|
-
# 3:自定义模板
|
909
|
-
# @type CipherTemplate: Integer
|
910
914
|
# @param Ciphers: 自定义的加密套件列表。CipherTemplate为3时需要填此字段,表示自定义的加密套件,值通过DescribeCiphersDetail接口获取。
|
911
915
|
# @type Ciphers: Array
|
916
|
+
# @param ProxyConnectTimeout: WAF与源站的连接超时,默认10s。
|
917
|
+
# @type ProxyConnectTimeout: Integer
|
912
918
|
# @param ProxyReadTimeout: WAF与源站的读超时时间,默认300s。
|
913
919
|
# @type ProxyReadTimeout: Integer
|
914
920
|
# @param ProxySendTimeout: WAF与源站的写超时时间,默认300s。
|
@@ -951,8 +957,10 @@ module TencentCloud
|
|
951
957
|
# @type UpstreamRules: Array
|
952
958
|
# @param UseCase: 业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
|
953
959
|
# @type UseCase: Integer
|
960
|
+
# @param Gzip: gzip开关。0:关闭 1:默认值,打开。
|
961
|
+
# @type Gzip: Integer
|
954
962
|
|
955
|
-
attr_accessor :Domain, :CertType, :IsCdn, :UpstreamType, :IsWebsocket, :LoadBalance, :Ports, :IsKeepAlive, :InstanceID, :Cert, :PrivateKey, :SSLId, :ResourceId, :IpHeaders, :UpstreamScheme, :HttpsUpstreamPort, :IsGray, :GrayAreas, :
|
963
|
+
attr_accessor :Domain, :CertType, :IsCdn, :UpstreamType, :IsWebsocket, :LoadBalance, :Ports, :IsKeepAlive, :InstanceID, :HttpsRewrite, :IsHttp2, :ActiveCheck, :CipherTemplate, :Cert, :PrivateKey, :SSLId, :ResourceId, :IpHeaders, :UpstreamScheme, :HttpsUpstreamPort, :IsGray, :GrayAreas, :UpstreamDomain, :SrcList, :Edition, :Anycast, :Weights, :TLSVersion, :Ciphers, :ProxyConnectTimeout, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :XFFReset, :Note, :UpstreamHost, :ProxyBuffer, :ProbeStatus, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :UpstreamPolicy, :UpstreamRules, :UseCase, :Gzip
|
956
964
|
extend Gem::Deprecate
|
957
965
|
deprecate :ResourceId, :none, 2025, 9
|
958
966
|
deprecate :ResourceId=, :none, 2025, 9
|
@@ -965,7 +973,7 @@ module TencentCloud
|
|
965
973
|
deprecate :Anycast, :none, 2025, 9
|
966
974
|
deprecate :Anycast=, :none, 2025, 9
|
967
975
|
|
968
|
-
def initialize(domain=nil, certtype=nil, iscdn=nil, upstreamtype=nil, iswebsocket=nil, loadbalance=nil, ports=nil, iskeepalive=nil, instanceid=nil, cert=nil, privatekey=nil, sslid=nil, resourceid=nil, ipheaders=nil, upstreamscheme=nil, httpsupstreamport=nil, isgray=nil, grayareas=nil,
|
976
|
+
def initialize(domain=nil, certtype=nil, iscdn=nil, upstreamtype=nil, iswebsocket=nil, loadbalance=nil, ports=nil, iskeepalive=nil, instanceid=nil, httpsrewrite=nil, ishttp2=nil, activecheck=nil, ciphertemplate=nil, cert=nil, privatekey=nil, sslid=nil, resourceid=nil, ipheaders=nil, upstreamscheme=nil, httpsupstreamport=nil, isgray=nil, grayareas=nil, upstreamdomain=nil, srclist=nil, edition=nil, anycast=nil, weights=nil, tlsversion=nil, ciphers=nil, proxyconnecttimeout=nil, proxyreadtimeout=nil, proxysendtimeout=nil, snitype=nil, snihost=nil, xffreset=nil, note=nil, upstreamhost=nil, proxybuffer=nil, probestatus=nil, gmtype=nil, gmcerttype=nil, gmcert=nil, gmprivatekey=nil, gmenccert=nil, gmencprivatekey=nil, gmsslid=nil, upstreampolicy=nil, upstreamrules=nil, usecase=nil, gzip=nil)
|
969
977
|
@Domain = domain
|
970
978
|
@CertType = certtype
|
971
979
|
@IsCdn = iscdn
|
@@ -975,6 +983,10 @@ module TencentCloud
|
|
975
983
|
@Ports = ports
|
976
984
|
@IsKeepAlive = iskeepalive
|
977
985
|
@InstanceID = instanceid
|
986
|
+
@HttpsRewrite = httpsrewrite
|
987
|
+
@IsHttp2 = ishttp2
|
988
|
+
@ActiveCheck = activecheck
|
989
|
+
@CipherTemplate = ciphertemplate
|
978
990
|
@Cert = cert
|
979
991
|
@PrivateKey = privatekey
|
980
992
|
@SSLId = sslid
|
@@ -984,17 +996,14 @@ module TencentCloud
|
|
984
996
|
@HttpsUpstreamPort = httpsupstreamport
|
985
997
|
@IsGray = isgray
|
986
998
|
@GrayAreas = grayareas
|
987
|
-
@HttpsRewrite = httpsrewrite
|
988
999
|
@UpstreamDomain = upstreamdomain
|
989
1000
|
@SrcList = srclist
|
990
|
-
@IsHttp2 = ishttp2
|
991
1001
|
@Edition = edition
|
992
1002
|
@Anycast = anycast
|
993
1003
|
@Weights = weights
|
994
|
-
@ActiveCheck = activecheck
|
995
1004
|
@TLSVersion = tlsversion
|
996
|
-
@CipherTemplate = ciphertemplate
|
997
1005
|
@Ciphers = ciphers
|
1006
|
+
@ProxyConnectTimeout = proxyconnecttimeout
|
998
1007
|
@ProxyReadTimeout = proxyreadtimeout
|
999
1008
|
@ProxySendTimeout = proxysendtimeout
|
1000
1009
|
@SniType = snitype
|
@@ -1014,6 +1023,7 @@ module TencentCloud
|
|
1014
1023
|
@UpstreamPolicy = upstreampolicy
|
1015
1024
|
@UpstreamRules = upstreamrules
|
1016
1025
|
@UseCase = usecase
|
1026
|
+
@Gzip = gzip
|
1017
1027
|
end
|
1018
1028
|
|
1019
1029
|
def deserialize(params)
|
@@ -1033,6 +1043,10 @@ module TencentCloud
|
|
1033
1043
|
end
|
1034
1044
|
@IsKeepAlive = params['IsKeepAlive']
|
1035
1045
|
@InstanceID = params['InstanceID']
|
1046
|
+
@HttpsRewrite = params['HttpsRewrite']
|
1047
|
+
@IsHttp2 = params['IsHttp2']
|
1048
|
+
@ActiveCheck = params['ActiveCheck']
|
1049
|
+
@CipherTemplate = params['CipherTemplate']
|
1036
1050
|
@Cert = params['Cert']
|
1037
1051
|
@PrivateKey = params['PrivateKey']
|
1038
1052
|
@SSLId = params['SSLId']
|
@@ -1042,17 +1056,14 @@ module TencentCloud
|
|
1042
1056
|
@HttpsUpstreamPort = params['HttpsUpstreamPort']
|
1043
1057
|
@IsGray = params['IsGray']
|
1044
1058
|
@GrayAreas = params['GrayAreas']
|
1045
|
-
@HttpsRewrite = params['HttpsRewrite']
|
1046
1059
|
@UpstreamDomain = params['UpstreamDomain']
|
1047
1060
|
@SrcList = params['SrcList']
|
1048
|
-
@IsHttp2 = params['IsHttp2']
|
1049
1061
|
@Edition = params['Edition']
|
1050
1062
|
@Anycast = params['Anycast']
|
1051
1063
|
@Weights = params['Weights']
|
1052
|
-
@ActiveCheck = params['ActiveCheck']
|
1053
1064
|
@TLSVersion = params['TLSVersion']
|
1054
|
-
@CipherTemplate = params['CipherTemplate']
|
1055
1065
|
@Ciphers = params['Ciphers']
|
1066
|
+
@ProxyConnectTimeout = params['ProxyConnectTimeout']
|
1056
1067
|
@ProxyReadTimeout = params['ProxyReadTimeout']
|
1057
1068
|
@ProxySendTimeout = params['ProxySendTimeout']
|
1058
1069
|
@SniType = params['SniType']
|
@@ -1079,6 +1090,7 @@ module TencentCloud
|
|
1079
1090
|
end
|
1080
1091
|
end
|
1081
1092
|
@UseCase = params['UseCase']
|
1093
|
+
@Gzip = params['Gzip']
|
1082
1094
|
end
|
1083
1095
|
end
|
1084
1096
|
|
@@ -1209,19 +1221,23 @@ module TencentCloud
|
|
1209
1221
|
# @type Operator: String
|
1210
1222
|
# @param Value: 日期,手机号,邮箱等
|
1211
1223
|
# @type Value: String
|
1224
|
+
# @param ValueList: 风险等级
|
1225
|
+
# @type ValueList: Array
|
1212
1226
|
|
1213
|
-
attr_accessor :Entity, :Operator, :Value
|
1227
|
+
attr_accessor :Entity, :Operator, :Value, :ValueList
|
1214
1228
|
|
1215
|
-
def initialize(entity=nil, operator=nil, value=nil)
|
1229
|
+
def initialize(entity=nil, operator=nil, value=nil, valuelist=nil)
|
1216
1230
|
@Entity = entity
|
1217
1231
|
@Operator = operator
|
1218
1232
|
@Value = value
|
1233
|
+
@ValueList = valuelist
|
1219
1234
|
end
|
1220
1235
|
|
1221
1236
|
def deserialize(params)
|
1222
1237
|
@Entity = params['Entity']
|
1223
1238
|
@Operator = params['Operator']
|
1224
1239
|
@Value = params['Value']
|
1240
|
+
@ValueList = params['ValueList']
|
1225
1241
|
end
|
1226
1242
|
end
|
1227
1243
|
|
@@ -2181,10 +2197,12 @@ module TencentCloud
|
|
2181
2197
|
# @type Scene: Array
|
2182
2198
|
# @param Priority: 优先级
|
2183
2199
|
# @type Priority: Integer
|
2200
|
+
# @param TokenValidation: token有效性配置信息
|
2201
|
+
# @type TokenValidation: :class:`Tencentcloud::Waf.v20180125.models.TokenValidation`
|
2184
2202
|
|
2185
|
-
attr_accessor :Name, :Description, :Id, :Status, :Location, :Key, :Operator, :Timestamp, :Scene, :Priority
|
2203
|
+
attr_accessor :Name, :Description, :Id, :Status, :Location, :Key, :Operator, :Timestamp, :Scene, :Priority, :TokenValidation
|
2186
2204
|
|
2187
|
-
def initialize(name=nil, description=nil, id=nil, status=nil, location=nil, key=nil, operator=nil, timestamp=nil, scene=nil, priority=nil)
|
2205
|
+
def initialize(name=nil, description=nil, id=nil, status=nil, location=nil, key=nil, operator=nil, timestamp=nil, scene=nil, priority=nil, tokenvalidation=nil)
|
2188
2206
|
@Name = name
|
2189
2207
|
@Description = description
|
2190
2208
|
@Id = id
|
@@ -2195,6 +2213,7 @@ module TencentCloud
|
|
2195
2213
|
@Timestamp = timestamp
|
2196
2214
|
@Scene = scene
|
2197
2215
|
@Priority = priority
|
2216
|
+
@TokenValidation = tokenvalidation
|
2198
2217
|
end
|
2199
2218
|
|
2200
2219
|
def deserialize(params)
|
@@ -2208,6 +2227,10 @@ module TencentCloud
|
|
2208
2227
|
@Timestamp = params['Timestamp']
|
2209
2228
|
@Scene = params['Scene']
|
2210
2229
|
@Priority = params['Priority']
|
2230
|
+
unless params['TokenValidation'].nil?
|
2231
|
+
@TokenValidation = TokenValidation.new
|
2232
|
+
@TokenValidation.deserialize(params['TokenValidation'])
|
2233
|
+
end
|
2211
2234
|
end
|
2212
2235
|
end
|
2213
2236
|
|
@@ -2342,7 +2365,7 @@ module TencentCloud
|
|
2342
2365
|
# @type ValidTime: Integer
|
2343
2366
|
# @param TsVersion: 版本
|
2344
2367
|
# @type TsVersion: Integer
|
2345
|
-
# @param Options:
|
2368
|
+
# @param Options: key为匹配字段;args为base64编码后的参数,等于号前为匹配参数,等于号后为匹配内容;match为逻辑符号;encodeflag为参数内容是否编码
|
2346
2369
|
# @type Options: String
|
2347
2370
|
# @param RuleId: 规则ID
|
2348
2371
|
# @type RuleId: Integer
|
@@ -2358,10 +2381,14 @@ module TencentCloud
|
|
2358
2381
|
# @type CelRule: String
|
2359
2382
|
# @param LogicalOp: 逻辑操作符
|
2360
2383
|
# @type LogicalOp: String
|
2384
|
+
# @param PageId: 页面ID
|
2385
|
+
# @type PageId: String
|
2386
|
+
# @param ActionRatio: 动作灰度比例,默认值100
|
2387
|
+
# @type ActionRatio: Integer
|
2361
2388
|
|
2362
|
-
attr_accessor :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :TsVersion, :Options, :RuleId, :EventId, :SessionApplied, :CreateTime, :LimitMethod, :CelRule, :LogicalOp
|
2389
|
+
attr_accessor :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :TsVersion, :Options, :RuleId, :EventId, :SessionApplied, :CreateTime, :LimitMethod, :CelRule, :LogicalOp, :PageId, :ActionRatio
|
2363
2390
|
|
2364
|
-
def initialize(name=nil, status=nil, advance=nil, limit=nil, interval=nil, url=nil, matchfunc=nil, actiontype=nil, priority=nil, validtime=nil, tsversion=nil, options=nil, ruleid=nil, eventid=nil, sessionapplied=nil, createtime=nil, limitmethod=nil, celrule=nil, logicalop=nil)
|
2391
|
+
def initialize(name=nil, status=nil, advance=nil, limit=nil, interval=nil, url=nil, matchfunc=nil, actiontype=nil, priority=nil, validtime=nil, tsversion=nil, options=nil, ruleid=nil, eventid=nil, sessionapplied=nil, createtime=nil, limitmethod=nil, celrule=nil, logicalop=nil, pageid=nil, actionratio=nil)
|
2365
2392
|
@Name = name
|
2366
2393
|
@Status = status
|
2367
2394
|
@Advance = advance
|
@@ -2381,6 +2408,8 @@ module TencentCloud
|
|
2381
2408
|
@LimitMethod = limitmethod
|
2382
2409
|
@CelRule = celrule
|
2383
2410
|
@LogicalOp = logicalop
|
2411
|
+
@PageId = pageid
|
2412
|
+
@ActionRatio = actionratio
|
2384
2413
|
end
|
2385
2414
|
|
2386
2415
|
def deserialize(params)
|
@@ -2403,6 +2432,8 @@ module TencentCloud
|
|
2403
2432
|
@LimitMethod = params['LimitMethod']
|
2404
2433
|
@CelRule = params['CelRule']
|
2405
2434
|
@LogicalOp = params['LogicalOp']
|
2435
|
+
@PageId = params['PageId']
|
2436
|
+
@ActionRatio = params['ActionRatio']
|
2406
2437
|
end
|
2407
2438
|
end
|
2408
2439
|
|
@@ -4399,23 +4430,23 @@ module TencentCloud
|
|
4399
4430
|
class DeleteSpartaProtectionRequest < TencentCloud::Common::AbstractModel
|
4400
4431
|
# @param Domains: 域名列表
|
4401
4432
|
# @type Domains: Array
|
4402
|
-
# @param Edition: 实例类型
|
4403
|
-
# @type Edition: String
|
4404
4433
|
# @param InstanceID: 必填项。域名所属实例ID
|
4405
4434
|
# @type InstanceID: String
|
4435
|
+
# @param Edition: 实例类型
|
4436
|
+
# @type Edition: String
|
4406
4437
|
|
4407
|
-
attr_accessor :Domains, :
|
4438
|
+
attr_accessor :Domains, :InstanceID, :Edition
|
4408
4439
|
|
4409
|
-
def initialize(domains=nil,
|
4440
|
+
def initialize(domains=nil, instanceid=nil, edition=nil)
|
4410
4441
|
@Domains = domains
|
4411
|
-
@Edition = edition
|
4412
4442
|
@InstanceID = instanceid
|
4443
|
+
@Edition = edition
|
4413
4444
|
end
|
4414
4445
|
|
4415
4446
|
def deserialize(params)
|
4416
4447
|
@Domains = params['Domains']
|
4417
|
-
@Edition = params['Edition']
|
4418
4448
|
@InstanceID = params['InstanceID']
|
4449
|
+
@Edition = params['Edition']
|
4419
4450
|
end
|
4420
4451
|
end
|
4421
4452
|
|
@@ -5719,17 +5750,20 @@ module TencentCloud
|
|
5719
5750
|
# @type CurrentGlobalScene: :class:`Tencentcloud::Waf.v20180125.models.GlobalSceneInfo`
|
5720
5751
|
# @param CustomRuleNums: 自定义规则总数,不包括BOT白名单
|
5721
5752
|
# @type CustomRuleNums: Integer
|
5753
|
+
# @param TldStatus: 图灵盾开关状态
|
5754
|
+
# @type TldStatus: Boolean
|
5722
5755
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5723
5756
|
# @type RequestId: String
|
5724
5757
|
|
5725
|
-
attr_accessor :Status, :SceneCount, :ValidSceneCount, :CurrentGlobalScene, :CustomRuleNums, :RequestId
|
5758
|
+
attr_accessor :Status, :SceneCount, :ValidSceneCount, :CurrentGlobalScene, :CustomRuleNums, :TldStatus, :RequestId
|
5726
5759
|
|
5727
|
-
def initialize(status=nil, scenecount=nil, validscenecount=nil, currentglobalscene=nil, customrulenums=nil, requestid=nil)
|
5760
|
+
def initialize(status=nil, scenecount=nil, validscenecount=nil, currentglobalscene=nil, customrulenums=nil, tldstatus=nil, requestid=nil)
|
5728
5761
|
@Status = status
|
5729
5762
|
@SceneCount = scenecount
|
5730
5763
|
@ValidSceneCount = validscenecount
|
5731
5764
|
@CurrentGlobalScene = currentglobalscene
|
5732
5765
|
@CustomRuleNums = customrulenums
|
5766
|
+
@TldStatus = tldstatus
|
5733
5767
|
@RequestId = requestid
|
5734
5768
|
end
|
5735
5769
|
|
@@ -5742,6 +5776,7 @@ module TencentCloud
|
|
5742
5776
|
@CurrentGlobalScene.deserialize(params['CurrentGlobalScene'])
|
5743
5777
|
end
|
5744
5778
|
@CustomRuleNums = params['CustomRuleNums']
|
5779
|
+
@TldStatus = params['TldStatus']
|
5745
5780
|
@RequestId = params['RequestId']
|
5746
5781
|
end
|
5747
5782
|
end
|
@@ -6267,10 +6302,12 @@ module TencentCloud
|
|
6267
6302
|
# @type Domain: String
|
6268
6303
|
# @param LogicalOp: 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
6269
6304
|
# @type LogicalOp: String
|
6305
|
+
# @param ActionRatio: 规则灰度的比例,默认是100,不灰度
|
6306
|
+
# @type ActionRatio: Integer
|
6270
6307
|
|
6271
|
-
attr_accessor :ActionType, :Bypass, :CreateTime, :ExpireTime, :Name, :Redirect, :RuleId, :SortId, :Status, :Strategies, :EventId, :ModifyTime, :ValidStatus, :Source, :JobType, :JobDateTime, :CronType, :Label, :PageId, :Domain, :LogicalOp
|
6308
|
+
attr_accessor :ActionType, :Bypass, :CreateTime, :ExpireTime, :Name, :Redirect, :RuleId, :SortId, :Status, :Strategies, :EventId, :ModifyTime, :ValidStatus, :Source, :JobType, :JobDateTime, :CronType, :Label, :PageId, :Domain, :LogicalOp, :ActionRatio
|
6272
6309
|
|
6273
|
-
def initialize(actiontype=nil, bypass=nil, createtime=nil, expiretime=nil, name=nil, redirect=nil, ruleid=nil, sortid=nil, status=nil, strategies=nil, eventid=nil, modifytime=nil, validstatus=nil, source=nil, jobtype=nil, jobdatetime=nil, crontype=nil, label=nil, pageid=nil, domain=nil, logicalop=nil)
|
6310
|
+
def initialize(actiontype=nil, bypass=nil, createtime=nil, expiretime=nil, name=nil, redirect=nil, ruleid=nil, sortid=nil, status=nil, strategies=nil, eventid=nil, modifytime=nil, validstatus=nil, source=nil, jobtype=nil, jobdatetime=nil, crontype=nil, label=nil, pageid=nil, domain=nil, logicalop=nil, actionratio=nil)
|
6274
6311
|
@ActionType = actiontype
|
6275
6312
|
@Bypass = bypass
|
6276
6313
|
@CreateTime = createtime
|
@@ -6292,6 +6329,7 @@ module TencentCloud
|
|
6292
6329
|
@PageId = pageid
|
6293
6330
|
@Domain = domain
|
6294
6331
|
@LogicalOp = logicalop
|
6332
|
+
@ActionRatio = actionratio
|
6295
6333
|
end
|
6296
6334
|
|
6297
6335
|
def deserialize(params)
|
@@ -6326,6 +6364,7 @@ module TencentCloud
|
|
6326
6364
|
@PageId = params['PageId']
|
6327
6365
|
@Domain = params['Domain']
|
6328
6366
|
@LogicalOp = params['LogicalOp']
|
6367
|
+
@ActionRatio = params['ActionRatio']
|
6329
6368
|
end
|
6330
6369
|
end
|
6331
6370
|
|
@@ -9776,6 +9815,8 @@ module TencentCloud
|
|
9776
9815
|
# 2:安全型模板
|
9777
9816
|
# 3:自定义模板
|
9778
9817
|
# @type CipherTemplate: Integer
|
9818
|
+
# @param ProxyConnectTimeout: WAF与源站的连接超时,默认10s。
|
9819
|
+
# @type ProxyConnectTimeout: Integer
|
9779
9820
|
# @param ProxyReadTimeout: WAF与源站的读超时时间,默认300s。
|
9780
9821
|
# @type ProxyReadTimeout: Integer
|
9781
9822
|
# @param ProxySendTimeout: WAF与源站的写超时时间,默认300s。
|
@@ -9830,13 +9871,15 @@ module TencentCloud
|
|
9830
9871
|
# @type UpstreamRules: Array
|
9831
9872
|
# @param UseCase: 业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
|
9832
9873
|
# @type UseCase: Integer
|
9874
|
+
# @param Gzip: gzip开关。0:关闭 1:默认值,打开。
|
9875
|
+
# @type Gzip: Integer
|
9833
9876
|
|
9834
|
-
attr_accessor :Domain, :DomainId, :InstanceId, :Edition, :InstanceName, :Cert, :CreateTime, :Engine, :HttpsRewrite, :HttpsUpstreamPort, :IsCdn, :IsGray, :IsHttp2, :IsWebsocket, :LoadBalance, :Mode, :PrivateKey, :SSLId, :UpstreamDomain, :UpstreamType, :SrcList, :Ports, :CertType, :UpstreamScheme, :Cls, :Cname, :IsKeepAlive, :ActiveCheck, :TLSVersion, :Ciphers, :CipherTemplate, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :Weights, :IpHeaders, :XFFReset, :Note, :UpstreamHost, :Level, :ProxyBuffer, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :Labels, :ProbeStatus, :UpstreamPolicy, :UpstreamRules, :UseCase
|
9877
|
+
attr_accessor :Domain, :DomainId, :InstanceId, :Edition, :InstanceName, :Cert, :CreateTime, :Engine, :HttpsRewrite, :HttpsUpstreamPort, :IsCdn, :IsGray, :IsHttp2, :IsWebsocket, :LoadBalance, :Mode, :PrivateKey, :SSLId, :UpstreamDomain, :UpstreamType, :SrcList, :Ports, :CertType, :UpstreamScheme, :Cls, :Cname, :IsKeepAlive, :ActiveCheck, :TLSVersion, :Ciphers, :CipherTemplate, :ProxyConnectTimeout, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :Weights, :IpHeaders, :XFFReset, :Note, :UpstreamHost, :Level, :ProxyBuffer, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :Labels, :ProbeStatus, :UpstreamPolicy, :UpstreamRules, :UseCase, :Gzip
|
9835
9878
|
extend Gem::Deprecate
|
9836
9879
|
deprecate :IsGray, :none, 2025, 9
|
9837
9880
|
deprecate :IsGray=, :none, 2025, 9
|
9838
9881
|
|
9839
|
-
def initialize(domain=nil, domainid=nil, instanceid=nil, edition=nil, instancename=nil, cert=nil, createtime=nil, engine=nil, httpsrewrite=nil, httpsupstreamport=nil, iscdn=nil, isgray=nil, ishttp2=nil, iswebsocket=nil, loadbalance=nil, mode=nil, privatekey=nil, sslid=nil, upstreamdomain=nil, upstreamtype=nil, srclist=nil, ports=nil, certtype=nil, upstreamscheme=nil, cls=nil, cname=nil, iskeepalive=nil, activecheck=nil, tlsversion=nil, ciphers=nil, ciphertemplate=nil, proxyreadtimeout=nil, proxysendtimeout=nil, snitype=nil, snihost=nil, weights=nil, ipheaders=nil, xffreset=nil, note=nil, upstreamhost=nil, level=nil, proxybuffer=nil, gmtype=nil, gmcerttype=nil, gmcert=nil, gmprivatekey=nil, gmenccert=nil, gmencprivatekey=nil, gmsslid=nil, labels=nil, probestatus=nil, upstreampolicy=nil, upstreamrules=nil, usecase=nil)
|
9882
|
+
def initialize(domain=nil, domainid=nil, instanceid=nil, edition=nil, instancename=nil, cert=nil, createtime=nil, engine=nil, httpsrewrite=nil, httpsupstreamport=nil, iscdn=nil, isgray=nil, ishttp2=nil, iswebsocket=nil, loadbalance=nil, mode=nil, privatekey=nil, sslid=nil, upstreamdomain=nil, upstreamtype=nil, srclist=nil, ports=nil, certtype=nil, upstreamscheme=nil, cls=nil, cname=nil, iskeepalive=nil, activecheck=nil, tlsversion=nil, ciphers=nil, ciphertemplate=nil, proxyconnecttimeout=nil, proxyreadtimeout=nil, proxysendtimeout=nil, snitype=nil, snihost=nil, weights=nil, ipheaders=nil, xffreset=nil, note=nil, upstreamhost=nil, level=nil, proxybuffer=nil, gmtype=nil, gmcerttype=nil, gmcert=nil, gmprivatekey=nil, gmenccert=nil, gmencprivatekey=nil, gmsslid=nil, labels=nil, probestatus=nil, upstreampolicy=nil, upstreamrules=nil, usecase=nil, gzip=nil)
|
9840
9883
|
@Domain = domain
|
9841
9884
|
@DomainId = domainid
|
9842
9885
|
@InstanceId = instanceid
|
@@ -9868,6 +9911,7 @@ module TencentCloud
|
|
9868
9911
|
@TLSVersion = tlsversion
|
9869
9912
|
@Ciphers = ciphers
|
9870
9913
|
@CipherTemplate = ciphertemplate
|
9914
|
+
@ProxyConnectTimeout = proxyconnecttimeout
|
9871
9915
|
@ProxyReadTimeout = proxyreadtimeout
|
9872
9916
|
@ProxySendTimeout = proxysendtimeout
|
9873
9917
|
@SniType = snitype
|
@@ -9891,6 +9935,7 @@ module TencentCloud
|
|
9891
9935
|
@UpstreamPolicy = upstreampolicy
|
9892
9936
|
@UpstreamRules = upstreamrules
|
9893
9937
|
@UseCase = usecase
|
9938
|
+
@Gzip = gzip
|
9894
9939
|
end
|
9895
9940
|
|
9896
9941
|
def deserialize(params)
|
@@ -9932,6 +9977,7 @@ module TencentCloud
|
|
9932
9977
|
@TLSVersion = params['TLSVersion']
|
9933
9978
|
@Ciphers = params['Ciphers']
|
9934
9979
|
@CipherTemplate = params['CipherTemplate']
|
9980
|
+
@ProxyConnectTimeout = params['ProxyConnectTimeout']
|
9935
9981
|
@ProxyReadTimeout = params['ProxyReadTimeout']
|
9936
9982
|
@ProxySendTimeout = params['ProxySendTimeout']
|
9937
9983
|
@SniType = params['SniType']
|
@@ -9962,6 +10008,7 @@ module TencentCloud
|
|
9962
10008
|
end
|
9963
10009
|
end
|
9964
10010
|
@UseCase = params['UseCase']
|
10011
|
+
@Gzip = params['Gzip']
|
9965
10012
|
end
|
9966
10013
|
end
|
9967
10014
|
|
@@ -11498,10 +11545,19 @@ module TencentCloud
|
|
11498
11545
|
# @type BasicFlag: Integer
|
11499
11546
|
# @param NetworkConfig: 实例的网络配置
|
11500
11547
|
# @type NetworkConfig: :class:`Tencentcloud::Waf.v20180125.models.NetworkConfig`
|
11501
|
-
|
11502
|
-
|
11503
|
-
|
11504
|
-
|
11548
|
+
# @param RCEPkg: RCE设备安全信息包
|
11549
|
+
# @type RCEPkg: :class:`Tencentcloud::Waf.v20180125.models.RCEPkg`
|
11550
|
+
# @param ExceedPolicy: 超量策略。0:超量沙箱
|
11551
|
+
# 1:超量限流
|
11552
|
+
# @type ExceedPolicy: Integer
|
11553
|
+
# @param LLMPkg: 大模型安全信息包
|
11554
|
+
# @type LLMPkg: :class:`Tencentcloud::Waf.v20180125.models.LLMPkg`
|
11555
|
+
# @param ElasticResourceId: 弹性资源Id
|
11556
|
+
# @type ElasticResourceId: String
|
11557
|
+
|
11558
|
+
attr_accessor :InstanceId, :InstanceName, :ResourceIds, :Region, :PayMode, :RenewFlag, :Mode, :Level, :ValidTime, :BeginTime, :DomainCount, :SubDomainLimit, :MainDomainCount, :MainDomainLimit, :MaxQPS, :QPS, :DomainPkg, :AppId, :Edition, :FraudPkg, :BotPkg, :BotQPS, :ElasticBilling, :AttackLogPost, :MaxBandwidth, :APISecurity, :QpsStandard, :BandwidthStandard, :Status, :SandboxQps, :IsAPISecurityTrial, :MajorEventsPkg, :HybridPkg, :ApiPkg, :MiniPkg, :MiniQpsStandard, :MiniMaxQPS, :LastQpsExceedTime, :MiniExtendPkg, :BillingItem, :FreeDelayFlag, :Last3MaxQPS, :Last3MaxBandwidth, :MajorEventsProPkg, :BasicFlag, :NetworkConfig, :RCEPkg, :ExceedPolicy, :LLMPkg, :ElasticResourceId
|
11559
|
+
|
11560
|
+
def initialize(instanceid=nil, instancename=nil, resourceids=nil, region=nil, paymode=nil, renewflag=nil, mode=nil, level=nil, validtime=nil, begintime=nil, domaincount=nil, subdomainlimit=nil, maindomaincount=nil, maindomainlimit=nil, maxqps=nil, qps=nil, domainpkg=nil, appid=nil, edition=nil, fraudpkg=nil, botpkg=nil, botqps=nil, elasticbilling=nil, attacklogpost=nil, maxbandwidth=nil, apisecurity=nil, qpsstandard=nil, bandwidthstandard=nil, status=nil, sandboxqps=nil, isapisecuritytrial=nil, majoreventspkg=nil, hybridpkg=nil, apipkg=nil, minipkg=nil, miniqpsstandard=nil, minimaxqps=nil, lastqpsexceedtime=nil, miniextendpkg=nil, billingitem=nil, freedelayflag=nil, last3maxqps=nil, last3maxbandwidth=nil, majoreventspropkg=nil, basicflag=nil, networkconfig=nil, rcepkg=nil, exceedpolicy=nil, llmpkg=nil, elasticresourceid=nil)
|
11505
11561
|
@InstanceId = instanceid
|
11506
11562
|
@InstanceName = instancename
|
11507
11563
|
@ResourceIds = resourceids
|
@@ -11548,6 +11604,10 @@ module TencentCloud
|
|
11548
11604
|
@MajorEventsProPkg = majoreventspropkg
|
11549
11605
|
@BasicFlag = basicflag
|
11550
11606
|
@NetworkConfig = networkconfig
|
11607
|
+
@RCEPkg = rcepkg
|
11608
|
+
@ExceedPolicy = exceedpolicy
|
11609
|
+
@LLMPkg = llmpkg
|
11610
|
+
@ElasticResourceId = elasticresourceid
|
11551
11611
|
end
|
11552
11612
|
|
11553
11613
|
def deserialize(params)
|
@@ -11633,6 +11693,16 @@ module TencentCloud
|
|
11633
11693
|
@NetworkConfig = NetworkConfig.new
|
11634
11694
|
@NetworkConfig.deserialize(params['NetworkConfig'])
|
11635
11695
|
end
|
11696
|
+
unless params['RCEPkg'].nil?
|
11697
|
+
@RCEPkg = RCEPkg.new
|
11698
|
+
@RCEPkg.deserialize(params['RCEPkg'])
|
11699
|
+
end
|
11700
|
+
@ExceedPolicy = params['ExceedPolicy']
|
11701
|
+
unless params['LLMPkg'].nil?
|
11702
|
+
@LLMPkg = LLMPkg.new
|
11703
|
+
@LLMPkg.deserialize(params['LLMPkg'])
|
11704
|
+
end
|
11705
|
+
@ElasticResourceId = params['ElasticResourceId']
|
11636
11706
|
end
|
11637
11707
|
end
|
11638
11708
|
|
@@ -11825,6 +11895,36 @@ module TencentCloud
|
|
11825
11895
|
end
|
11826
11896
|
end
|
11827
11897
|
|
11898
|
+
# 当用户选择JWS/JWE会话管理方式的时候,上传的配置信息以及校验规则
|
11899
|
+
class JWTConfig < TencentCloud::Common::AbstractModel
|
11900
|
+
# @param SecretInfo: 密钥信息
|
11901
|
+
# @type SecretInfo: :class:`Tencentcloud::Waf.v20180125.models.SecretInfo`
|
11902
|
+
# @param PayloadRule: Payload校验规则集合
|
11903
|
+
# @type PayloadRule: Array
|
11904
|
+
|
11905
|
+
attr_accessor :SecretInfo, :PayloadRule
|
11906
|
+
|
11907
|
+
def initialize(secretinfo=nil, payloadrule=nil)
|
11908
|
+
@SecretInfo = secretinfo
|
11909
|
+
@PayloadRule = payloadrule
|
11910
|
+
end
|
11911
|
+
|
11912
|
+
def deserialize(params)
|
11913
|
+
unless params['SecretInfo'].nil?
|
11914
|
+
@SecretInfo = SecretInfo.new
|
11915
|
+
@SecretInfo.deserialize(params['SecretInfo'])
|
11916
|
+
end
|
11917
|
+
unless params['PayloadRule'].nil?
|
11918
|
+
@PayloadRule = []
|
11919
|
+
params['PayloadRule'].each do |i|
|
11920
|
+
tokenruleentry_tmp = TokenRuleEntry.new
|
11921
|
+
tokenruleentry_tmp.deserialize(i)
|
11922
|
+
@PayloadRule << tokenruleentry_tmp
|
11923
|
+
end
|
11924
|
+
end
|
11925
|
+
end
|
11926
|
+
end
|
11927
|
+
|
11828
11928
|
# 规则执行的时间结构体
|
11829
11929
|
class JobDateTime < TencentCloud::Common::AbstractModel
|
11830
11930
|
# @param Timed: 定时执行的时间参数
|
@@ -11883,6 +11983,42 @@ module TencentCloud
|
|
11883
11983
|
end
|
11884
11984
|
end
|
11885
11985
|
|
11986
|
+
# 有效大模型安全包信息
|
11987
|
+
class LLMPkg < TencentCloud::Common::AbstractModel
|
11988
|
+
# @param ResourceIds: 资源id
|
11989
|
+
# @type ResourceIds: String
|
11990
|
+
# @param Status: 状态
|
11991
|
+
# @type Status: Integer
|
11992
|
+
# @param Region: 地域
|
11993
|
+
# @type Region: Integer
|
11994
|
+
# @param BeginTime: 开始时间
|
11995
|
+
# @type BeginTime: String
|
11996
|
+
# @param EndTime: 结束时间
|
11997
|
+
# @type EndTime: String
|
11998
|
+
# @param InquireKey: 计费项
|
11999
|
+
# @type InquireKey: String
|
12000
|
+
|
12001
|
+
attr_accessor :ResourceIds, :Status, :Region, :BeginTime, :EndTime, :InquireKey
|
12002
|
+
|
12003
|
+
def initialize(resourceids=nil, status=nil, region=nil, begintime=nil, endtime=nil, inquirekey=nil)
|
12004
|
+
@ResourceIds = resourceids
|
12005
|
+
@Status = status
|
12006
|
+
@Region = region
|
12007
|
+
@BeginTime = begintime
|
12008
|
+
@EndTime = endtime
|
12009
|
+
@InquireKey = inquirekey
|
12010
|
+
end
|
12011
|
+
|
12012
|
+
def deserialize(params)
|
12013
|
+
@ResourceIds = params['ResourceIds']
|
12014
|
+
@Status = params['Status']
|
12015
|
+
@Region = params['Region']
|
12016
|
+
@BeginTime = params['BeginTime']
|
12017
|
+
@EndTime = params['EndTime']
|
12018
|
+
@InquireKey = params['InquireKey']
|
12019
|
+
end
|
12020
|
+
end
|
12021
|
+
|
11886
12022
|
# 负载均衡的监听器
|
11887
12023
|
class LoadBalancer < TencentCloud::Common::AbstractModel
|
11888
12024
|
# @param LoadBalancerId: 负载均衡LD的ID
|
@@ -11956,7 +12092,7 @@ module TencentCloud
|
|
11956
12092
|
# @param Protocol: 协议
|
11957
12093
|
# @type Protocol: String
|
11958
12094
|
# @param Region: 地区
|
11959
|
-
#
|
12095
|
+
# "多伦多": "ca",
|
11960
12096
|
# "广州": "gz",
|
11961
12097
|
# "成都": "cd",
|
11962
12098
|
# "福州": "fzec",
|
@@ -11983,7 +12119,8 @@ module TencentCloud
|
|
11983
12119
|
# "首尔": "kr",
|
11984
12120
|
# "上海": "sh",
|
11985
12121
|
# "新加坡": "sg",
|
11986
|
-
# "清远": "qy"
|
12122
|
+
# "清远": "qy",
|
12123
|
+
# "雅加达": "jkt"
|
11987
12124
|
# @type Region: String
|
11988
12125
|
# @param Vip: 接入IP
|
11989
12126
|
# @type Vip: String
|
@@ -13152,13 +13289,15 @@ module TencentCloud
|
|
13152
13289
|
# @type PageId: String
|
13153
13290
|
# @param LogicalOp: 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
13154
13291
|
# @type LogicalOp: String
|
13292
|
+
# @param ActionRatio: 规则生效比例
|
13293
|
+
# @type ActionRatio: Integer
|
13155
13294
|
|
13156
|
-
attr_accessor :Domain, :RuleId, :RuleName, :RuleAction, :Strategies, :Edition, :Redirect, :Bypass, :SortId, :ExpireTime, :JobType, :JobDateTime, :Source, :Status, :PageId, :LogicalOp
|
13295
|
+
attr_accessor :Domain, :RuleId, :RuleName, :RuleAction, :Strategies, :Edition, :Redirect, :Bypass, :SortId, :ExpireTime, :JobType, :JobDateTime, :Source, :Status, :PageId, :LogicalOp, :ActionRatio
|
13157
13296
|
extend Gem::Deprecate
|
13158
13297
|
deprecate :Bypass, :none, 2025, 9
|
13159
13298
|
deprecate :Bypass=, :none, 2025, 9
|
13160
13299
|
|
13161
|
-
def initialize(domain=nil, ruleid=nil, rulename=nil, ruleaction=nil, strategies=nil, edition=nil, redirect=nil, bypass=nil, sortid=nil, expiretime=nil, jobtype=nil, jobdatetime=nil, source=nil, status=nil, pageid=nil, logicalop=nil)
|
13300
|
+
def initialize(domain=nil, ruleid=nil, rulename=nil, ruleaction=nil, strategies=nil, edition=nil, redirect=nil, bypass=nil, sortid=nil, expiretime=nil, jobtype=nil, jobdatetime=nil, source=nil, status=nil, pageid=nil, logicalop=nil, actionratio=nil)
|
13162
13301
|
@Domain = domain
|
13163
13302
|
@RuleId = ruleid
|
13164
13303
|
@RuleName = rulename
|
@@ -13175,6 +13314,7 @@ module TencentCloud
|
|
13175
13314
|
@Status = status
|
13176
13315
|
@PageId = pageid
|
13177
13316
|
@LogicalOp = logicalop
|
13317
|
+
@ActionRatio = actionratio
|
13178
13318
|
end
|
13179
13319
|
|
13180
13320
|
def deserialize(params)
|
@@ -13204,6 +13344,7 @@ module TencentCloud
|
|
13204
13344
|
@Status = params['Status']
|
13205
13345
|
@PageId = params['PageId']
|
13206
13346
|
@LogicalOp = params['LogicalOp']
|
13347
|
+
@ActionRatio = params['ActionRatio']
|
13207
13348
|
end
|
13208
13349
|
end
|
13209
13350
|
|
@@ -14677,6 +14818,8 @@ module TencentCloud
|
|
14677
14818
|
# @type Ciphers: Array
|
14678
14819
|
# @param CipherTemplate: 加密套件模板。0:不支持选择,使用默认模板 1:通用型模板 2:安全型模板3:自定义模板
|
14679
14820
|
# @type CipherTemplate: Integer
|
14821
|
+
# @param ProxyConnectTimeout: WAF与源站的连接超时时间,默认10s。
|
14822
|
+
# @type ProxyConnectTimeout: Integer
|
14680
14823
|
# @param ProxyReadTimeout: WAF与源站的读超时时间,默认300s。
|
14681
14824
|
# @type ProxyReadTimeout: Integer
|
14682
14825
|
# @param ProxySendTimeout: WAF与源站的写超时时间,默认300s。
|
@@ -14721,15 +14864,17 @@ module TencentCloud
|
|
14721
14864
|
# @type UpstreamRules: Array
|
14722
14865
|
# @param UseCase: 业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
|
14723
14866
|
# @type UseCase: Integer
|
14867
|
+
# @param Gzip: gzip开关。0:关闭 1:默认值,打开
|
14868
|
+
# @type Gzip: Integer
|
14724
14869
|
|
14725
|
-
attr_accessor :Domain, :DomainId, :InstanceID, :CertType, :Cert, :PrivateKey, :SSLId, :IsCdn, :UpstreamScheme, :HttpsUpstreamPort, :HttpsRewrite, :UpstreamType, :UpstreamDomain, :SrcList, :IsHttp2, :IsWebsocket, :LoadBalance, :IsGray, :Edition, :Ports, :IsKeepAlive, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :Ciphers, :CipherTemplate, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :IpHeaders, :XFFReset, :Note, :UpstreamHost, :ProxyBuffer, :ProbeStatus, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :UpstreamPolicy, :UpstreamRules, :UseCase
|
14870
|
+
attr_accessor :Domain, :DomainId, :InstanceID, :CertType, :Cert, :PrivateKey, :SSLId, :IsCdn, :UpstreamScheme, :HttpsUpstreamPort, :HttpsRewrite, :UpstreamType, :UpstreamDomain, :SrcList, :IsHttp2, :IsWebsocket, :LoadBalance, :IsGray, :Edition, :Ports, :IsKeepAlive, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :Ciphers, :CipherTemplate, :ProxyConnectTimeout, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :IpHeaders, :XFFReset, :Note, :UpstreamHost, :ProxyBuffer, :ProbeStatus, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :UpstreamPolicy, :UpstreamRules, :UseCase, :Gzip
|
14726
14871
|
extend Gem::Deprecate
|
14727
14872
|
deprecate :IsGray, :none, 2025, 9
|
14728
14873
|
deprecate :IsGray=, :none, 2025, 9
|
14729
14874
|
deprecate :Anycast, :none, 2025, 9
|
14730
14875
|
deprecate :Anycast=, :none, 2025, 9
|
14731
14876
|
|
14732
|
-
def initialize(domain=nil, domainid=nil, instanceid=nil, certtype=nil, cert=nil, privatekey=nil, sslid=nil, iscdn=nil, upstreamscheme=nil, httpsupstreamport=nil, httpsrewrite=nil, upstreamtype=nil, upstreamdomain=nil, srclist=nil, ishttp2=nil, iswebsocket=nil, loadbalance=nil, isgray=nil, edition=nil, ports=nil, iskeepalive=nil, anycast=nil, weights=nil, activecheck=nil, tlsversion=nil, ciphers=nil, ciphertemplate=nil, proxyreadtimeout=nil, proxysendtimeout=nil, snitype=nil, snihost=nil, ipheaders=nil, xffreset=nil, note=nil, upstreamhost=nil, proxybuffer=nil, probestatus=nil, gmtype=nil, gmcerttype=nil, gmcert=nil, gmprivatekey=nil, gmenccert=nil, gmencprivatekey=nil, gmsslid=nil, upstreampolicy=nil, upstreamrules=nil, usecase=nil)
|
14877
|
+
def initialize(domain=nil, domainid=nil, instanceid=nil, certtype=nil, cert=nil, privatekey=nil, sslid=nil, iscdn=nil, upstreamscheme=nil, httpsupstreamport=nil, httpsrewrite=nil, upstreamtype=nil, upstreamdomain=nil, srclist=nil, ishttp2=nil, iswebsocket=nil, loadbalance=nil, isgray=nil, edition=nil, ports=nil, iskeepalive=nil, anycast=nil, weights=nil, activecheck=nil, tlsversion=nil, ciphers=nil, ciphertemplate=nil, proxyconnecttimeout=nil, proxyreadtimeout=nil, proxysendtimeout=nil, snitype=nil, snihost=nil, ipheaders=nil, xffreset=nil, note=nil, upstreamhost=nil, proxybuffer=nil, probestatus=nil, gmtype=nil, gmcerttype=nil, gmcert=nil, gmprivatekey=nil, gmenccert=nil, gmencprivatekey=nil, gmsslid=nil, upstreampolicy=nil, upstreamrules=nil, usecase=nil, gzip=nil)
|
14733
14878
|
@Domain = domain
|
14734
14879
|
@DomainId = domainid
|
14735
14880
|
@InstanceID = instanceid
|
@@ -14757,6 +14902,7 @@ module TencentCloud
|
|
14757
14902
|
@TLSVersion = tlsversion
|
14758
14903
|
@Ciphers = ciphers
|
14759
14904
|
@CipherTemplate = ciphertemplate
|
14905
|
+
@ProxyConnectTimeout = proxyconnecttimeout
|
14760
14906
|
@ProxyReadTimeout = proxyreadtimeout
|
14761
14907
|
@ProxySendTimeout = proxysendtimeout
|
14762
14908
|
@SniType = snitype
|
@@ -14777,6 +14923,7 @@ module TencentCloud
|
|
14777
14923
|
@UpstreamPolicy = upstreampolicy
|
14778
14924
|
@UpstreamRules = upstreamrules
|
14779
14925
|
@UseCase = usecase
|
14926
|
+
@Gzip = gzip
|
14780
14927
|
end
|
14781
14928
|
|
14782
14929
|
def deserialize(params)
|
@@ -14814,6 +14961,7 @@ module TencentCloud
|
|
14814
14961
|
@TLSVersion = params['TLSVersion']
|
14815
14962
|
@Ciphers = params['Ciphers']
|
14816
14963
|
@CipherTemplate = params['CipherTemplate']
|
14964
|
+
@ProxyConnectTimeout = params['ProxyConnectTimeout']
|
14817
14965
|
@ProxyReadTimeout = params['ProxyReadTimeout']
|
14818
14966
|
@ProxySendTimeout = params['ProxySendTimeout']
|
14819
14967
|
@SniType = params['SniType']
|
@@ -14841,6 +14989,7 @@ module TencentCloud
|
|
14841
14989
|
end
|
14842
14990
|
end
|
14843
14991
|
@UseCase = params['UseCase']
|
14992
|
+
@Gzip = params['Gzip']
|
14844
14993
|
end
|
14845
14994
|
end
|
14846
14995
|
|
@@ -15863,6 +16012,54 @@ module TencentCloud
|
|
15863
16012
|
end
|
15864
16013
|
end
|
15865
16014
|
|
16015
|
+
# 有效REC设备安全包信息
|
16016
|
+
class RCEPkg < TencentCloud::Common::AbstractModel
|
16017
|
+
# @param ResourceIds: 资源id
|
16018
|
+
# @type ResourceIds: String
|
16019
|
+
# @param Status: 状态
|
16020
|
+
# @type Status: Integer
|
16021
|
+
# @param Region: 地域
|
16022
|
+
# @type Region: Integer
|
16023
|
+
# @param BeginTime: 开始时间
|
16024
|
+
# @type BeginTime: String
|
16025
|
+
# @param EndTime: 结束时间
|
16026
|
+
# @type EndTime: String
|
16027
|
+
# @param InquireNum: 申请数量
|
16028
|
+
# @type InquireNum: Integer
|
16029
|
+
# @param UsedNum: 使用数量
|
16030
|
+
# @type UsedNum: Integer
|
16031
|
+
# @param RenewFlag: 续费标志
|
16032
|
+
# @type RenewFlag: Integer
|
16033
|
+
# @param BillingItem: 计费项
|
16034
|
+
# @type BillingItem: String
|
16035
|
+
|
16036
|
+
attr_accessor :ResourceIds, :Status, :Region, :BeginTime, :EndTime, :InquireNum, :UsedNum, :RenewFlag, :BillingItem
|
16037
|
+
|
16038
|
+
def initialize(resourceids=nil, status=nil, region=nil, begintime=nil, endtime=nil, inquirenum=nil, usednum=nil, renewflag=nil, billingitem=nil)
|
16039
|
+
@ResourceIds = resourceids
|
16040
|
+
@Status = status
|
16041
|
+
@Region = region
|
16042
|
+
@BeginTime = begintime
|
16043
|
+
@EndTime = endtime
|
16044
|
+
@InquireNum = inquirenum
|
16045
|
+
@UsedNum = usednum
|
16046
|
+
@RenewFlag = renewflag
|
16047
|
+
@BillingItem = billingitem
|
16048
|
+
end
|
16049
|
+
|
16050
|
+
def deserialize(params)
|
16051
|
+
@ResourceIds = params['ResourceIds']
|
16052
|
+
@Status = params['Status']
|
16053
|
+
@Region = params['Region']
|
16054
|
+
@BeginTime = params['BeginTime']
|
16055
|
+
@EndTime = params['EndTime']
|
16056
|
+
@InquireNum = params['InquireNum']
|
16057
|
+
@UsedNum = params['UsedNum']
|
16058
|
+
@RenewFlag = params['RenewFlag']
|
16059
|
+
@BillingItem = params['BillingItem']
|
16060
|
+
end
|
16061
|
+
end
|
16062
|
+
|
15866
16063
|
# RefreshAccessCheckResult请求参数结构体
|
15867
16064
|
class RefreshAccessCheckResultRequest < TencentCloud::Common::AbstractModel
|
15868
16065
|
# @param Domain: 域名
|
@@ -16488,6 +16685,30 @@ module TencentCloud
|
|
16488
16685
|
end
|
16489
16686
|
end
|
16490
16687
|
|
16688
|
+
# 用于JWT验签的密钥信息
|
16689
|
+
class SecretInfo < TencentCloud::Common::AbstractModel
|
16690
|
+
# @param SecretSource: 密钥上传方式,可选值:manual、upload
|
16691
|
+
# @type SecretSource: String
|
16692
|
+
# @param SecretKey: 密钥内容(用户手动输入/前端从密钥文件提取出的密钥内容)
|
16693
|
+
# @type SecretKey: String
|
16694
|
+
# @param FileName: 上传的密钥文件文件名
|
16695
|
+
# @type FileName: String
|
16696
|
+
|
16697
|
+
attr_accessor :SecretSource, :SecretKey, :FileName
|
16698
|
+
|
16699
|
+
def initialize(secretsource=nil, secretkey=nil, filename=nil)
|
16700
|
+
@SecretSource = secretsource
|
16701
|
+
@SecretKey = secretkey
|
16702
|
+
@FileName = filename
|
16703
|
+
end
|
16704
|
+
|
16705
|
+
def deserialize(params)
|
16706
|
+
@SecretSource = params['SecretSource']
|
16707
|
+
@SecretKey = params['SecretKey']
|
16708
|
+
@FileName = params['FileName']
|
16709
|
+
end
|
16710
|
+
end
|
16711
|
+
|
16491
16712
|
# 参数包装
|
16492
16713
|
class SessionData < TencentCloud::Common::AbstractModel
|
16493
16714
|
# @param Res: session定义
|
@@ -16535,10 +16756,12 @@ module TencentCloud
|
|
16535
16756
|
# @type SessionInUsed: Boolean
|
16536
16757
|
# @param RelatedRuleID: Session关联的CC规则ID
|
16537
16758
|
# @type RelatedRuleID: Array
|
16759
|
+
# @param Key: 精准匹配时,配置的key
|
16760
|
+
# @type Key: String
|
16538
16761
|
|
16539
|
-
attr_accessor :Category, :KeyOrStartMat, :EndMat, :StartOffset, :EndOffset, :Source, :TsVersion, :SessionId, :SessionName, :SessionInUsed, :RelatedRuleID
|
16762
|
+
attr_accessor :Category, :KeyOrStartMat, :EndMat, :StartOffset, :EndOffset, :Source, :TsVersion, :SessionId, :SessionName, :SessionInUsed, :RelatedRuleID, :Key
|
16540
16763
|
|
16541
|
-
def initialize(category=nil, keyorstartmat=nil, endmat=nil, startoffset=nil, endoffset=nil, source=nil, tsversion=nil, sessionid=nil, sessionname=nil, sessioninused=nil, relatedruleid=nil)
|
16764
|
+
def initialize(category=nil, keyorstartmat=nil, endmat=nil, startoffset=nil, endoffset=nil, source=nil, tsversion=nil, sessionid=nil, sessionname=nil, sessioninused=nil, relatedruleid=nil, key=nil)
|
16542
16765
|
@Category = category
|
16543
16766
|
@KeyOrStartMat = keyorstartmat
|
16544
16767
|
@EndMat = endmat
|
@@ -16550,6 +16773,7 @@ module TencentCloud
|
|
16550
16773
|
@SessionName = sessionname
|
16551
16774
|
@SessionInUsed = sessioninused
|
16552
16775
|
@RelatedRuleID = relatedruleid
|
16776
|
+
@Key = key
|
16553
16777
|
end
|
16554
16778
|
|
16555
16779
|
def deserialize(params)
|
@@ -16564,6 +16788,7 @@ module TencentCloud
|
|
16564
16788
|
@SessionName = params['SessionName']
|
16565
16789
|
@SessionInUsed = params['SessionInUsed']
|
16566
16790
|
@RelatedRuleID = params['RelatedRuleID']
|
16791
|
+
@Key = params['Key']
|
16567
16792
|
end
|
16568
16793
|
end
|
16569
16794
|
|
@@ -16903,6 +17128,143 @@ module TencentCloud
|
|
16903
17128
|
end
|
16904
17129
|
end
|
16905
17130
|
|
17131
|
+
# JWT显示设置(只有当校验方式为JWS/JWE的时候才会有该配置信息)
|
17132
|
+
class TokenDisplaySetting < TencentCloud::Common::AbstractModel
|
17133
|
+
# @param DisplayWithPayloadEnable: 是否使用payload字段作为显示token
|
17134
|
+
# @type DisplayWithPayloadEnable: Boolean
|
17135
|
+
# @param FieldName: 用于显示的payload字段名
|
17136
|
+
# @type FieldName: String
|
17137
|
+
|
17138
|
+
attr_accessor :DisplayWithPayloadEnable, :FieldName
|
17139
|
+
|
17140
|
+
def initialize(displaywithpayloadenable=nil, fieldname=nil)
|
17141
|
+
@DisplayWithPayloadEnable = displaywithpayloadenable
|
17142
|
+
@FieldName = fieldname
|
17143
|
+
end
|
17144
|
+
|
17145
|
+
def deserialize(params)
|
17146
|
+
@DisplayWithPayloadEnable = params['DisplayWithPayloadEnable']
|
17147
|
+
@FieldName = params['FieldName']
|
17148
|
+
end
|
17149
|
+
end
|
17150
|
+
|
17151
|
+
# Token有效性校验规则
|
17152
|
+
class TokenRuleEntry < TencentCloud::Common::AbstractModel
|
17153
|
+
# @param Type: 校验方式,可选值:验签校验、字段校验
|
17154
|
+
# @type Type: String
|
17155
|
+
# @param Key: 键
|
17156
|
+
# @type Key: String
|
17157
|
+
# @param Op: 操作符
|
17158
|
+
# @type Op: String
|
17159
|
+
# @param Value: 值
|
17160
|
+
# @type Value: :class:`Tencentcloud::Waf.v20180125.models.TokenRuleEntryValue`
|
17161
|
+
|
17162
|
+
attr_accessor :Type, :Key, :Op, :Value
|
17163
|
+
|
17164
|
+
def initialize(type=nil, key=nil, op=nil, value=nil)
|
17165
|
+
@Type = type
|
17166
|
+
@Key = key
|
17167
|
+
@Op = op
|
17168
|
+
@Value = value
|
17169
|
+
end
|
17170
|
+
|
17171
|
+
def deserialize(params)
|
17172
|
+
@Type = params['Type']
|
17173
|
+
@Key = params['Key']
|
17174
|
+
@Op = params['Op']
|
17175
|
+
unless params['Value'].nil?
|
17176
|
+
@Value = TokenRuleEntryValue.new
|
17177
|
+
@Value.deserialize(params['Value'])
|
17178
|
+
end
|
17179
|
+
end
|
17180
|
+
end
|
17181
|
+
|
17182
|
+
# 通过复杂类型识别传入的不同类型参数值
|
17183
|
+
class TokenRuleEntryValue < TencentCloud::Common::AbstractModel
|
17184
|
+
# @param LogicValue: 布尔类型值
|
17185
|
+
# @type LogicValue: Boolean
|
17186
|
+
# @param MultiValue: 数组类型值
|
17187
|
+
# 可以存储字符串/数值
|
17188
|
+
# 如果只有一个元素,则为长度为1的数组
|
17189
|
+
# @type MultiValue: Array
|
17190
|
+
# @param ValidKey: 指示有效的字段
|
17191
|
+
# @type ValidKey: String
|
17192
|
+
|
17193
|
+
attr_accessor :LogicValue, :MultiValue, :ValidKey
|
17194
|
+
|
17195
|
+
def initialize(logicvalue=nil, multivalue=nil, validkey=nil)
|
17196
|
+
@LogicValue = logicvalue
|
17197
|
+
@MultiValue = multivalue
|
17198
|
+
@ValidKey = validkey
|
17199
|
+
end
|
17200
|
+
|
17201
|
+
def deserialize(params)
|
17202
|
+
@LogicValue = params['LogicValue']
|
17203
|
+
@MultiValue = params['MultiValue']
|
17204
|
+
@ValidKey = params['ValidKey']
|
17205
|
+
end
|
17206
|
+
end
|
17207
|
+
|
17208
|
+
# token有效性配置信息
|
17209
|
+
class TokenValidation < TencentCloud::Common::AbstractModel
|
17210
|
+
# @param Enable: 是否开启token有效性校验
|
17211
|
+
# @type Enable: Boolean
|
17212
|
+
# @param VerifyType: token有效性的校验方式,可选值为:jws、jwe、contains、len、regex
|
17213
|
+
# @type VerifyType: String
|
17214
|
+
# @param VerifyRule: 有效性校验配置和规则
|
17215
|
+
# @type VerifyRule: :class:`Tencentcloud::Waf.v20180125.models.TokenVerifyRule`
|
17216
|
+
# @param DisplaySetting: Token显示设置(只有当校验方式为jws/jwe的时候才会有该配置信息)
|
17217
|
+
# @type DisplaySetting: :class:`Tencentcloud::Waf.v20180125.models.TokenDisplaySetting`
|
17218
|
+
|
17219
|
+
attr_accessor :Enable, :VerifyType, :VerifyRule, :DisplaySetting
|
17220
|
+
|
17221
|
+
def initialize(enable=nil, verifytype=nil, verifyrule=nil, displaysetting=nil)
|
17222
|
+
@Enable = enable
|
17223
|
+
@VerifyType = verifytype
|
17224
|
+
@VerifyRule = verifyrule
|
17225
|
+
@DisplaySetting = displaysetting
|
17226
|
+
end
|
17227
|
+
|
17228
|
+
def deserialize(params)
|
17229
|
+
@Enable = params['Enable']
|
17230
|
+
@VerifyType = params['VerifyType']
|
17231
|
+
unless params['VerifyRule'].nil?
|
17232
|
+
@VerifyRule = TokenVerifyRule.new
|
17233
|
+
@VerifyRule.deserialize(params['VerifyRule'])
|
17234
|
+
end
|
17235
|
+
unless params['DisplaySetting'].nil?
|
17236
|
+
@DisplaySetting = TokenDisplaySetting.new
|
17237
|
+
@DisplaySetting.deserialize(params['DisplaySetting'])
|
17238
|
+
end
|
17239
|
+
end
|
17240
|
+
end
|
17241
|
+
|
17242
|
+
# Token有效性校验规则
|
17243
|
+
class TokenVerifyRule < TencentCloud::Common::AbstractModel
|
17244
|
+
# @param JWTRule: JWS、JWE专用校验规则
|
17245
|
+
# @type JWTRule: :class:`Tencentcloud::Waf.v20180125.models.JWTConfig`
|
17246
|
+
# @param GeneralRule: 其他会话有效性校验方式(contains、length、regex)的校验规则
|
17247
|
+
# @type GeneralRule: :class:`Tencentcloud::Waf.v20180125.models.TokenRuleEntry`
|
17248
|
+
|
17249
|
+
attr_accessor :JWTRule, :GeneralRule
|
17250
|
+
|
17251
|
+
def initialize(jwtrule=nil, generalrule=nil)
|
17252
|
+
@JWTRule = jwtrule
|
17253
|
+
@GeneralRule = generalrule
|
17254
|
+
end
|
17255
|
+
|
17256
|
+
def deserialize(params)
|
17257
|
+
unless params['JWTRule'].nil?
|
17258
|
+
@JWTRule = JWTConfig.new
|
17259
|
+
@JWTRule.deserialize(params['JWTRule'])
|
17260
|
+
end
|
17261
|
+
unless params['GeneralRule'].nil?
|
17262
|
+
@GeneralRule = TokenRuleEntry.new
|
17263
|
+
@GeneralRule.deserialize(params['GeneralRule'])
|
17264
|
+
end
|
17265
|
+
end
|
17266
|
+
end
|
17267
|
+
|
16906
17268
|
# 日志主题扩展信息
|
16907
17269
|
class TopicExtendInfo < TencentCloud::Common::AbstractModel
|
16908
17270
|
# @param AnonymousAccess: 日志主题免鉴权配置信息
|
@@ -17248,10 +17610,14 @@ module TencentCloud
|
|
17248
17610
|
# @type CelRule: String
|
17249
17611
|
# @param LogicalOp: 配置方式的逻辑操作符,and或者or
|
17250
17612
|
# @type LogicalOp: String
|
17613
|
+
# @param PageId: 页面ID
|
17614
|
+
# @type PageId: String
|
17615
|
+
# @param ActionRatio: 动作灰度比例,默认值100
|
17616
|
+
# @type ActionRatio: Integer
|
17251
17617
|
|
17252
|
-
attr_accessor :Domain, :Name, :Status, :Advance, :Limit, :Interval, :ActionType, :Priority, :ValidTime, :Url, :MatchFunc, :OptionsArr, :Edition, :Type, :EventId, :SessionApplied, :RuleId, :CreateTime, :Length, :LimitMethod, :CelRule, :LogicalOp
|
17618
|
+
attr_accessor :Domain, :Name, :Status, :Advance, :Limit, :Interval, :ActionType, :Priority, :ValidTime, :Url, :MatchFunc, :OptionsArr, :Edition, :Type, :EventId, :SessionApplied, :RuleId, :CreateTime, :Length, :LimitMethod, :CelRule, :LogicalOp, :PageId, :ActionRatio
|
17253
17619
|
|
17254
|
-
def initialize(domain=nil, name=nil, status=nil, advance=nil, limit=nil, interval=nil, actiontype=nil, priority=nil, validtime=nil, url=nil, matchfunc=nil, optionsarr=nil, edition=nil, type=nil, eventid=nil, sessionapplied=nil, ruleid=nil, createtime=nil, length=nil, limitmethod=nil, celrule=nil, logicalop=nil)
|
17620
|
+
def initialize(domain=nil, name=nil, status=nil, advance=nil, limit=nil, interval=nil, actiontype=nil, priority=nil, validtime=nil, url=nil, matchfunc=nil, optionsarr=nil, edition=nil, type=nil, eventid=nil, sessionapplied=nil, ruleid=nil, createtime=nil, length=nil, limitmethod=nil, celrule=nil, logicalop=nil, pageid=nil, actionratio=nil)
|
17255
17621
|
@Domain = domain
|
17256
17622
|
@Name = name
|
17257
17623
|
@Status = status
|
@@ -17274,6 +17640,8 @@ module TencentCloud
|
|
17274
17640
|
@LimitMethod = limitmethod
|
17275
17641
|
@CelRule = celrule
|
17276
17642
|
@LogicalOp = logicalop
|
17643
|
+
@PageId = pageid
|
17644
|
+
@ActionRatio = actionratio
|
17277
17645
|
end
|
17278
17646
|
|
17279
17647
|
def deserialize(params)
|
@@ -17299,6 +17667,8 @@ module TencentCloud
|
|
17299
17667
|
@LimitMethod = params['LimitMethod']
|
17300
17668
|
@CelRule = params['CelRule']
|
17301
17669
|
@LogicalOp = params['LogicalOp']
|
17670
|
+
@PageId = params['PageId']
|
17671
|
+
@ActionRatio = params['ActionRatio']
|
17302
17672
|
end
|
17303
17673
|
end
|
17304
17674
|
|
@@ -17409,10 +17779,12 @@ module TencentCloud
|
|
17409
17779
|
# @type SessionName: String
|
17410
17780
|
# @param SessionID: Session对应ID
|
17411
17781
|
# @type SessionID: Integer
|
17782
|
+
# @param Key: 精准匹配时配置的key
|
17783
|
+
# @type Key: String
|
17412
17784
|
|
17413
|
-
attr_accessor :Domain, :Source, :Category, :KeyOrStartMat, :EndMat, :StartOffset, :EndOffset, :Edition, :SessionName, :SessionID
|
17785
|
+
attr_accessor :Domain, :Source, :Category, :KeyOrStartMat, :EndMat, :StartOffset, :EndOffset, :Edition, :SessionName, :SessionID, :Key
|
17414
17786
|
|
17415
|
-
def initialize(domain=nil, source=nil, category=nil, keyorstartmat=nil, endmat=nil, startoffset=nil, endoffset=nil, edition=nil, sessionname=nil, sessionid=nil)
|
17787
|
+
def initialize(domain=nil, source=nil, category=nil, keyorstartmat=nil, endmat=nil, startoffset=nil, endoffset=nil, edition=nil, sessionname=nil, sessionid=nil, key=nil)
|
17416
17788
|
@Domain = domain
|
17417
17789
|
@Source = source
|
17418
17790
|
@Category = category
|
@@ -17423,6 +17795,7 @@ module TencentCloud
|
|
17423
17795
|
@Edition = edition
|
17424
17796
|
@SessionName = sessionname
|
17425
17797
|
@SessionID = sessionid
|
17798
|
+
@Key = key
|
17426
17799
|
end
|
17427
17800
|
|
17428
17801
|
def deserialize(params)
|
@@ -17436,6 +17809,7 @@ module TencentCloud
|
|
17436
17809
|
@Edition = params['Edition']
|
17437
17810
|
@SessionName = params['SessionName']
|
17438
17811
|
@SessionID = params['SessionID']
|
17812
|
+
@Key = params['Key']
|
17439
17813
|
end
|
17440
17814
|
end
|
17441
17815
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-waf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1146
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|