tencentcloud-sdk-waf 3.0.1076 → 3.0.1093
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/models.rb +118 -48
- 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: 13e40c931255039b19a4cb0f459282ae735bd863
|
4
|
+
data.tar.gz: 031a35e930c38a9fd1b0d5558d6a1d7abf71361d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a98058acefa8f0dff2f496280252a3744cb82828007fe4a2119241a535ab1230d05644d08907bd2a702e0ffe47fcdfa47b4538385fbde6f5724332b4b66f12e2
|
7
|
+
data.tar.gz: aa862c73e498892550b7167fbe877e045367f9f542ee9312bbd4feca8c9cd7d77c36b95d585c6457594ad7010850ef87b6b4484f066b150ccc7b160282762d8d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1093
|
data/lib/v20180125/models.rb
CHANGED
@@ -77,8 +77,8 @@ module TencentCloud
|
|
77
77
|
|
78
78
|
attr_accessor :BTime, :Count, :BeginTime
|
79
79
|
extend Gem::Deprecate
|
80
|
-
deprecate :BTime, :none, 2025,
|
81
|
-
deprecate :BTime=, :none, 2025,
|
80
|
+
deprecate :BTime, :none, 2025, 7
|
81
|
+
deprecate :BTime=, :none, 2025, 7
|
82
82
|
|
83
83
|
def initialize(btime=nil, count=nil, begintime=nil)
|
84
84
|
@BTime = btime
|
@@ -595,8 +595,8 @@ module TencentCloud
|
|
595
595
|
|
596
596
|
attr_accessor :Name, :SortId, :Strategies, :Domain, :ActionType, :Redirect, :ExpireTime, :Edition, :Bypass, :EventId, :JobType, :JobDateTime, :Source, :Label, :Status, :PageId, :LogicalOp
|
597
597
|
extend Gem::Deprecate
|
598
|
-
deprecate :Bypass, :none, 2025,
|
599
|
-
deprecate :Bypass=, :none, 2025,
|
598
|
+
deprecate :Bypass, :none, 2025, 7
|
599
|
+
deprecate :Bypass=, :none, 2025, 7
|
600
600
|
|
601
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)
|
602
602
|
@Name = name
|
@@ -860,7 +860,7 @@ module TencentCloud
|
|
860
860
|
# @type PrivateKey: String
|
861
861
|
# @param SSLId: CertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id
|
862
862
|
# @type SSLId: String
|
863
|
-
# @param ResourceId:
|
863
|
+
# @param ResourceId: Waf的资源ID。
|
864
864
|
# @type ResourceId: String
|
865
865
|
# @param IpHeaders: IsCdn为3时,需要填此参数,表示自定义header
|
866
866
|
# @type IpHeaders: Array
|
@@ -870,9 +870,9 @@ module TencentCloud
|
|
870
870
|
# @type UpstreamScheme: String
|
871
871
|
# @param HttpsUpstreamPort: HTTPS回源端口,仅UpstreamScheme为http时需要填当前字段
|
872
872
|
# @type HttpsUpstreamPort: String
|
873
|
-
# @param IsGray:
|
873
|
+
# @param IsGray: 是否开启灰度,0表示不开启灰度。
|
874
874
|
# @type IsGray: Integer
|
875
|
-
# @param GrayAreas:
|
875
|
+
# @param GrayAreas: 灰度的地区
|
876
876
|
# @type GrayAreas: Array
|
877
877
|
# @param HttpsRewrite: 必填项,是否开启HTTP强制跳转到HTTPS。
|
878
878
|
# 0:不强制跳转
|
@@ -886,12 +886,12 @@ module TencentCloud
|
|
886
886
|
# 0:关闭
|
887
887
|
# 1:开启
|
888
888
|
# @type IsHttp2: Integer
|
889
|
-
# @param Edition:
|
889
|
+
# @param Edition: WAF实例类型。
|
890
890
|
# sparta-waf:SAAS型WAF
|
891
891
|
# clb-waf:负载均衡型WAF
|
892
892
|
# cdn-waf:CDN上的Web防护能力
|
893
893
|
# @type Edition: String
|
894
|
-
# @param Anycast:
|
894
|
+
# @param Anycast: 目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
|
895
895
|
# @type Anycast: Integer
|
896
896
|
# @param Weights: 回源IP列表各IP的权重,和SrcList一一对应。当且仅当UpstreamType为0,并且SrcList有多个IP,并且LoadBalance为2时需要填写,否则填 []
|
897
897
|
# @type Weights: Array
|
@@ -949,10 +949,23 @@ module TencentCloud
|
|
949
949
|
# @type UpstreamPolicy: Integer
|
950
950
|
# @param UpstreamRules: 分流回源时生效,分流回源的规则。
|
951
951
|
# @type UpstreamRules: Array
|
952
|
+
# @param UseCase: 业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
|
953
|
+
# @type UseCase: Integer
|
952
954
|
|
953
|
-
attr_accessor :Domain, :CertType, :IsCdn, :UpstreamType, :IsWebsocket, :LoadBalance, :Ports, :IsKeepAlive, :InstanceID, :Cert, :PrivateKey, :SSLId, :ResourceId, :IpHeaders, :UpstreamScheme, :HttpsUpstreamPort, :IsGray, :GrayAreas, :HttpsRewrite, :UpstreamDomain, :SrcList, :IsHttp2, :Edition, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :CipherTemplate, :Ciphers, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :XFFReset, :Note, :UpstreamHost, :ProxyBuffer, :ProbeStatus, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :UpstreamPolicy, :UpstreamRules
|
954
|
-
|
955
|
-
|
955
|
+
attr_accessor :Domain, :CertType, :IsCdn, :UpstreamType, :IsWebsocket, :LoadBalance, :Ports, :IsKeepAlive, :InstanceID, :Cert, :PrivateKey, :SSLId, :ResourceId, :IpHeaders, :UpstreamScheme, :HttpsUpstreamPort, :IsGray, :GrayAreas, :HttpsRewrite, :UpstreamDomain, :SrcList, :IsHttp2, :Edition, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :CipherTemplate, :Ciphers, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :XFFReset, :Note, :UpstreamHost, :ProxyBuffer, :ProbeStatus, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :UpstreamPolicy, :UpstreamRules, :UseCase
|
956
|
+
extend Gem::Deprecate
|
957
|
+
deprecate :ResourceId, :none, 2025, 7
|
958
|
+
deprecate :ResourceId=, :none, 2025, 7
|
959
|
+
deprecate :IsGray, :none, 2025, 7
|
960
|
+
deprecate :IsGray=, :none, 2025, 7
|
961
|
+
deprecate :GrayAreas, :none, 2025, 7
|
962
|
+
deprecate :GrayAreas=, :none, 2025, 7
|
963
|
+
deprecate :Edition, :none, 2025, 7
|
964
|
+
deprecate :Edition=, :none, 2025, 7
|
965
|
+
deprecate :Anycast, :none, 2025, 7
|
966
|
+
deprecate :Anycast=, :none, 2025, 7
|
967
|
+
|
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, httpsrewrite=nil, upstreamdomain=nil, srclist=nil, ishttp2=nil, edition=nil, anycast=nil, weights=nil, activecheck=nil, tlsversion=nil, ciphertemplate=nil, ciphers=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)
|
956
969
|
@Domain = domain
|
957
970
|
@CertType = certtype
|
958
971
|
@IsCdn = iscdn
|
@@ -1000,6 +1013,7 @@ module TencentCloud
|
|
1000
1013
|
@GmSSLId = gmsslid
|
1001
1014
|
@UpstreamPolicy = upstreampolicy
|
1002
1015
|
@UpstreamRules = upstreamrules
|
1016
|
+
@UseCase = usecase
|
1003
1017
|
end
|
1004
1018
|
|
1005
1019
|
def deserialize(params)
|
@@ -1064,6 +1078,7 @@ module TencentCloud
|
|
1064
1078
|
@UpstreamRules << upstreamrule_tmp
|
1065
1079
|
end
|
1066
1080
|
end
|
1081
|
+
@UseCase = params['UseCase']
|
1067
1082
|
end
|
1068
1083
|
end
|
1069
1084
|
|
@@ -1533,10 +1548,10 @@ module TencentCloud
|
|
1533
1548
|
|
1534
1549
|
attr_accessor :Id, :ActionType, :Ip, :Note, :Source, :TsVersion, :ValidTs, :Hosts, :RuleId, :IpList, :CreateTime, :JobType, :CronType, :JobDateTime, :ValidStatus, :GroupIds
|
1535
1550
|
extend Gem::Deprecate
|
1536
|
-
deprecate :Id, :none, 2025,
|
1537
|
-
deprecate :Id=, :none, 2025,
|
1538
|
-
deprecate :Ip, :none, 2025,
|
1539
|
-
deprecate :Ip=, :none, 2025,
|
1551
|
+
deprecate :Id, :none, 2025, 7
|
1552
|
+
deprecate :Id=, :none, 2025, 7
|
1553
|
+
deprecate :Ip, :none, 2025, 7
|
1554
|
+
deprecate :Ip=, :none, 2025, 7
|
1540
1555
|
|
1541
1556
|
def initialize(id=nil, actiontype=nil, ip=nil, note=nil, source=nil, tsversion=nil, validts=nil, hosts=nil, ruleid=nil, iplist=nil, createtime=nil, jobtype=nil, crontype=nil, jobdatetime=nil, validstatus=nil, groupids=nil)
|
1542
1557
|
@Id = id
|
@@ -2494,10 +2509,12 @@ module TencentCloud
|
|
2494
2509
|
# @type Note: String
|
2495
2510
|
# @param Labels: 域名标签
|
2496
2511
|
# @type Labels: Array
|
2512
|
+
# @param AccessStatus: clbwaf接入状态,0代表“尚无流量接入”,1代表“流量接入”,2代表“CLB监听器已注销”,3代表“配置生效中”,4代表“配置下发失败中”
|
2513
|
+
# @type AccessStatus: Integer
|
2497
2514
|
|
2498
|
-
attr_accessor :Domain, :DomainId, :InstanceId, :InstanceName, :Edition, :IsCdn, :LoadBalancerSet, :FlowMode, :State, :AlbType, :IpHeaders, :CdcClusters, :CloudType, :Note, :Labels
|
2515
|
+
attr_accessor :Domain, :DomainId, :InstanceId, :InstanceName, :Edition, :IsCdn, :LoadBalancerSet, :FlowMode, :State, :AlbType, :IpHeaders, :CdcClusters, :CloudType, :Note, :Labels, :AccessStatus
|
2499
2516
|
|
2500
|
-
def initialize(domain=nil, domainid=nil, instanceid=nil, instancename=nil, edition=nil, iscdn=nil, loadbalancerset=nil, flowmode=nil, state=nil, albtype=nil, ipheaders=nil, cdcclusters=nil, cloudtype=nil, note=nil, labels=nil)
|
2517
|
+
def initialize(domain=nil, domainid=nil, instanceid=nil, instancename=nil, edition=nil, iscdn=nil, loadbalancerset=nil, flowmode=nil, state=nil, albtype=nil, ipheaders=nil, cdcclusters=nil, cloudtype=nil, note=nil, labels=nil, accessstatus=nil)
|
2501
2518
|
@Domain = domain
|
2502
2519
|
@DomainId = domainid
|
2503
2520
|
@InstanceId = instanceid
|
@@ -2513,6 +2530,7 @@ module TencentCloud
|
|
2513
2530
|
@CloudType = cloudtype
|
2514
2531
|
@Note = note
|
2515
2532
|
@Labels = labels
|
2533
|
+
@AccessStatus = accessstatus
|
2516
2534
|
end
|
2517
2535
|
|
2518
2536
|
def deserialize(params)
|
@@ -2538,6 +2556,7 @@ module TencentCloud
|
|
2538
2556
|
@CloudType = params['CloudType']
|
2539
2557
|
@Note = params['Note']
|
2540
2558
|
@Labels = params['Labels']
|
2559
|
+
@AccessStatus = params['AccessStatus']
|
2541
2560
|
end
|
2542
2561
|
end
|
2543
2562
|
|
@@ -3085,8 +3104,8 @@ module TencentCloud
|
|
3085
3104
|
|
3086
3105
|
attr_accessor :Domain, :IpList, :ActionType, :ValidTS, :InstanceId, :Edition, :SourceType, :Note, :JobType, :JobDateTime
|
3087
3106
|
extend Gem::Deprecate
|
3088
|
-
deprecate :ValidTS, :none, 2025,
|
3089
|
-
deprecate :ValidTS=, :none, 2025,
|
3107
|
+
deprecate :ValidTS, :none, 2025, 7
|
3108
|
+
deprecate :ValidTS=, :none, 2025, 7
|
3090
3109
|
|
3091
3110
|
def initialize(domain=nil, iplist=nil, actiontype=nil, validts=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil)
|
3092
3111
|
@Domain = domain
|
@@ -4042,8 +4061,8 @@ module TencentCloud
|
|
4042
4061
|
|
4043
4062
|
attr_accessor :From, :To, :Query, :FieldName, :TopicId, :Sort, :Count
|
4044
4063
|
extend Gem::Deprecate
|
4045
|
-
deprecate :TopicId, :none, 2025,
|
4046
|
-
deprecate :TopicId=, :none, 2025,
|
4064
|
+
deprecate :TopicId, :none, 2025, 7
|
4065
|
+
deprecate :TopicId=, :none, 2025, 7
|
4047
4066
|
|
4048
4067
|
def initialize(from=nil, to=nil, query=nil, fieldname=nil, topicid=nil, sort=nil, count=nil)
|
4049
4068
|
@From = from
|
@@ -6740,10 +6759,10 @@ module TencentCloud
|
|
6740
6759
|
|
6741
6760
|
attr_accessor :Domain, :Count, :ActionType, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :OffSet, :Limit, :Source, :Sort, :Ip, :ValidStatus, :ValidTimeStampMin, :ValidTimeStampMax, :RuleId, :TimerType
|
6742
6761
|
extend Gem::Deprecate
|
6743
|
-
deprecate :VtsMin, :none, 2025,
|
6744
|
-
deprecate :VtsMin=, :none, 2025,
|
6745
|
-
deprecate :VtsMax, :none, 2025,
|
6746
|
-
deprecate :VtsMax=, :none, 2025,
|
6762
|
+
deprecate :VtsMin, :none, 2025, 7
|
6763
|
+
deprecate :VtsMin=, :none, 2025, 7
|
6764
|
+
deprecate :VtsMax, :none, 2025, 7
|
6765
|
+
deprecate :VtsMax=, :none, 2025, 7
|
6747
6766
|
|
6748
6767
|
def initialize(domain=nil, count=nil, actiontype=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, offset=nil, limit=nil, source=nil, sort=nil, ip=nil, validstatus=nil, validtimestampmin=nil, validtimestampmax=nil, ruleid=nil, timertype=nil)
|
6749
6768
|
@Domain = domain
|
@@ -6846,10 +6865,10 @@ module TencentCloud
|
|
6846
6865
|
|
6847
6866
|
attr_accessor :Domain, :Count, :Category, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :Skip, :Limit, :Name, :Sort, :Ip, :ValidTimeStampMin, :ValidTimeStampMax
|
6848
6867
|
extend Gem::Deprecate
|
6849
|
-
deprecate :VtsMin, :none, 2025,
|
6850
|
-
deprecate :VtsMin=, :none, 2025,
|
6851
|
-
deprecate :VtsMax, :none, 2025,
|
6852
|
-
deprecate :VtsMax=, :none, 2025,
|
6868
|
+
deprecate :VtsMin, :none, 2025, 7
|
6869
|
+
deprecate :VtsMin=, :none, 2025, 7
|
6870
|
+
deprecate :VtsMax, :none, 2025, 7
|
6871
|
+
deprecate :VtsMax=, :none, 2025, 7
|
6853
6872
|
|
6854
6873
|
def initialize(domain=nil, count=nil, category=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, skip=nil, limit=nil, name=nil, sort=nil, ip=nil, validtimestampmin=nil, validtimestampmax=nil)
|
6855
6874
|
@Domain = domain
|
@@ -8612,7 +8631,7 @@ module TencentCloud
|
|
8612
8631
|
# @type UpstreamDomainList: Array
|
8613
8632
|
# @param SgID: 安全组ID
|
8614
8633
|
# @type SgID: String
|
8615
|
-
# @param AccessStatus: clbwaf
|
8634
|
+
# @param AccessStatus: clbwaf接入状态,0代表“尚无流量接入”,1代表“流量接入”,2代表“CLB监听器已注销”,3代表“配置生效中”,4代表“配置下发失败中”
|
8616
8635
|
# @type AccessStatus: Integer
|
8617
8636
|
# @param Labels: 域名标签
|
8618
8637
|
# @type Labels: Array
|
@@ -8825,7 +8844,7 @@ module TencentCloud
|
|
8825
8844
|
# 2:有部署代理服务,waf将使用remote_addr获取客户端IP
|
8826
8845
|
# 3:有部署代理服务,waf将使用ip_headers中的自定义header获取客户端IP
|
8827
8846
|
# @type IsCdn: Integer
|
8828
|
-
# @param IsGray:
|
8847
|
+
# @param IsGray: 是否开启灰度。
|
8829
8848
|
# @type IsGray: Integer
|
8830
8849
|
# @param IsHttp2: 是否开启HTTP2,需要开启HTTPS协议支持。
|
8831
8850
|
# 0:关闭
|
@@ -8943,10 +8962,15 @@ module TencentCloud
|
|
8943
8962
|
# @type UpstreamPolicy: Integer
|
8944
8963
|
# @param UpstreamRules: 分流回源策略
|
8945
8964
|
# @type UpstreamRules: Array
|
8965
|
+
# @param UseCase: 业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
|
8966
|
+
# @type UseCase: Integer
|
8946
8967
|
|
8947
|
-
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
|
8968
|
+
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
|
8969
|
+
extend Gem::Deprecate
|
8970
|
+
deprecate :IsGray, :none, 2025, 7
|
8971
|
+
deprecate :IsGray=, :none, 2025, 7
|
8948
8972
|
|
8949
|
-
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)
|
8973
|
+
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)
|
8950
8974
|
@Domain = domain
|
8951
8975
|
@DomainId = domainid
|
8952
8976
|
@InstanceId = instanceid
|
@@ -9000,6 +9024,7 @@ module TencentCloud
|
|
9000
9024
|
@ProbeStatus = probestatus
|
9001
9025
|
@UpstreamPolicy = upstreampolicy
|
9002
9026
|
@UpstreamRules = upstreamrules
|
9027
|
+
@UseCase = usecase
|
9003
9028
|
end
|
9004
9029
|
|
9005
9030
|
def deserialize(params)
|
@@ -9070,6 +9095,7 @@ module TencentCloud
|
|
9070
9095
|
@UpstreamRules << upstreamrule_tmp
|
9071
9096
|
end
|
9072
9097
|
end
|
9098
|
+
@UseCase = params['UseCase']
|
9073
9099
|
end
|
9074
9100
|
end
|
9075
9101
|
|
@@ -10490,10 +10516,12 @@ module TencentCloud
|
|
10490
10516
|
# @type MajorEventsProPkg: :class:`Tencentcloud::Waf.v20180125.models.MajorEventsProPkg`
|
10491
10517
|
# @param BasicFlag: 1是基础2025版本;0不是
|
10492
10518
|
# @type BasicFlag: Integer
|
10519
|
+
# @param NetworkConfig: 实例的网络配置
|
10520
|
+
# @type NetworkConfig: :class:`Tencentcloud::Waf.v20180125.models.NetworkConfig`
|
10493
10521
|
|
10494
|
-
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
|
10522
|
+
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
|
10495
10523
|
|
10496
|
-
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)
|
10524
|
+
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)
|
10497
10525
|
@InstanceId = instanceid
|
10498
10526
|
@InstanceName = instancename
|
10499
10527
|
@ResourceIds = resourceids
|
@@ -10539,6 +10567,7 @@ module TencentCloud
|
|
10539
10567
|
@Last3MaxBandwidth = last3maxbandwidth
|
10540
10568
|
@MajorEventsProPkg = majoreventspropkg
|
10541
10569
|
@BasicFlag = basicflag
|
10570
|
+
@NetworkConfig = networkconfig
|
10542
10571
|
end
|
10543
10572
|
|
10544
10573
|
def deserialize(params)
|
@@ -10620,6 +10649,10 @@ module TencentCloud
|
|
10620
10649
|
@MajorEventsProPkg.deserialize(params['MajorEventsProPkg'])
|
10621
10650
|
end
|
10622
10651
|
@BasicFlag = params['BasicFlag']
|
10652
|
+
unless params['NetworkConfig'].nil?
|
10653
|
+
@NetworkConfig = NetworkConfig.new
|
10654
|
+
@NetworkConfig.deserialize(params['NetworkConfig'])
|
10655
|
+
end
|
10623
10656
|
end
|
10624
10657
|
end
|
10625
10658
|
|
@@ -11965,8 +11998,8 @@ module TencentCloud
|
|
11965
11998
|
|
11966
11999
|
attr_accessor :Domain, :RuleId, :RuleName, :RuleAction, :Strategies, :Edition, :Redirect, :Bypass, :SortId, :ExpireTime, :JobType, :JobDateTime, :Source, :Status, :PageId, :LogicalOp
|
11967
12000
|
extend Gem::Deprecate
|
11968
|
-
deprecate :Bypass, :none, 2025,
|
11969
|
-
deprecate :Bypass=, :none, 2025,
|
12001
|
+
deprecate :Bypass, :none, 2025, 7
|
12002
|
+
deprecate :Bypass=, :none, 2025, 7
|
11970
12003
|
|
11971
12004
|
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)
|
11972
12005
|
@Domain = domain
|
@@ -12890,8 +12923,8 @@ module TencentCloud
|
|
12890
12923
|
|
12891
12924
|
attr_accessor :Domain, :IpList, :ActionType, :RuleId, :ValidTS, :InstanceId, :Edition, :SourceType, :Note, :JobType, :JobDateTime
|
12892
12925
|
extend Gem::Deprecate
|
12893
|
-
deprecate :ValidTS, :none, 2025,
|
12894
|
-
deprecate :ValidTS=, :none, 2025,
|
12926
|
+
deprecate :ValidTS, :none, 2025, 7
|
12927
|
+
deprecate :ValidTS=, :none, 2025, 7
|
12895
12928
|
|
12896
12929
|
def initialize(domain=nil, iplist=nil, actiontype=nil, ruleid=nil, validts=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil)
|
12897
12930
|
@Domain = domain
|
@@ -13181,7 +13214,7 @@ module TencentCloud
|
|
13181
13214
|
# @type IsWebsocket: Integer
|
13182
13215
|
# @param LoadBalance: 回源负载均衡策略。0:轮询1:IP hash2:加权轮询
|
13183
13216
|
# @type LoadBalance: Integer
|
13184
|
-
# @param IsGray:
|
13217
|
+
# @param IsGray: 是否开启灰度,0表示不开启灰度。
|
13185
13218
|
# @type IsGray: Integer
|
13186
13219
|
# @param Edition: 域名所属实例类型
|
13187
13220
|
# @type Edition: String
|
@@ -13189,7 +13222,7 @@ module TencentCloud
|
|
13189
13222
|
# @type Ports: Array
|
13190
13223
|
# @param IsKeepAlive: 是否开启长连接。0: 短连接1: 长连接
|
13191
13224
|
# @type IsKeepAlive: String
|
13192
|
-
# @param Anycast:
|
13225
|
+
# @param Anycast: 目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
|
13193
13226
|
# @type Anycast: Integer
|
13194
13227
|
# @param Weights: 回源IP列表各IP的权重,和SrcList一一对应。当且仅当UpstreamType为0,并且SrcList有多个IP,并且LoadBalance为2时需要填写,否则填 []
|
13195
13228
|
# @type Weights: Array
|
@@ -13243,10 +13276,17 @@ module TencentCloud
|
|
13243
13276
|
# @type UpstreamPolicy: Integer
|
13244
13277
|
# @param UpstreamRules: 分流回源时生效,分流回源的规则。
|
13245
13278
|
# @type UpstreamRules: Array
|
13279
|
+
# @param UseCase: 业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
|
13280
|
+
# @type UseCase: Integer
|
13246
13281
|
|
13247
|
-
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
|
13282
|
+
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
|
13283
|
+
extend Gem::Deprecate
|
13284
|
+
deprecate :IsGray, :none, 2025, 7
|
13285
|
+
deprecate :IsGray=, :none, 2025, 7
|
13286
|
+
deprecate :Anycast, :none, 2025, 7
|
13287
|
+
deprecate :Anycast=, :none, 2025, 7
|
13248
13288
|
|
13249
|
-
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)
|
13289
|
+
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)
|
13250
13290
|
@Domain = domain
|
13251
13291
|
@DomainId = domainid
|
13252
13292
|
@InstanceID = instanceid
|
@@ -13293,6 +13333,7 @@ module TencentCloud
|
|
13293
13333
|
@GmSSLId = gmsslid
|
13294
13334
|
@UpstreamPolicy = upstreampolicy
|
13295
13335
|
@UpstreamRules = upstreamrules
|
13336
|
+
@UseCase = usecase
|
13296
13337
|
end
|
13297
13338
|
|
13298
13339
|
def deserialize(params)
|
@@ -13356,6 +13397,7 @@ module TencentCloud
|
|
13356
13397
|
@UpstreamRules << upstreamrule_tmp
|
13357
13398
|
end
|
13358
13399
|
end
|
13400
|
+
@UseCase = params['UseCase']
|
13359
13401
|
end
|
13360
13402
|
end
|
13361
13403
|
|
@@ -13700,6 +13742,34 @@ module TencentCloud
|
|
13700
13742
|
end
|
13701
13743
|
end
|
13702
13744
|
|
13745
|
+
# 实例的网络配置
|
13746
|
+
class NetworkConfig < TencentCloud::Common::AbstractModel
|
13747
|
+
# @param AntiDDosEip: 高防EIP地址
|
13748
|
+
# @type AntiDDosEip: String
|
13749
|
+
# @param AntiDDosEipStatus: 高防EIP绑定状态。
|
13750
|
+
# 0:解绑
|
13751
|
+
# 1:绑定
|
13752
|
+
# @type AntiDDosEipStatus: Integer
|
13753
|
+
# @param VipStatus: WAF原生VIP绑定状态。
|
13754
|
+
# 0:解绑
|
13755
|
+
# 1:绑定
|
13756
|
+
# @type VipStatus: Integer
|
13757
|
+
|
13758
|
+
attr_accessor :AntiDDosEip, :AntiDDosEipStatus, :VipStatus
|
13759
|
+
|
13760
|
+
def initialize(antiddoseip=nil, antiddoseipstatus=nil, vipstatus=nil)
|
13761
|
+
@AntiDDosEip = antiddoseip
|
13762
|
+
@AntiDDosEipStatus = antiddoseipstatus
|
13763
|
+
@VipStatus = vipstatus
|
13764
|
+
end
|
13765
|
+
|
13766
|
+
def deserialize(params)
|
13767
|
+
@AntiDDosEip = params['AntiDDosEip']
|
13768
|
+
@AntiDDosEipStatus = params['AntiDDosEipStatus']
|
13769
|
+
@VipStatus = params['VipStatus']
|
13770
|
+
end
|
13771
|
+
end
|
13772
|
+
|
13703
13773
|
# bot-自定义规则请求参数比对结构体
|
13704
13774
|
class ParamCompareList < TencentCloud::Common::AbstractModel
|
13705
13775
|
# @param Key: 请求参数比对的匹配参数
|
@@ -14477,10 +14547,10 @@ module TencentCloud
|
|
14477
14547
|
|
14478
14548
|
attr_accessor :Context, :ListOver, :Analysis, :ColNames, :Results, :AnalysisResults, :RequestId
|
14479
14549
|
extend Gem::Deprecate
|
14480
|
-
deprecate :ColNames, :none, 2025,
|
14481
|
-
deprecate :ColNames=, :none, 2025,
|
14482
|
-
deprecate :AnalysisResults, :none, 2025,
|
14483
|
-
deprecate :AnalysisResults=, :none, 2025,
|
14550
|
+
deprecate :ColNames, :none, 2025, 7
|
14551
|
+
deprecate :ColNames=, :none, 2025, 7
|
14552
|
+
deprecate :AnalysisResults, :none, 2025, 7
|
14553
|
+
deprecate :AnalysisResults=, :none, 2025, 7
|
14484
14554
|
|
14485
14555
|
def initialize(context=nil, listover=nil, analysis=nil, colnames=nil, results=nil, analysisresults=nil, requestid=nil)
|
14486
14556
|
@Context = context
|
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.1093
|
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-
|
11
|
+
date: 2025-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|