tencentcloud-sdk-waf 3.0.1074 → 3.0.1089

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180125/models.rb +81 -47
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62d93b5d369188a061dacaf17f113ddce9424d28
4
- data.tar.gz: 4d53c44ceffa4feeb7da39319694d065d248ed77
3
+ metadata.gz: 7c048a49022fc4eb3ce80225e66d7e404bff5523
4
+ data.tar.gz: cb8b95f7ea454e59ab53c621de6250417796387e
5
5
  SHA512:
6
- metadata.gz: 7d9097ec8ef0b6d72f9e5a7d6420ca841b7ba4675362c797dba93e251d7db013485f6d65ab308480fd79746c0810f77eb59366046e01167cc178d9a4ac50ac16
7
- data.tar.gz: d7061013c58627c886e61160bdf2c7647028645041a09929979b3907bbbd0557a9fd6fb46ae926ecd9eb93219c8dbe17fe216ff1d898892914c2180c8f06397d
6
+ metadata.gz: 5558d79ff43841afcb0ac37f86d47a9e94d0b5d7f8cd64c731892cad6a314cb4a29428d7e9bc33b7804e704f315095b34319085fba203526cccbe33b4c2cf3fa
7
+ data.tar.gz: 6dd1cafd19cec23dd5e3e613cefb80f2a3357c2b16a403d0cc82eab69b8bde7028411cb36772ce08e326861866936b052b2f9dc596bb0a6f4f3b2017873dc113
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1074
1
+ 3.0.1089
@@ -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, 5
81
- deprecate :BTime=, :none, 2025, 5
80
+ deprecate :BTime, :none, 2025, 6
81
+ deprecate :BTime=, :none, 2025, 6
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, 5
599
- deprecate :Bypass=, :none, 2025, 5
598
+ deprecate :Bypass, :none, 2025, 6
599
+ deprecate :Bypass=, :none, 2025, 6
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: 待废弃,可不填。Waf的资源ID。
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: 待废弃,可不填。是否开启灰度,0表示不开启灰度。
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: 待废弃,可不填。WAF实例类型。
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: 待废弃,目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
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
- 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)
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, 6
958
+ deprecate :ResourceId=, :none, 2025, 6
959
+ deprecate :IsGray, :none, 2025, 6
960
+ deprecate :IsGray=, :none, 2025, 6
961
+ deprecate :GrayAreas, :none, 2025, 6
962
+ deprecate :GrayAreas=, :none, 2025, 6
963
+ deprecate :Edition, :none, 2025, 6
964
+ deprecate :Edition=, :none, 2025, 6
965
+ deprecate :Anycast, :none, 2025, 6
966
+ deprecate :Anycast=, :none, 2025, 6
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, 5
1537
- deprecate :Id=, :none, 2025, 5
1538
- deprecate :Ip, :none, 2025, 5
1539
- deprecate :Ip=, :none, 2025, 5
1551
+ deprecate :Id, :none, 2025, 6
1552
+ deprecate :Id=, :none, 2025, 6
1553
+ deprecate :Ip, :none, 2025, 6
1554
+ deprecate :Ip=, :none, 2025, 6
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, 5
3089
- deprecate :ValidTS=, :none, 2025, 5
3107
+ deprecate :ValidTS, :none, 2025, 6
3108
+ deprecate :ValidTS=, :none, 2025, 6
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, 5
4046
- deprecate :TopicId=, :none, 2025, 5
4064
+ deprecate :TopicId, :none, 2025, 6
4065
+ deprecate :TopicId=, :none, 2025, 6
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, 5
6744
- deprecate :VtsMin=, :none, 2025, 5
6745
- deprecate :VtsMax, :none, 2025, 5
6746
- deprecate :VtsMax=, :none, 2025, 5
6762
+ deprecate :VtsMin, :none, 2025, 6
6763
+ deprecate :VtsMin=, :none, 2025, 6
6764
+ deprecate :VtsMax, :none, 2025, 6
6765
+ deprecate :VtsMax=, :none, 2025, 6
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, 5
6850
- deprecate :VtsMin=, :none, 2025, 5
6851
- deprecate :VtsMax, :none, 2025, 5
6852
- deprecate :VtsMax=, :none, 2025, 5
6868
+ deprecate :VtsMin, :none, 2025, 6
6869
+ deprecate :VtsMin=, :none, 2025, 6
6870
+ deprecate :VtsMax, :none, 2025, 6
6871
+ deprecate :VtsMax=, :none, 2025, 6
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, 6
8971
+ deprecate :IsGray=, :none, 2025, 6
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
 
@@ -11965,8 +11991,8 @@ module TencentCloud
11965
11991
 
11966
11992
  attr_accessor :Domain, :RuleId, :RuleName, :RuleAction, :Strategies, :Edition, :Redirect, :Bypass, :SortId, :ExpireTime, :JobType, :JobDateTime, :Source, :Status, :PageId, :LogicalOp
11967
11993
  extend Gem::Deprecate
11968
- deprecate :Bypass, :none, 2025, 5
11969
- deprecate :Bypass=, :none, 2025, 5
11994
+ deprecate :Bypass, :none, 2025, 6
11995
+ deprecate :Bypass=, :none, 2025, 6
11970
11996
 
11971
11997
  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
11998
  @Domain = domain
@@ -12890,8 +12916,8 @@ module TencentCloud
12890
12916
 
12891
12917
  attr_accessor :Domain, :IpList, :ActionType, :RuleId, :ValidTS, :InstanceId, :Edition, :SourceType, :Note, :JobType, :JobDateTime
12892
12918
  extend Gem::Deprecate
12893
- deprecate :ValidTS, :none, 2025, 5
12894
- deprecate :ValidTS=, :none, 2025, 5
12919
+ deprecate :ValidTS, :none, 2025, 6
12920
+ deprecate :ValidTS=, :none, 2025, 6
12895
12921
 
12896
12922
  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
12923
  @Domain = domain
@@ -13181,7 +13207,7 @@ module TencentCloud
13181
13207
  # @type IsWebsocket: Integer
13182
13208
  # @param LoadBalance: 回源负载均衡策略。0:轮询1:IP hash2:加权轮询
13183
13209
  # @type LoadBalance: Integer
13184
- # @param IsGray: 待废弃,可不填。是否开启灰度,0表示不开启灰度。
13210
+ # @param IsGray: 是否开启灰度,0表示不开启灰度。
13185
13211
  # @type IsGray: Integer
13186
13212
  # @param Edition: 域名所属实例类型
13187
13213
  # @type Edition: String
@@ -13189,7 +13215,7 @@ module TencentCloud
13189
13215
  # @type Ports: Array
13190
13216
  # @param IsKeepAlive: 是否开启长连接。0: 短连接1: 长连接
13191
13217
  # @type IsKeepAlive: String
13192
- # @param Anycast: 待废弃。目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
13218
+ # @param Anycast: 目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
13193
13219
  # @type Anycast: Integer
13194
13220
  # @param Weights: 回源IP列表各IP的权重,和SrcList一一对应。当且仅当UpstreamType为0,并且SrcList有多个IP,并且LoadBalance为2时需要填写,否则填 []
13195
13221
  # @type Weights: Array
@@ -13243,10 +13269,17 @@ module TencentCloud
13243
13269
  # @type UpstreamPolicy: Integer
13244
13270
  # @param UpstreamRules: 分流回源时生效,分流回源的规则。
13245
13271
  # @type UpstreamRules: Array
13272
+ # @param UseCase: 业务场景。0:默认值,表示常规业务场景 1:大模型业务场景
13273
+ # @type UseCase: Integer
13246
13274
 
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
13275
+ 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
13276
+ extend Gem::Deprecate
13277
+ deprecate :IsGray, :none, 2025, 6
13278
+ deprecate :IsGray=, :none, 2025, 6
13279
+ deprecate :Anycast, :none, 2025, 6
13280
+ deprecate :Anycast=, :none, 2025, 6
13248
13281
 
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)
13282
+ 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
13283
  @Domain = domain
13251
13284
  @DomainId = domainid
13252
13285
  @InstanceID = instanceid
@@ -13293,6 +13326,7 @@ module TencentCloud
13293
13326
  @GmSSLId = gmsslid
13294
13327
  @UpstreamPolicy = upstreampolicy
13295
13328
  @UpstreamRules = upstreamrules
13329
+ @UseCase = usecase
13296
13330
  end
13297
13331
 
13298
13332
  def deserialize(params)
@@ -13356,6 +13390,7 @@ module TencentCloud
13356
13390
  @UpstreamRules << upstreamrule_tmp
13357
13391
  end
13358
13392
  end
13393
+ @UseCase = params['UseCase']
13359
13394
  end
13360
13395
  end
13361
13396
 
@@ -14477,10 +14512,10 @@ module TencentCloud
14477
14512
 
14478
14513
  attr_accessor :Context, :ListOver, :Analysis, :ColNames, :Results, :AnalysisResults, :RequestId
14479
14514
  extend Gem::Deprecate
14480
- deprecate :ColNames, :none, 2025, 5
14481
- deprecate :ColNames=, :none, 2025, 5
14482
- deprecate :AnalysisResults, :none, 2025, 5
14483
- deprecate :AnalysisResults=, :none, 2025, 5
14515
+ deprecate :ColNames, :none, 2025, 6
14516
+ deprecate :ColNames=, :none, 2025, 6
14517
+ deprecate :AnalysisResults, :none, 2025, 6
14518
+ deprecate :AnalysisResults=, :none, 2025, 6
14484
14519
 
14485
14520
  def initialize(context=nil, listover=nil, analysis=nil, colnames=nil, results=nil, analysisresults=nil, requestid=nil)
14486
14521
  @Context = context
@@ -15112,7 +15147,6 @@ module TencentCloud
15112
15147
  # UpdateProtectionModes返回参数结构体
15113
15148
  class UpdateProtectionModesResponse < TencentCloud::Common::AbstractModel
15114
15149
  # @param CommonRsp: 操作结果
15115
- # 注意:此字段可能返回 null,表示取不到有效值。
15116
15150
  # @type CommonRsp: :class:`Tencentcloud::Waf.v20180125.models.CommonRspData`
15117
15151
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15118
15152
  # @type RequestId: String
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.1074
4
+ version: 3.0.1089
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-06-04 00:00:00.000000000 Z
11
+ date: 2025-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common