tencentcloud-sdk-waf 3.0.1141 → 3.0.1147
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 +429 -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: 79e49096ab89da33e051d2f1910870cb1f70698e
|
4
|
+
data.tar.gz: 19622adc344baa253ddc4a38732e76e0750185b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 594a8284472a09470c9035c4a2764b7fb82d7e4465cfb9581d15f3108de319c0fbd7aba02e0cd5194b02b2070450bae61a927c141f3d5aa6b071f8f91aa3259b
|
7
|
+
data.tar.gz: 734b6506024f7258272796995564beb5448b7fb8018ad04845a77c9473bc9f9a71001c31f1dc2fb26741253b22ee72072350a97b0753053d16e1e2dcf30f017c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1147
|
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,14 @@ module TencentCloud
|
|
854
858
|
# @type IsKeepAlive: String
|
855
859
|
# @param InstanceID: 必填项,域名所属实例id
|
856
860
|
# @type InstanceID: String
|
861
|
+
# @param HttpsRewrite: 是否开启HTTP强制跳转到HTTPS。0:不强制跳转1:开启强制跳转
|
862
|
+
# @type HttpsRewrite: Integer
|
863
|
+
# @param IsHttp2: 是否开启HTTP2,需要开启HTTPS协议支持。0:关闭1:开启
|
864
|
+
# @type IsHttp2: Integer
|
865
|
+
# @param ActiveCheck: 是否开启主动健康检测。0:不开启1:开启
|
866
|
+
# @type ActiveCheck: Integer
|
867
|
+
# @param CipherTemplate: 加密套件模板。0:不支持选择,使用默认模板 1:通用型模板 2:安全型模板3:自定义模板
|
868
|
+
# @type CipherTemplate: Integer
|
857
869
|
# @param Cert: CertType为1时,需要填充此参数,表示自有证书的证书链
|
858
870
|
# @type Cert: String
|
859
871
|
# @param PrivateKey: CertType为1时,需要填充此参数,表示自有证书的私钥
|
@@ -874,18 +886,10 @@ module TencentCloud
|
|
874
886
|
# @type IsGray: Integer
|
875
887
|
# @param GrayAreas: 灰度的地区
|
876
888
|
# @type GrayAreas: Array
|
877
|
-
# @param HttpsRewrite: 必填项,是否开启HTTP强制跳转到HTTPS。
|
878
|
-
# 0:不强制跳转
|
879
|
-
# 1:开启强制跳转
|
880
|
-
# @type HttpsRewrite: Integer
|
881
889
|
# @param UpstreamDomain: 域名回源时的回源域名。UpstreamType为1时,需要填充此字段
|
882
890
|
# @type UpstreamDomain: String
|
883
891
|
# @param SrcList: IP回源时的回源IP列表。UpstreamType为0时,需要填充此字段
|
884
892
|
# @type SrcList: Array
|
885
|
-
# @param IsHttp2: 必填项,是否开启HTTP2,需要开启HTTPS协议支持。
|
886
|
-
# 0:关闭
|
887
|
-
# 1:开启
|
888
|
-
# @type IsHttp2: Integer
|
889
893
|
# @param Edition: WAF实例类型。
|
890
894
|
# sparta-waf:SAAS型WAF
|
891
895
|
# clb-waf:负载均衡型WAF
|
@@ -895,20 +899,12 @@ module TencentCloud
|
|
895
899
|
# @type Anycast: Integer
|
896
900
|
# @param Weights: 回源IP列表各IP的权重,和SrcList一一对应。当且仅当UpstreamType为0,并且SrcList有多个IP,并且LoadBalance为2时需要填写,否则填 []
|
897
901
|
# @type Weights: Array
|
898
|
-
# @param ActiveCheck: 必填项,是否开启主动健康检测。
|
899
|
-
# 0:不开启
|
900
|
-
# 1:开启
|
901
|
-
# @type ActiveCheck: Integer
|
902
902
|
# @param TLSVersion: TLS版本信息
|
903
903
|
# @type TLSVersion: Integer
|
904
|
-
# @param CipherTemplate: 必填项,加密套件模板。
|
905
|
-
# 0:不支持选择,使用默认模板
|
906
|
-
# 1:通用型模板
|
907
|
-
# 2:安全型模板
|
908
|
-
# 3:自定义模板
|
909
|
-
# @type CipherTemplate: Integer
|
910
904
|
# @param Ciphers: 自定义的加密套件列表。CipherTemplate为3时需要填此字段,表示自定义的加密套件,值通过DescribeCiphersDetail接口获取。
|
911
905
|
# @type Ciphers: Array
|
906
|
+
# @param ProxyConnectTimeout: WAF与源站的连接超时,默认10s。
|
907
|
+
# @type ProxyConnectTimeout: Integer
|
912
908
|
# @param ProxyReadTimeout: WAF与源站的读超时时间,默认300s。
|
913
909
|
# @type ProxyReadTimeout: Integer
|
914
910
|
# @param ProxySendTimeout: WAF与源站的写超时时间,默认300s。
|
@@ -951,8 +947,10 @@ module TencentCloud
|
|
951
947
|
# @type UpstreamRules: Array
|
952
948
|
# @param UseCase: 业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
|
953
949
|
# @type UseCase: Integer
|
950
|
+
# @param Gzip: gzip开关。0:关闭 1:默认值,打开。
|
951
|
+
# @type Gzip: Integer
|
954
952
|
|
955
|
-
attr_accessor :Domain, :CertType, :IsCdn, :UpstreamType, :IsWebsocket, :LoadBalance, :Ports, :IsKeepAlive, :InstanceID, :Cert, :PrivateKey, :SSLId, :ResourceId, :IpHeaders, :UpstreamScheme, :HttpsUpstreamPort, :IsGray, :GrayAreas, :
|
953
|
+
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
954
|
extend Gem::Deprecate
|
957
955
|
deprecate :ResourceId, :none, 2025, 9
|
958
956
|
deprecate :ResourceId=, :none, 2025, 9
|
@@ -965,7 +963,7 @@ module TencentCloud
|
|
965
963
|
deprecate :Anycast, :none, 2025, 9
|
966
964
|
deprecate :Anycast=, :none, 2025, 9
|
967
965
|
|
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,
|
966
|
+
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
967
|
@Domain = domain
|
970
968
|
@CertType = certtype
|
971
969
|
@IsCdn = iscdn
|
@@ -975,6 +973,10 @@ module TencentCloud
|
|
975
973
|
@Ports = ports
|
976
974
|
@IsKeepAlive = iskeepalive
|
977
975
|
@InstanceID = instanceid
|
976
|
+
@HttpsRewrite = httpsrewrite
|
977
|
+
@IsHttp2 = ishttp2
|
978
|
+
@ActiveCheck = activecheck
|
979
|
+
@CipherTemplate = ciphertemplate
|
978
980
|
@Cert = cert
|
979
981
|
@PrivateKey = privatekey
|
980
982
|
@SSLId = sslid
|
@@ -984,17 +986,14 @@ module TencentCloud
|
|
984
986
|
@HttpsUpstreamPort = httpsupstreamport
|
985
987
|
@IsGray = isgray
|
986
988
|
@GrayAreas = grayareas
|
987
|
-
@HttpsRewrite = httpsrewrite
|
988
989
|
@UpstreamDomain = upstreamdomain
|
989
990
|
@SrcList = srclist
|
990
|
-
@IsHttp2 = ishttp2
|
991
991
|
@Edition = edition
|
992
992
|
@Anycast = anycast
|
993
993
|
@Weights = weights
|
994
|
-
@ActiveCheck = activecheck
|
995
994
|
@TLSVersion = tlsversion
|
996
|
-
@CipherTemplate = ciphertemplate
|
997
995
|
@Ciphers = ciphers
|
996
|
+
@ProxyConnectTimeout = proxyconnecttimeout
|
998
997
|
@ProxyReadTimeout = proxyreadtimeout
|
999
998
|
@ProxySendTimeout = proxysendtimeout
|
1000
999
|
@SniType = snitype
|
@@ -1014,6 +1013,7 @@ module TencentCloud
|
|
1014
1013
|
@UpstreamPolicy = upstreampolicy
|
1015
1014
|
@UpstreamRules = upstreamrules
|
1016
1015
|
@UseCase = usecase
|
1016
|
+
@Gzip = gzip
|
1017
1017
|
end
|
1018
1018
|
|
1019
1019
|
def deserialize(params)
|
@@ -1033,6 +1033,10 @@ module TencentCloud
|
|
1033
1033
|
end
|
1034
1034
|
@IsKeepAlive = params['IsKeepAlive']
|
1035
1035
|
@InstanceID = params['InstanceID']
|
1036
|
+
@HttpsRewrite = params['HttpsRewrite']
|
1037
|
+
@IsHttp2 = params['IsHttp2']
|
1038
|
+
@ActiveCheck = params['ActiveCheck']
|
1039
|
+
@CipherTemplate = params['CipherTemplate']
|
1036
1040
|
@Cert = params['Cert']
|
1037
1041
|
@PrivateKey = params['PrivateKey']
|
1038
1042
|
@SSLId = params['SSLId']
|
@@ -1042,17 +1046,14 @@ module TencentCloud
|
|
1042
1046
|
@HttpsUpstreamPort = params['HttpsUpstreamPort']
|
1043
1047
|
@IsGray = params['IsGray']
|
1044
1048
|
@GrayAreas = params['GrayAreas']
|
1045
|
-
@HttpsRewrite = params['HttpsRewrite']
|
1046
1049
|
@UpstreamDomain = params['UpstreamDomain']
|
1047
1050
|
@SrcList = params['SrcList']
|
1048
|
-
@IsHttp2 = params['IsHttp2']
|
1049
1051
|
@Edition = params['Edition']
|
1050
1052
|
@Anycast = params['Anycast']
|
1051
1053
|
@Weights = params['Weights']
|
1052
|
-
@ActiveCheck = params['ActiveCheck']
|
1053
1054
|
@TLSVersion = params['TLSVersion']
|
1054
|
-
@CipherTemplate = params['CipherTemplate']
|
1055
1055
|
@Ciphers = params['Ciphers']
|
1056
|
+
@ProxyConnectTimeout = params['ProxyConnectTimeout']
|
1056
1057
|
@ProxyReadTimeout = params['ProxyReadTimeout']
|
1057
1058
|
@ProxySendTimeout = params['ProxySendTimeout']
|
1058
1059
|
@SniType = params['SniType']
|
@@ -1079,6 +1080,7 @@ module TencentCloud
|
|
1079
1080
|
end
|
1080
1081
|
end
|
1081
1082
|
@UseCase = params['UseCase']
|
1083
|
+
@Gzip = params['Gzip']
|
1082
1084
|
end
|
1083
1085
|
end
|
1084
1086
|
|
@@ -1209,19 +1211,23 @@ module TencentCloud
|
|
1209
1211
|
# @type Operator: String
|
1210
1212
|
# @param Value: 日期,手机号,邮箱等
|
1211
1213
|
# @type Value: String
|
1214
|
+
# @param ValueList: 风险等级
|
1215
|
+
# @type ValueList: Array
|
1212
1216
|
|
1213
|
-
attr_accessor :Entity, :Operator, :Value
|
1217
|
+
attr_accessor :Entity, :Operator, :Value, :ValueList
|
1214
1218
|
|
1215
|
-
def initialize(entity=nil, operator=nil, value=nil)
|
1219
|
+
def initialize(entity=nil, operator=nil, value=nil, valuelist=nil)
|
1216
1220
|
@Entity = entity
|
1217
1221
|
@Operator = operator
|
1218
1222
|
@Value = value
|
1223
|
+
@ValueList = valuelist
|
1219
1224
|
end
|
1220
1225
|
|
1221
1226
|
def deserialize(params)
|
1222
1227
|
@Entity = params['Entity']
|
1223
1228
|
@Operator = params['Operator']
|
1224
1229
|
@Value = params['Value']
|
1230
|
+
@ValueList = params['ValueList']
|
1225
1231
|
end
|
1226
1232
|
end
|
1227
1233
|
|
@@ -2181,10 +2187,12 @@ module TencentCloud
|
|
2181
2187
|
# @type Scene: Array
|
2182
2188
|
# @param Priority: 优先级
|
2183
2189
|
# @type Priority: Integer
|
2190
|
+
# @param TokenValidation: token有效性配置信息
|
2191
|
+
# @type TokenValidation: :class:`Tencentcloud::Waf.v20180125.models.TokenValidation`
|
2184
2192
|
|
2185
|
-
attr_accessor :Name, :Description, :Id, :Status, :Location, :Key, :Operator, :Timestamp, :Scene, :Priority
|
2193
|
+
attr_accessor :Name, :Description, :Id, :Status, :Location, :Key, :Operator, :Timestamp, :Scene, :Priority, :TokenValidation
|
2186
2194
|
|
2187
|
-
def initialize(name=nil, description=nil, id=nil, status=nil, location=nil, key=nil, operator=nil, timestamp=nil, scene=nil, priority=nil)
|
2195
|
+
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
2196
|
@Name = name
|
2189
2197
|
@Description = description
|
2190
2198
|
@Id = id
|
@@ -2195,6 +2203,7 @@ module TencentCloud
|
|
2195
2203
|
@Timestamp = timestamp
|
2196
2204
|
@Scene = scene
|
2197
2205
|
@Priority = priority
|
2206
|
+
@TokenValidation = tokenvalidation
|
2198
2207
|
end
|
2199
2208
|
|
2200
2209
|
def deserialize(params)
|
@@ -2208,6 +2217,10 @@ module TencentCloud
|
|
2208
2217
|
@Timestamp = params['Timestamp']
|
2209
2218
|
@Scene = params['Scene']
|
2210
2219
|
@Priority = params['Priority']
|
2220
|
+
unless params['TokenValidation'].nil?
|
2221
|
+
@TokenValidation = TokenValidation.new
|
2222
|
+
@TokenValidation.deserialize(params['TokenValidation'])
|
2223
|
+
end
|
2211
2224
|
end
|
2212
2225
|
end
|
2213
2226
|
|
@@ -2342,7 +2355,7 @@ module TencentCloud
|
|
2342
2355
|
# @type ValidTime: Integer
|
2343
2356
|
# @param TsVersion: 版本
|
2344
2357
|
# @type TsVersion: Integer
|
2345
|
-
# @param Options:
|
2358
|
+
# @param Options: key为匹配字段;args为base64编码后的参数,等于号前为匹配参数,等于号后为匹配内容;match为逻辑符号;encodeflag为参数内容是否编码
|
2346
2359
|
# @type Options: String
|
2347
2360
|
# @param RuleId: 规则ID
|
2348
2361
|
# @type RuleId: Integer
|
@@ -2358,10 +2371,14 @@ module TencentCloud
|
|
2358
2371
|
# @type CelRule: String
|
2359
2372
|
# @param LogicalOp: 逻辑操作符
|
2360
2373
|
# @type LogicalOp: String
|
2374
|
+
# @param PageId: 页面ID
|
2375
|
+
# @type PageId: String
|
2376
|
+
# @param ActionRatio: 动作灰度比例,默认值100
|
2377
|
+
# @type ActionRatio: Integer
|
2361
2378
|
|
2362
|
-
attr_accessor :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :TsVersion, :Options, :RuleId, :EventId, :SessionApplied, :CreateTime, :LimitMethod, :CelRule, :LogicalOp
|
2379
|
+
attr_accessor :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :TsVersion, :Options, :RuleId, :EventId, :SessionApplied, :CreateTime, :LimitMethod, :CelRule, :LogicalOp, :PageId, :ActionRatio
|
2363
2380
|
|
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)
|
2381
|
+
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
2382
|
@Name = name
|
2366
2383
|
@Status = status
|
2367
2384
|
@Advance = advance
|
@@ -2381,6 +2398,8 @@ module TencentCloud
|
|
2381
2398
|
@LimitMethod = limitmethod
|
2382
2399
|
@CelRule = celrule
|
2383
2400
|
@LogicalOp = logicalop
|
2401
|
+
@PageId = pageid
|
2402
|
+
@ActionRatio = actionratio
|
2384
2403
|
end
|
2385
2404
|
|
2386
2405
|
def deserialize(params)
|
@@ -2403,6 +2422,8 @@ module TencentCloud
|
|
2403
2422
|
@LimitMethod = params['LimitMethod']
|
2404
2423
|
@CelRule = params['CelRule']
|
2405
2424
|
@LogicalOp = params['LogicalOp']
|
2425
|
+
@PageId = params['PageId']
|
2426
|
+
@ActionRatio = params['ActionRatio']
|
2406
2427
|
end
|
2407
2428
|
end
|
2408
2429
|
|
@@ -4399,23 +4420,23 @@ module TencentCloud
|
|
4399
4420
|
class DeleteSpartaProtectionRequest < TencentCloud::Common::AbstractModel
|
4400
4421
|
# @param Domains: 域名列表
|
4401
4422
|
# @type Domains: Array
|
4402
|
-
# @param Edition: 实例类型
|
4403
|
-
# @type Edition: String
|
4404
4423
|
# @param InstanceID: 必填项。域名所属实例ID
|
4405
4424
|
# @type InstanceID: String
|
4425
|
+
# @param Edition: 实例类型
|
4426
|
+
# @type Edition: String
|
4406
4427
|
|
4407
|
-
attr_accessor :Domains, :
|
4428
|
+
attr_accessor :Domains, :InstanceID, :Edition
|
4408
4429
|
|
4409
|
-
def initialize(domains=nil,
|
4430
|
+
def initialize(domains=nil, instanceid=nil, edition=nil)
|
4410
4431
|
@Domains = domains
|
4411
|
-
@Edition = edition
|
4412
4432
|
@InstanceID = instanceid
|
4433
|
+
@Edition = edition
|
4413
4434
|
end
|
4414
4435
|
|
4415
4436
|
def deserialize(params)
|
4416
4437
|
@Domains = params['Domains']
|
4417
|
-
@Edition = params['Edition']
|
4418
4438
|
@InstanceID = params['InstanceID']
|
4439
|
+
@Edition = params['Edition']
|
4419
4440
|
end
|
4420
4441
|
end
|
4421
4442
|
|
@@ -5719,17 +5740,20 @@ module TencentCloud
|
|
5719
5740
|
# @type CurrentGlobalScene: :class:`Tencentcloud::Waf.v20180125.models.GlobalSceneInfo`
|
5720
5741
|
# @param CustomRuleNums: 自定义规则总数,不包括BOT白名单
|
5721
5742
|
# @type CustomRuleNums: Integer
|
5743
|
+
# @param TldStatus: 图灵盾开关状态
|
5744
|
+
# @type TldStatus: Boolean
|
5722
5745
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5723
5746
|
# @type RequestId: String
|
5724
5747
|
|
5725
|
-
attr_accessor :Status, :SceneCount, :ValidSceneCount, :CurrentGlobalScene, :CustomRuleNums, :RequestId
|
5748
|
+
attr_accessor :Status, :SceneCount, :ValidSceneCount, :CurrentGlobalScene, :CustomRuleNums, :TldStatus, :RequestId
|
5726
5749
|
|
5727
|
-
def initialize(status=nil, scenecount=nil, validscenecount=nil, currentglobalscene=nil, customrulenums=nil, requestid=nil)
|
5750
|
+
def initialize(status=nil, scenecount=nil, validscenecount=nil, currentglobalscene=nil, customrulenums=nil, tldstatus=nil, requestid=nil)
|
5728
5751
|
@Status = status
|
5729
5752
|
@SceneCount = scenecount
|
5730
5753
|
@ValidSceneCount = validscenecount
|
5731
5754
|
@CurrentGlobalScene = currentglobalscene
|
5732
5755
|
@CustomRuleNums = customrulenums
|
5756
|
+
@TldStatus = tldstatus
|
5733
5757
|
@RequestId = requestid
|
5734
5758
|
end
|
5735
5759
|
|
@@ -5742,6 +5766,7 @@ module TencentCloud
|
|
5742
5766
|
@CurrentGlobalScene.deserialize(params['CurrentGlobalScene'])
|
5743
5767
|
end
|
5744
5768
|
@CustomRuleNums = params['CustomRuleNums']
|
5769
|
+
@TldStatus = params['TldStatus']
|
5745
5770
|
@RequestId = params['RequestId']
|
5746
5771
|
end
|
5747
5772
|
end
|
@@ -6267,10 +6292,12 @@ module TencentCloud
|
|
6267
6292
|
# @type Domain: String
|
6268
6293
|
# @param LogicalOp: 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
6269
6294
|
# @type LogicalOp: String
|
6295
|
+
# @param ActionRatio: 规则灰度的比例,默认是100,不灰度
|
6296
|
+
# @type ActionRatio: Integer
|
6270
6297
|
|
6271
|
-
attr_accessor :ActionType, :Bypass, :CreateTime, :ExpireTime, :Name, :Redirect, :RuleId, :SortId, :Status, :Strategies, :EventId, :ModifyTime, :ValidStatus, :Source, :JobType, :JobDateTime, :CronType, :Label, :PageId, :Domain, :LogicalOp
|
6298
|
+
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
6299
|
|
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)
|
6300
|
+
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
6301
|
@ActionType = actiontype
|
6275
6302
|
@Bypass = bypass
|
6276
6303
|
@CreateTime = createtime
|
@@ -6292,6 +6319,7 @@ module TencentCloud
|
|
6292
6319
|
@PageId = pageid
|
6293
6320
|
@Domain = domain
|
6294
6321
|
@LogicalOp = logicalop
|
6322
|
+
@ActionRatio = actionratio
|
6295
6323
|
end
|
6296
6324
|
|
6297
6325
|
def deserialize(params)
|
@@ -6326,6 +6354,7 @@ module TencentCloud
|
|
6326
6354
|
@PageId = params['PageId']
|
6327
6355
|
@Domain = params['Domain']
|
6328
6356
|
@LogicalOp = params['LogicalOp']
|
6357
|
+
@ActionRatio = params['ActionRatio']
|
6329
6358
|
end
|
6330
6359
|
end
|
6331
6360
|
|
@@ -9776,6 +9805,8 @@ module TencentCloud
|
|
9776
9805
|
# 2:安全型模板
|
9777
9806
|
# 3:自定义模板
|
9778
9807
|
# @type CipherTemplate: Integer
|
9808
|
+
# @param ProxyConnectTimeout: WAF与源站的连接超时,默认10s。
|
9809
|
+
# @type ProxyConnectTimeout: Integer
|
9779
9810
|
# @param ProxyReadTimeout: WAF与源站的读超时时间,默认300s。
|
9780
9811
|
# @type ProxyReadTimeout: Integer
|
9781
9812
|
# @param ProxySendTimeout: WAF与源站的写超时时间,默认300s。
|
@@ -9830,13 +9861,15 @@ module TencentCloud
|
|
9830
9861
|
# @type UpstreamRules: Array
|
9831
9862
|
# @param UseCase: 业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
|
9832
9863
|
# @type UseCase: Integer
|
9864
|
+
# @param Gzip: gzip开关。0:关闭 1:默认值,打开。
|
9865
|
+
# @type Gzip: Integer
|
9833
9866
|
|
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
|
9867
|
+
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
9868
|
extend Gem::Deprecate
|
9836
9869
|
deprecate :IsGray, :none, 2025, 9
|
9837
9870
|
deprecate :IsGray=, :none, 2025, 9
|
9838
9871
|
|
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)
|
9872
|
+
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
9873
|
@Domain = domain
|
9841
9874
|
@DomainId = domainid
|
9842
9875
|
@InstanceId = instanceid
|
@@ -9868,6 +9901,7 @@ module TencentCloud
|
|
9868
9901
|
@TLSVersion = tlsversion
|
9869
9902
|
@Ciphers = ciphers
|
9870
9903
|
@CipherTemplate = ciphertemplate
|
9904
|
+
@ProxyConnectTimeout = proxyconnecttimeout
|
9871
9905
|
@ProxyReadTimeout = proxyreadtimeout
|
9872
9906
|
@ProxySendTimeout = proxysendtimeout
|
9873
9907
|
@SniType = snitype
|
@@ -9891,6 +9925,7 @@ module TencentCloud
|
|
9891
9925
|
@UpstreamPolicy = upstreampolicy
|
9892
9926
|
@UpstreamRules = upstreamrules
|
9893
9927
|
@UseCase = usecase
|
9928
|
+
@Gzip = gzip
|
9894
9929
|
end
|
9895
9930
|
|
9896
9931
|
def deserialize(params)
|
@@ -9932,6 +9967,7 @@ module TencentCloud
|
|
9932
9967
|
@TLSVersion = params['TLSVersion']
|
9933
9968
|
@Ciphers = params['Ciphers']
|
9934
9969
|
@CipherTemplate = params['CipherTemplate']
|
9970
|
+
@ProxyConnectTimeout = params['ProxyConnectTimeout']
|
9935
9971
|
@ProxyReadTimeout = params['ProxyReadTimeout']
|
9936
9972
|
@ProxySendTimeout = params['ProxySendTimeout']
|
9937
9973
|
@SniType = params['SniType']
|
@@ -9962,6 +9998,7 @@ module TencentCloud
|
|
9962
9998
|
end
|
9963
9999
|
end
|
9964
10000
|
@UseCase = params['UseCase']
|
10001
|
+
@Gzip = params['Gzip']
|
9965
10002
|
end
|
9966
10003
|
end
|
9967
10004
|
|
@@ -11498,10 +11535,19 @@ module TencentCloud
|
|
11498
11535
|
# @type BasicFlag: Integer
|
11499
11536
|
# @param NetworkConfig: 实例的网络配置
|
11500
11537
|
# @type NetworkConfig: :class:`Tencentcloud::Waf.v20180125.models.NetworkConfig`
|
11501
|
-
|
11502
|
-
|
11503
|
-
|
11504
|
-
|
11538
|
+
# @param RCEPkg: RCE设备安全信息包
|
11539
|
+
# @type RCEPkg: :class:`Tencentcloud::Waf.v20180125.models.RCEPkg`
|
11540
|
+
# @param ExceedPolicy: 超量策略。0:超量沙箱
|
11541
|
+
# 1:超量限流
|
11542
|
+
# @type ExceedPolicy: Integer
|
11543
|
+
# @param LLMPkg: 大模型安全信息包
|
11544
|
+
# @type LLMPkg: :class:`Tencentcloud::Waf.v20180125.models.LLMPkg`
|
11545
|
+
# @param ElasticResourceId: 弹性资源Id
|
11546
|
+
# @type ElasticResourceId: String
|
11547
|
+
|
11548
|
+
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
|
11549
|
+
|
11550
|
+
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
11551
|
@InstanceId = instanceid
|
11506
11552
|
@InstanceName = instancename
|
11507
11553
|
@ResourceIds = resourceids
|
@@ -11548,6 +11594,10 @@ module TencentCloud
|
|
11548
11594
|
@MajorEventsProPkg = majoreventspropkg
|
11549
11595
|
@BasicFlag = basicflag
|
11550
11596
|
@NetworkConfig = networkconfig
|
11597
|
+
@RCEPkg = rcepkg
|
11598
|
+
@ExceedPolicy = exceedpolicy
|
11599
|
+
@LLMPkg = llmpkg
|
11600
|
+
@ElasticResourceId = elasticresourceid
|
11551
11601
|
end
|
11552
11602
|
|
11553
11603
|
def deserialize(params)
|
@@ -11633,6 +11683,16 @@ module TencentCloud
|
|
11633
11683
|
@NetworkConfig = NetworkConfig.new
|
11634
11684
|
@NetworkConfig.deserialize(params['NetworkConfig'])
|
11635
11685
|
end
|
11686
|
+
unless params['RCEPkg'].nil?
|
11687
|
+
@RCEPkg = RCEPkg.new
|
11688
|
+
@RCEPkg.deserialize(params['RCEPkg'])
|
11689
|
+
end
|
11690
|
+
@ExceedPolicy = params['ExceedPolicy']
|
11691
|
+
unless params['LLMPkg'].nil?
|
11692
|
+
@LLMPkg = LLMPkg.new
|
11693
|
+
@LLMPkg.deserialize(params['LLMPkg'])
|
11694
|
+
end
|
11695
|
+
@ElasticResourceId = params['ElasticResourceId']
|
11636
11696
|
end
|
11637
11697
|
end
|
11638
11698
|
|
@@ -11825,6 +11885,36 @@ module TencentCloud
|
|
11825
11885
|
end
|
11826
11886
|
end
|
11827
11887
|
|
11888
|
+
# 当用户选择JWS/JWE会话管理方式的时候,上传的配置信息以及校验规则
|
11889
|
+
class JWTConfig < TencentCloud::Common::AbstractModel
|
11890
|
+
# @param SecretInfo: 密钥信息
|
11891
|
+
# @type SecretInfo: :class:`Tencentcloud::Waf.v20180125.models.SecretInfo`
|
11892
|
+
# @param PayloadRule: Payload校验规则集合
|
11893
|
+
# @type PayloadRule: Array
|
11894
|
+
|
11895
|
+
attr_accessor :SecretInfo, :PayloadRule
|
11896
|
+
|
11897
|
+
def initialize(secretinfo=nil, payloadrule=nil)
|
11898
|
+
@SecretInfo = secretinfo
|
11899
|
+
@PayloadRule = payloadrule
|
11900
|
+
end
|
11901
|
+
|
11902
|
+
def deserialize(params)
|
11903
|
+
unless params['SecretInfo'].nil?
|
11904
|
+
@SecretInfo = SecretInfo.new
|
11905
|
+
@SecretInfo.deserialize(params['SecretInfo'])
|
11906
|
+
end
|
11907
|
+
unless params['PayloadRule'].nil?
|
11908
|
+
@PayloadRule = []
|
11909
|
+
params['PayloadRule'].each do |i|
|
11910
|
+
tokenruleentry_tmp = TokenRuleEntry.new
|
11911
|
+
tokenruleentry_tmp.deserialize(i)
|
11912
|
+
@PayloadRule << tokenruleentry_tmp
|
11913
|
+
end
|
11914
|
+
end
|
11915
|
+
end
|
11916
|
+
end
|
11917
|
+
|
11828
11918
|
# 规则执行的时间结构体
|
11829
11919
|
class JobDateTime < TencentCloud::Common::AbstractModel
|
11830
11920
|
# @param Timed: 定时执行的时间参数
|
@@ -11883,6 +11973,42 @@ module TencentCloud
|
|
11883
11973
|
end
|
11884
11974
|
end
|
11885
11975
|
|
11976
|
+
# 有效大模型安全包信息
|
11977
|
+
class LLMPkg < TencentCloud::Common::AbstractModel
|
11978
|
+
# @param ResourceIds: 资源id
|
11979
|
+
# @type ResourceIds: String
|
11980
|
+
# @param Status: 状态
|
11981
|
+
# @type Status: Integer
|
11982
|
+
# @param Region: 地域
|
11983
|
+
# @type Region: Integer
|
11984
|
+
# @param BeginTime: 开始时间
|
11985
|
+
# @type BeginTime: String
|
11986
|
+
# @param EndTime: 结束时间
|
11987
|
+
# @type EndTime: String
|
11988
|
+
# @param InquireKey: 计费项
|
11989
|
+
# @type InquireKey: String
|
11990
|
+
|
11991
|
+
attr_accessor :ResourceIds, :Status, :Region, :BeginTime, :EndTime, :InquireKey
|
11992
|
+
|
11993
|
+
def initialize(resourceids=nil, status=nil, region=nil, begintime=nil, endtime=nil, inquirekey=nil)
|
11994
|
+
@ResourceIds = resourceids
|
11995
|
+
@Status = status
|
11996
|
+
@Region = region
|
11997
|
+
@BeginTime = begintime
|
11998
|
+
@EndTime = endtime
|
11999
|
+
@InquireKey = inquirekey
|
12000
|
+
end
|
12001
|
+
|
12002
|
+
def deserialize(params)
|
12003
|
+
@ResourceIds = params['ResourceIds']
|
12004
|
+
@Status = params['Status']
|
12005
|
+
@Region = params['Region']
|
12006
|
+
@BeginTime = params['BeginTime']
|
12007
|
+
@EndTime = params['EndTime']
|
12008
|
+
@InquireKey = params['InquireKey']
|
12009
|
+
end
|
12010
|
+
end
|
12011
|
+
|
11886
12012
|
# 负载均衡的监听器
|
11887
12013
|
class LoadBalancer < TencentCloud::Common::AbstractModel
|
11888
12014
|
# @param LoadBalancerId: 负载均衡LD的ID
|
@@ -11956,7 +12082,7 @@ module TencentCloud
|
|
11956
12082
|
# @param Protocol: 协议
|
11957
12083
|
# @type Protocol: String
|
11958
12084
|
# @param Region: 地区
|
11959
|
-
#
|
12085
|
+
# "多伦多": "ca",
|
11960
12086
|
# "广州": "gz",
|
11961
12087
|
# "成都": "cd",
|
11962
12088
|
# "福州": "fzec",
|
@@ -11983,7 +12109,8 @@ module TencentCloud
|
|
11983
12109
|
# "首尔": "kr",
|
11984
12110
|
# "上海": "sh",
|
11985
12111
|
# "新加坡": "sg",
|
11986
|
-
# "清远": "qy"
|
12112
|
+
# "清远": "qy",
|
12113
|
+
# "雅加达": "jkt"
|
11987
12114
|
# @type Region: String
|
11988
12115
|
# @param Vip: 接入IP
|
11989
12116
|
# @type Vip: String
|
@@ -13152,13 +13279,15 @@ module TencentCloud
|
|
13152
13279
|
# @type PageId: String
|
13153
13280
|
# @param LogicalOp: 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
13154
13281
|
# @type LogicalOp: String
|
13282
|
+
# @param ActionRatio: 规则生效比例
|
13283
|
+
# @type ActionRatio: Integer
|
13155
13284
|
|
13156
|
-
attr_accessor :Domain, :RuleId, :RuleName, :RuleAction, :Strategies, :Edition, :Redirect, :Bypass, :SortId, :ExpireTime, :JobType, :JobDateTime, :Source, :Status, :PageId, :LogicalOp
|
13285
|
+
attr_accessor :Domain, :RuleId, :RuleName, :RuleAction, :Strategies, :Edition, :Redirect, :Bypass, :SortId, :ExpireTime, :JobType, :JobDateTime, :Source, :Status, :PageId, :LogicalOp, :ActionRatio
|
13157
13286
|
extend Gem::Deprecate
|
13158
13287
|
deprecate :Bypass, :none, 2025, 9
|
13159
13288
|
deprecate :Bypass=, :none, 2025, 9
|
13160
13289
|
|
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)
|
13290
|
+
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
13291
|
@Domain = domain
|
13163
13292
|
@RuleId = ruleid
|
13164
13293
|
@RuleName = rulename
|
@@ -13175,6 +13304,7 @@ module TencentCloud
|
|
13175
13304
|
@Status = status
|
13176
13305
|
@PageId = pageid
|
13177
13306
|
@LogicalOp = logicalop
|
13307
|
+
@ActionRatio = actionratio
|
13178
13308
|
end
|
13179
13309
|
|
13180
13310
|
def deserialize(params)
|
@@ -13204,6 +13334,7 @@ module TencentCloud
|
|
13204
13334
|
@Status = params['Status']
|
13205
13335
|
@PageId = params['PageId']
|
13206
13336
|
@LogicalOp = params['LogicalOp']
|
13337
|
+
@ActionRatio = params['ActionRatio']
|
13207
13338
|
end
|
13208
13339
|
end
|
13209
13340
|
|
@@ -14677,6 +14808,8 @@ module TencentCloud
|
|
14677
14808
|
# @type Ciphers: Array
|
14678
14809
|
# @param CipherTemplate: 加密套件模板。0:不支持选择,使用默认模板 1:通用型模板 2:安全型模板3:自定义模板
|
14679
14810
|
# @type CipherTemplate: Integer
|
14811
|
+
# @param ProxyConnectTimeout: WAF与源站的连接超时时间,默认10s。
|
14812
|
+
# @type ProxyConnectTimeout: Integer
|
14680
14813
|
# @param ProxyReadTimeout: WAF与源站的读超时时间,默认300s。
|
14681
14814
|
# @type ProxyReadTimeout: Integer
|
14682
14815
|
# @param ProxySendTimeout: WAF与源站的写超时时间,默认300s。
|
@@ -14721,15 +14854,17 @@ module TencentCloud
|
|
14721
14854
|
# @type UpstreamRules: Array
|
14722
14855
|
# @param UseCase: 业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
|
14723
14856
|
# @type UseCase: Integer
|
14857
|
+
# @param Gzip: gzip开关。0:关闭 1:默认值,打开
|
14858
|
+
# @type Gzip: Integer
|
14724
14859
|
|
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
|
14860
|
+
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
14861
|
extend Gem::Deprecate
|
14727
14862
|
deprecate :IsGray, :none, 2025, 9
|
14728
14863
|
deprecate :IsGray=, :none, 2025, 9
|
14729
14864
|
deprecate :Anycast, :none, 2025, 9
|
14730
14865
|
deprecate :Anycast=, :none, 2025, 9
|
14731
14866
|
|
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)
|
14867
|
+
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
14868
|
@Domain = domain
|
14734
14869
|
@DomainId = domainid
|
14735
14870
|
@InstanceID = instanceid
|
@@ -14757,6 +14892,7 @@ module TencentCloud
|
|
14757
14892
|
@TLSVersion = tlsversion
|
14758
14893
|
@Ciphers = ciphers
|
14759
14894
|
@CipherTemplate = ciphertemplate
|
14895
|
+
@ProxyConnectTimeout = proxyconnecttimeout
|
14760
14896
|
@ProxyReadTimeout = proxyreadtimeout
|
14761
14897
|
@ProxySendTimeout = proxysendtimeout
|
14762
14898
|
@SniType = snitype
|
@@ -14777,6 +14913,7 @@ module TencentCloud
|
|
14777
14913
|
@UpstreamPolicy = upstreampolicy
|
14778
14914
|
@UpstreamRules = upstreamrules
|
14779
14915
|
@UseCase = usecase
|
14916
|
+
@Gzip = gzip
|
14780
14917
|
end
|
14781
14918
|
|
14782
14919
|
def deserialize(params)
|
@@ -14814,6 +14951,7 @@ module TencentCloud
|
|
14814
14951
|
@TLSVersion = params['TLSVersion']
|
14815
14952
|
@Ciphers = params['Ciphers']
|
14816
14953
|
@CipherTemplate = params['CipherTemplate']
|
14954
|
+
@ProxyConnectTimeout = params['ProxyConnectTimeout']
|
14817
14955
|
@ProxyReadTimeout = params['ProxyReadTimeout']
|
14818
14956
|
@ProxySendTimeout = params['ProxySendTimeout']
|
14819
14957
|
@SniType = params['SniType']
|
@@ -14841,6 +14979,7 @@ module TencentCloud
|
|
14841
14979
|
end
|
14842
14980
|
end
|
14843
14981
|
@UseCase = params['UseCase']
|
14982
|
+
@Gzip = params['Gzip']
|
14844
14983
|
end
|
14845
14984
|
end
|
14846
14985
|
|
@@ -15863,6 +16002,54 @@ module TencentCloud
|
|
15863
16002
|
end
|
15864
16003
|
end
|
15865
16004
|
|
16005
|
+
# 有效REC设备安全包信息
|
16006
|
+
class RCEPkg < TencentCloud::Common::AbstractModel
|
16007
|
+
# @param ResourceIds: 资源id
|
16008
|
+
# @type ResourceIds: String
|
16009
|
+
# @param Status: 状态
|
16010
|
+
# @type Status: Integer
|
16011
|
+
# @param Region: 地域
|
16012
|
+
# @type Region: Integer
|
16013
|
+
# @param BeginTime: 开始时间
|
16014
|
+
# @type BeginTime: String
|
16015
|
+
# @param EndTime: 结束时间
|
16016
|
+
# @type EndTime: String
|
16017
|
+
# @param InquireNum: 申请数量
|
16018
|
+
# @type InquireNum: Integer
|
16019
|
+
# @param UsedNum: 使用数量
|
16020
|
+
# @type UsedNum: Integer
|
16021
|
+
# @param RenewFlag: 续费标志
|
16022
|
+
# @type RenewFlag: Integer
|
16023
|
+
# @param BillingItem: 计费项
|
16024
|
+
# @type BillingItem: String
|
16025
|
+
|
16026
|
+
attr_accessor :ResourceIds, :Status, :Region, :BeginTime, :EndTime, :InquireNum, :UsedNum, :RenewFlag, :BillingItem
|
16027
|
+
|
16028
|
+
def initialize(resourceids=nil, status=nil, region=nil, begintime=nil, endtime=nil, inquirenum=nil, usednum=nil, renewflag=nil, billingitem=nil)
|
16029
|
+
@ResourceIds = resourceids
|
16030
|
+
@Status = status
|
16031
|
+
@Region = region
|
16032
|
+
@BeginTime = begintime
|
16033
|
+
@EndTime = endtime
|
16034
|
+
@InquireNum = inquirenum
|
16035
|
+
@UsedNum = usednum
|
16036
|
+
@RenewFlag = renewflag
|
16037
|
+
@BillingItem = billingitem
|
16038
|
+
end
|
16039
|
+
|
16040
|
+
def deserialize(params)
|
16041
|
+
@ResourceIds = params['ResourceIds']
|
16042
|
+
@Status = params['Status']
|
16043
|
+
@Region = params['Region']
|
16044
|
+
@BeginTime = params['BeginTime']
|
16045
|
+
@EndTime = params['EndTime']
|
16046
|
+
@InquireNum = params['InquireNum']
|
16047
|
+
@UsedNum = params['UsedNum']
|
16048
|
+
@RenewFlag = params['RenewFlag']
|
16049
|
+
@BillingItem = params['BillingItem']
|
16050
|
+
end
|
16051
|
+
end
|
16052
|
+
|
15866
16053
|
# RefreshAccessCheckResult请求参数结构体
|
15867
16054
|
class RefreshAccessCheckResultRequest < TencentCloud::Common::AbstractModel
|
15868
16055
|
# @param Domain: 域名
|
@@ -16488,6 +16675,30 @@ module TencentCloud
|
|
16488
16675
|
end
|
16489
16676
|
end
|
16490
16677
|
|
16678
|
+
# 用于JWT验签的密钥信息
|
16679
|
+
class SecretInfo < TencentCloud::Common::AbstractModel
|
16680
|
+
# @param SecretSource: 密钥上传方式,可选值:manual、upload
|
16681
|
+
# @type SecretSource: String
|
16682
|
+
# @param SecretKey: 密钥内容(用户手动输入/前端从密钥文件提取出的密钥内容)
|
16683
|
+
# @type SecretKey: String
|
16684
|
+
# @param FileName: 上传的密钥文件文件名
|
16685
|
+
# @type FileName: String
|
16686
|
+
|
16687
|
+
attr_accessor :SecretSource, :SecretKey, :FileName
|
16688
|
+
|
16689
|
+
def initialize(secretsource=nil, secretkey=nil, filename=nil)
|
16690
|
+
@SecretSource = secretsource
|
16691
|
+
@SecretKey = secretkey
|
16692
|
+
@FileName = filename
|
16693
|
+
end
|
16694
|
+
|
16695
|
+
def deserialize(params)
|
16696
|
+
@SecretSource = params['SecretSource']
|
16697
|
+
@SecretKey = params['SecretKey']
|
16698
|
+
@FileName = params['FileName']
|
16699
|
+
end
|
16700
|
+
end
|
16701
|
+
|
16491
16702
|
# 参数包装
|
16492
16703
|
class SessionData < TencentCloud::Common::AbstractModel
|
16493
16704
|
# @param Res: session定义
|
@@ -16535,10 +16746,12 @@ module TencentCloud
|
|
16535
16746
|
# @type SessionInUsed: Boolean
|
16536
16747
|
# @param RelatedRuleID: Session关联的CC规则ID
|
16537
16748
|
# @type RelatedRuleID: Array
|
16749
|
+
# @param Key: 精准匹配时,配置的key
|
16750
|
+
# @type Key: String
|
16538
16751
|
|
16539
|
-
attr_accessor :Category, :KeyOrStartMat, :EndMat, :StartOffset, :EndOffset, :Source, :TsVersion, :SessionId, :SessionName, :SessionInUsed, :RelatedRuleID
|
16752
|
+
attr_accessor :Category, :KeyOrStartMat, :EndMat, :StartOffset, :EndOffset, :Source, :TsVersion, :SessionId, :SessionName, :SessionInUsed, :RelatedRuleID, :Key
|
16540
16753
|
|
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)
|
16754
|
+
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
16755
|
@Category = category
|
16543
16756
|
@KeyOrStartMat = keyorstartmat
|
16544
16757
|
@EndMat = endmat
|
@@ -16550,6 +16763,7 @@ module TencentCloud
|
|
16550
16763
|
@SessionName = sessionname
|
16551
16764
|
@SessionInUsed = sessioninused
|
16552
16765
|
@RelatedRuleID = relatedruleid
|
16766
|
+
@Key = key
|
16553
16767
|
end
|
16554
16768
|
|
16555
16769
|
def deserialize(params)
|
@@ -16564,6 +16778,7 @@ module TencentCloud
|
|
16564
16778
|
@SessionName = params['SessionName']
|
16565
16779
|
@SessionInUsed = params['SessionInUsed']
|
16566
16780
|
@RelatedRuleID = params['RelatedRuleID']
|
16781
|
+
@Key = params['Key']
|
16567
16782
|
end
|
16568
16783
|
end
|
16569
16784
|
|
@@ -16903,6 +17118,143 @@ module TencentCloud
|
|
16903
17118
|
end
|
16904
17119
|
end
|
16905
17120
|
|
17121
|
+
# JWT显示设置(只有当校验方式为JWS/JWE的时候才会有该配置信息)
|
17122
|
+
class TokenDisplaySetting < TencentCloud::Common::AbstractModel
|
17123
|
+
# @param DisplayWithPayloadEnable: 是否使用payload字段作为显示token
|
17124
|
+
# @type DisplayWithPayloadEnable: Boolean
|
17125
|
+
# @param FieldName: 用于显示的payload字段名
|
17126
|
+
# @type FieldName: String
|
17127
|
+
|
17128
|
+
attr_accessor :DisplayWithPayloadEnable, :FieldName
|
17129
|
+
|
17130
|
+
def initialize(displaywithpayloadenable=nil, fieldname=nil)
|
17131
|
+
@DisplayWithPayloadEnable = displaywithpayloadenable
|
17132
|
+
@FieldName = fieldname
|
17133
|
+
end
|
17134
|
+
|
17135
|
+
def deserialize(params)
|
17136
|
+
@DisplayWithPayloadEnable = params['DisplayWithPayloadEnable']
|
17137
|
+
@FieldName = params['FieldName']
|
17138
|
+
end
|
17139
|
+
end
|
17140
|
+
|
17141
|
+
# Token有效性校验规则
|
17142
|
+
class TokenRuleEntry < TencentCloud::Common::AbstractModel
|
17143
|
+
# @param Type: 校验方式,可选值:验签校验、字段校验
|
17144
|
+
# @type Type: String
|
17145
|
+
# @param Key: 键
|
17146
|
+
# @type Key: String
|
17147
|
+
# @param Op: 操作符
|
17148
|
+
# @type Op: String
|
17149
|
+
# @param Value: 值
|
17150
|
+
# @type Value: :class:`Tencentcloud::Waf.v20180125.models.TokenRuleEntryValue`
|
17151
|
+
|
17152
|
+
attr_accessor :Type, :Key, :Op, :Value
|
17153
|
+
|
17154
|
+
def initialize(type=nil, key=nil, op=nil, value=nil)
|
17155
|
+
@Type = type
|
17156
|
+
@Key = key
|
17157
|
+
@Op = op
|
17158
|
+
@Value = value
|
17159
|
+
end
|
17160
|
+
|
17161
|
+
def deserialize(params)
|
17162
|
+
@Type = params['Type']
|
17163
|
+
@Key = params['Key']
|
17164
|
+
@Op = params['Op']
|
17165
|
+
unless params['Value'].nil?
|
17166
|
+
@Value = TokenRuleEntryValue.new
|
17167
|
+
@Value.deserialize(params['Value'])
|
17168
|
+
end
|
17169
|
+
end
|
17170
|
+
end
|
17171
|
+
|
17172
|
+
# 通过复杂类型识别传入的不同类型参数值
|
17173
|
+
class TokenRuleEntryValue < TencentCloud::Common::AbstractModel
|
17174
|
+
# @param LogicValue: 布尔类型值
|
17175
|
+
# @type LogicValue: Boolean
|
17176
|
+
# @param MultiValue: 数组类型值
|
17177
|
+
# 可以存储字符串/数值
|
17178
|
+
# 如果只有一个元素,则为长度为1的数组
|
17179
|
+
# @type MultiValue: Array
|
17180
|
+
# @param ValidKey: 指示有效的字段
|
17181
|
+
# @type ValidKey: String
|
17182
|
+
|
17183
|
+
attr_accessor :LogicValue, :MultiValue, :ValidKey
|
17184
|
+
|
17185
|
+
def initialize(logicvalue=nil, multivalue=nil, validkey=nil)
|
17186
|
+
@LogicValue = logicvalue
|
17187
|
+
@MultiValue = multivalue
|
17188
|
+
@ValidKey = validkey
|
17189
|
+
end
|
17190
|
+
|
17191
|
+
def deserialize(params)
|
17192
|
+
@LogicValue = params['LogicValue']
|
17193
|
+
@MultiValue = params['MultiValue']
|
17194
|
+
@ValidKey = params['ValidKey']
|
17195
|
+
end
|
17196
|
+
end
|
17197
|
+
|
17198
|
+
# token有效性配置信息
|
17199
|
+
class TokenValidation < TencentCloud::Common::AbstractModel
|
17200
|
+
# @param Enable: 是否开启token有效性校验
|
17201
|
+
# @type Enable: Boolean
|
17202
|
+
# @param VerifyType: token有效性的校验方式,可选值为:jws、jwe、contains、len、regex
|
17203
|
+
# @type VerifyType: String
|
17204
|
+
# @param VerifyRule: 有效性校验配置和规则
|
17205
|
+
# @type VerifyRule: :class:`Tencentcloud::Waf.v20180125.models.TokenVerifyRule`
|
17206
|
+
# @param DisplaySetting: Token显示设置(只有当校验方式为jws/jwe的时候才会有该配置信息)
|
17207
|
+
# @type DisplaySetting: :class:`Tencentcloud::Waf.v20180125.models.TokenDisplaySetting`
|
17208
|
+
|
17209
|
+
attr_accessor :Enable, :VerifyType, :VerifyRule, :DisplaySetting
|
17210
|
+
|
17211
|
+
def initialize(enable=nil, verifytype=nil, verifyrule=nil, displaysetting=nil)
|
17212
|
+
@Enable = enable
|
17213
|
+
@VerifyType = verifytype
|
17214
|
+
@VerifyRule = verifyrule
|
17215
|
+
@DisplaySetting = displaysetting
|
17216
|
+
end
|
17217
|
+
|
17218
|
+
def deserialize(params)
|
17219
|
+
@Enable = params['Enable']
|
17220
|
+
@VerifyType = params['VerifyType']
|
17221
|
+
unless params['VerifyRule'].nil?
|
17222
|
+
@VerifyRule = TokenVerifyRule.new
|
17223
|
+
@VerifyRule.deserialize(params['VerifyRule'])
|
17224
|
+
end
|
17225
|
+
unless params['DisplaySetting'].nil?
|
17226
|
+
@DisplaySetting = TokenDisplaySetting.new
|
17227
|
+
@DisplaySetting.deserialize(params['DisplaySetting'])
|
17228
|
+
end
|
17229
|
+
end
|
17230
|
+
end
|
17231
|
+
|
17232
|
+
# Token有效性校验规则
|
17233
|
+
class TokenVerifyRule < TencentCloud::Common::AbstractModel
|
17234
|
+
# @param JWTRule: JWS、JWE专用校验规则
|
17235
|
+
# @type JWTRule: :class:`Tencentcloud::Waf.v20180125.models.JWTConfig`
|
17236
|
+
# @param GeneralRule: 其他会话有效性校验方式(contains、length、regex)的校验规则
|
17237
|
+
# @type GeneralRule: :class:`Tencentcloud::Waf.v20180125.models.TokenRuleEntry`
|
17238
|
+
|
17239
|
+
attr_accessor :JWTRule, :GeneralRule
|
17240
|
+
|
17241
|
+
def initialize(jwtrule=nil, generalrule=nil)
|
17242
|
+
@JWTRule = jwtrule
|
17243
|
+
@GeneralRule = generalrule
|
17244
|
+
end
|
17245
|
+
|
17246
|
+
def deserialize(params)
|
17247
|
+
unless params['JWTRule'].nil?
|
17248
|
+
@JWTRule = JWTConfig.new
|
17249
|
+
@JWTRule.deserialize(params['JWTRule'])
|
17250
|
+
end
|
17251
|
+
unless params['GeneralRule'].nil?
|
17252
|
+
@GeneralRule = TokenRuleEntry.new
|
17253
|
+
@GeneralRule.deserialize(params['GeneralRule'])
|
17254
|
+
end
|
17255
|
+
end
|
17256
|
+
end
|
17257
|
+
|
16906
17258
|
# 日志主题扩展信息
|
16907
17259
|
class TopicExtendInfo < TencentCloud::Common::AbstractModel
|
16908
17260
|
# @param AnonymousAccess: 日志主题免鉴权配置信息
|
@@ -17248,10 +17600,14 @@ module TencentCloud
|
|
17248
17600
|
# @type CelRule: String
|
17249
17601
|
# @param LogicalOp: 配置方式的逻辑操作符,and或者or
|
17250
17602
|
# @type LogicalOp: String
|
17603
|
+
# @param PageId: 页面ID
|
17604
|
+
# @type PageId: String
|
17605
|
+
# @param ActionRatio: 动作灰度比例,默认值100
|
17606
|
+
# @type ActionRatio: Integer
|
17251
17607
|
|
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
|
17608
|
+
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
17609
|
|
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)
|
17610
|
+
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
17611
|
@Domain = domain
|
17256
17612
|
@Name = name
|
17257
17613
|
@Status = status
|
@@ -17274,6 +17630,8 @@ module TencentCloud
|
|
17274
17630
|
@LimitMethod = limitmethod
|
17275
17631
|
@CelRule = celrule
|
17276
17632
|
@LogicalOp = logicalop
|
17633
|
+
@PageId = pageid
|
17634
|
+
@ActionRatio = actionratio
|
17277
17635
|
end
|
17278
17636
|
|
17279
17637
|
def deserialize(params)
|
@@ -17299,6 +17657,8 @@ module TencentCloud
|
|
17299
17657
|
@LimitMethod = params['LimitMethod']
|
17300
17658
|
@CelRule = params['CelRule']
|
17301
17659
|
@LogicalOp = params['LogicalOp']
|
17660
|
+
@PageId = params['PageId']
|
17661
|
+
@ActionRatio = params['ActionRatio']
|
17302
17662
|
end
|
17303
17663
|
end
|
17304
17664
|
|
@@ -17409,10 +17769,12 @@ module TencentCloud
|
|
17409
17769
|
# @type SessionName: String
|
17410
17770
|
# @param SessionID: Session对应ID
|
17411
17771
|
# @type SessionID: Integer
|
17772
|
+
# @param Key: 精准匹配时配置的key
|
17773
|
+
# @type Key: String
|
17412
17774
|
|
17413
|
-
attr_accessor :Domain, :Source, :Category, :KeyOrStartMat, :EndMat, :StartOffset, :EndOffset, :Edition, :SessionName, :SessionID
|
17775
|
+
attr_accessor :Domain, :Source, :Category, :KeyOrStartMat, :EndMat, :StartOffset, :EndOffset, :Edition, :SessionName, :SessionID, :Key
|
17414
17776
|
|
17415
|
-
def initialize(domain=nil, source=nil, category=nil, keyorstartmat=nil, endmat=nil, startoffset=nil, endoffset=nil, edition=nil, sessionname=nil, sessionid=nil)
|
17777
|
+
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
17778
|
@Domain = domain
|
17417
17779
|
@Source = source
|
17418
17780
|
@Category = category
|
@@ -17423,6 +17785,7 @@ module TencentCloud
|
|
17423
17785
|
@Edition = edition
|
17424
17786
|
@SessionName = sessionname
|
17425
17787
|
@SessionID = sessionid
|
17788
|
+
@Key = key
|
17426
17789
|
end
|
17427
17790
|
|
17428
17791
|
def deserialize(params)
|
@@ -17436,6 +17799,7 @@ module TencentCloud
|
|
17436
17799
|
@Edition = params['Edition']
|
17437
17800
|
@SessionName = params['SessionName']
|
17438
17801
|
@SessionID = params['SessionID']
|
17802
|
+
@Key = params['Key']
|
17439
17803
|
end
|
17440
17804
|
end
|
17441
17805
|
|
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.1147
|
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-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|