tencentcloud-sdk-waf 3.0.1166 → 3.0.1169
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 +184 -19
- 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: 0a21bc8f3050b61a9a31a2b1cad24cc011768bc4
|
|
4
|
+
data.tar.gz: fee8c1e5d7a0ab1d3ab3593c1cc1fa9af3d83364
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51a0f85222bc7743e5b7c770c5f695642fb59de0fc1da885816bf075a930655d6e92591c729c11e198d6961f17f55b02bc7f62c4061b582df676365bad19fb42
|
|
7
|
+
data.tar.gz: 412d4f70ea6e7e76a7a91f746445518c9bf30b7be263975cabe0c30f4d71202f38587a3a1a2d4686501f7b7a7f9572d524894bdd2d98e1a7fce5f928713eaafc
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1169
|
data/lib/v20180125/models.rb
CHANGED
|
@@ -2375,10 +2375,26 @@ module TencentCloud
|
|
|
2375
2375
|
# @type PageId: String
|
|
2376
2376
|
# @param ActionRatio: 动作灰度比例,默认值100
|
|
2377
2377
|
# @type ActionRatio: Integer
|
|
2378
|
+
# @param Domains: 批量cc规则配置的批量域名
|
|
2379
|
+
# @type Domains: Array
|
|
2380
|
+
# @param GroupIds: 批量cc规则使用的批量防护组
|
|
2381
|
+
# @type GroupIds: Array
|
|
2382
|
+
# @param JobType: 定时任务类型
|
|
2383
|
+
# @type JobType: String
|
|
2384
|
+
# @param JobDateTime: 定时任务配置
|
|
2385
|
+
# @type JobDateTime: :class:`Tencentcloud::Waf.v20180125.models.JobDateTime`
|
|
2386
|
+
# @param CronType: 定时任务类型:month or week
|
|
2387
|
+
# @type CronType: String
|
|
2388
|
+
# @param ExpireTime: 过期时间
|
|
2389
|
+
# @type ExpireTime: Integer
|
|
2390
|
+
# @param ValidStatus: 是否生效
|
|
2391
|
+
# @type ValidStatus: Integer
|
|
2392
|
+
# @param Source: 来源:批量还是单个规则
|
|
2393
|
+
# @type Source: String
|
|
2378
2394
|
|
|
2379
|
-
attr_accessor :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :TsVersion, :Options, :RuleId, :EventId, :SessionApplied, :CreateTime, :LimitMethod, :CelRule, :LogicalOp, :PageId, :ActionRatio
|
|
2395
|
+
attr_accessor :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :TsVersion, :Options, :RuleId, :EventId, :SessionApplied, :CreateTime, :LimitMethod, :CelRule, :LogicalOp, :PageId, :ActionRatio, :Domains, :GroupIds, :JobType, :JobDateTime, :CronType, :ExpireTime, :ValidStatus, :Source
|
|
2380
2396
|
|
|
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)
|
|
2397
|
+
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, domains=nil, groupids=nil, jobtype=nil, jobdatetime=nil, crontype=nil, expiretime=nil, validstatus=nil, source=nil)
|
|
2382
2398
|
@Name = name
|
|
2383
2399
|
@Status = status
|
|
2384
2400
|
@Advance = advance
|
|
@@ -2400,6 +2416,14 @@ module TencentCloud
|
|
|
2400
2416
|
@LogicalOp = logicalop
|
|
2401
2417
|
@PageId = pageid
|
|
2402
2418
|
@ActionRatio = actionratio
|
|
2419
|
+
@Domains = domains
|
|
2420
|
+
@GroupIds = groupids
|
|
2421
|
+
@JobType = jobtype
|
|
2422
|
+
@JobDateTime = jobdatetime
|
|
2423
|
+
@CronType = crontype
|
|
2424
|
+
@ExpireTime = expiretime
|
|
2425
|
+
@ValidStatus = validstatus
|
|
2426
|
+
@Source = source
|
|
2403
2427
|
end
|
|
2404
2428
|
|
|
2405
2429
|
def deserialize(params)
|
|
@@ -2424,6 +2448,17 @@ module TencentCloud
|
|
|
2424
2448
|
@LogicalOp = params['LogicalOp']
|
|
2425
2449
|
@PageId = params['PageId']
|
|
2426
2450
|
@ActionRatio = params['ActionRatio']
|
|
2451
|
+
@Domains = params['Domains']
|
|
2452
|
+
@GroupIds = params['GroupIds']
|
|
2453
|
+
@JobType = params['JobType']
|
|
2454
|
+
unless params['JobDateTime'].nil?
|
|
2455
|
+
@JobDateTime = JobDateTime.new
|
|
2456
|
+
@JobDateTime.deserialize(params['JobDateTime'])
|
|
2457
|
+
end
|
|
2458
|
+
@CronType = params['CronType']
|
|
2459
|
+
@ExpireTime = params['ExpireTime']
|
|
2460
|
+
@ValidStatus = params['ValidStatus']
|
|
2461
|
+
@Source = params['Source']
|
|
2427
2462
|
end
|
|
2428
2463
|
end
|
|
2429
2464
|
|
|
@@ -2433,12 +2468,18 @@ module TencentCloud
|
|
|
2433
2468
|
# @type TotalCount: Integer
|
|
2434
2469
|
# @param Res: 规则
|
|
2435
2470
|
# @type Res: Array
|
|
2471
|
+
# @param Limit: 规则限制总数
|
|
2472
|
+
# @type Limit: Integer
|
|
2473
|
+
# @param Available: 规则剩余多少可用
|
|
2474
|
+
# @type Available: Integer
|
|
2436
2475
|
|
|
2437
|
-
attr_accessor :TotalCount, :Res
|
|
2476
|
+
attr_accessor :TotalCount, :Res, :Limit, :Available
|
|
2438
2477
|
|
|
2439
|
-
def initialize(totalcount=nil, res=nil)
|
|
2478
|
+
def initialize(totalcount=nil, res=nil, limit=nil, available=nil)
|
|
2440
2479
|
@TotalCount = totalcount
|
|
2441
2480
|
@Res = res
|
|
2481
|
+
@Limit = limit
|
|
2482
|
+
@Available = available
|
|
2442
2483
|
end
|
|
2443
2484
|
|
|
2444
2485
|
def deserialize(params)
|
|
@@ -2451,6 +2492,8 @@ module TencentCloud
|
|
|
2451
2492
|
@Res << ccruleitems_tmp
|
|
2452
2493
|
end
|
|
2453
2494
|
end
|
|
2495
|
+
@Limit = params['Limit']
|
|
2496
|
+
@Available = params['Available']
|
|
2454
2497
|
end
|
|
2455
2498
|
end
|
|
2456
2499
|
|
|
@@ -3432,10 +3475,12 @@ module TencentCloud
|
|
|
3432
3475
|
# @type ExpireTime: Integer
|
|
3433
3476
|
# @param Status: 规则状态,0:关闭、1:开启,默认为开启
|
|
3434
3477
|
# @type Status: Integer
|
|
3478
|
+
# @param LogicalOp: 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
|
3479
|
+
# @type LogicalOp: String
|
|
3435
3480
|
|
|
3436
|
-
attr_accessor :Name, :Domain, :Strategies, :Ids, :Type, :JobType, :JobDateTime, :ExpireTime, :Status
|
|
3481
|
+
attr_accessor :Name, :Domain, :Strategies, :Ids, :Type, :JobType, :JobDateTime, :ExpireTime, :Status, :LogicalOp
|
|
3437
3482
|
|
|
3438
|
-
def initialize(name=nil, domain=nil, strategies=nil, ids=nil, type=nil, jobtype=nil, jobdatetime=nil, expiretime=nil, status=nil)
|
|
3483
|
+
def initialize(name=nil, domain=nil, strategies=nil, ids=nil, type=nil, jobtype=nil, jobdatetime=nil, expiretime=nil, status=nil, logicalop=nil)
|
|
3439
3484
|
@Name = name
|
|
3440
3485
|
@Domain = domain
|
|
3441
3486
|
@Strategies = strategies
|
|
@@ -3445,6 +3490,7 @@ module TencentCloud
|
|
|
3445
3490
|
@JobDateTime = jobdatetime
|
|
3446
3491
|
@ExpireTime = expiretime
|
|
3447
3492
|
@Status = status
|
|
3493
|
+
@LogicalOp = logicalop
|
|
3448
3494
|
end
|
|
3449
3495
|
|
|
3450
3496
|
def deserialize(params)
|
|
@@ -3467,6 +3513,7 @@ module TencentCloud
|
|
|
3467
3513
|
end
|
|
3468
3514
|
@ExpireTime = params['ExpireTime']
|
|
3469
3515
|
@Status = params['Status']
|
|
3516
|
+
@LogicalOp = params['LogicalOp']
|
|
3470
3517
|
end
|
|
3471
3518
|
end
|
|
3472
3519
|
|
|
@@ -9465,7 +9512,21 @@ module TencentCloud
|
|
|
9465
9512
|
# @type LoadBalancerSet: Array
|
|
9466
9513
|
# @param AppId: 用户id
|
|
9467
9514
|
# @type AppId: Integer
|
|
9468
|
-
# @param State:
|
|
9515
|
+
# @param State: SAAS型WAF域名状态:
|
|
9516
|
+
# -2:配置下发失败
|
|
9517
|
+
# -1:配置下发中
|
|
9518
|
+
# 0:DNS解析中
|
|
9519
|
+
# 1:无DNS解析记录,请接入WAF
|
|
9520
|
+
# 10:DNS解析未知,域名启用了代理
|
|
9521
|
+
# 11:DNS解析异常,使用A记录接入WAF IP
|
|
9522
|
+
# 200:检测源站不可达
|
|
9523
|
+
# 220:源站不支持长连接
|
|
9524
|
+
# 311:证书过期
|
|
9525
|
+
# 312:证书即将过期
|
|
9526
|
+
# 310:证书异常
|
|
9527
|
+
# 316:备案异常
|
|
9528
|
+
# 5:WAF回源已变更
|
|
9529
|
+
# 负载均衡型WAF域名LB监听器状态:
|
|
9469
9530
|
# 0:操作成功
|
|
9470
9531
|
# 4:正在绑定LB
|
|
9471
9532
|
# 6:正在解绑LB
|
|
@@ -9867,13 +9928,35 @@ module TencentCloud
|
|
|
9867
9928
|
# @type UseCase: Integer
|
|
9868
9929
|
# @param Gzip: gzip开关。0:关闭 1:默认值,打开。
|
|
9869
9930
|
# @type Gzip: Integer
|
|
9931
|
+
# @param State: SAAS型WAF域名状态:
|
|
9932
|
+
# -2:配置下发失败
|
|
9933
|
+
# -1:配置下发中
|
|
9934
|
+
# 0:DNS解析中
|
|
9935
|
+
# 1:无DNS解析记录,请接入WAF
|
|
9936
|
+
# 10:DNS解析未知,域名启用了代理
|
|
9937
|
+
# 11:DNS解析异常,使用A记录接入WAF IP
|
|
9938
|
+
# 200:检测源站不可达
|
|
9939
|
+
# 220:源站不支持长连接
|
|
9940
|
+
# 311:证书过期
|
|
9941
|
+
# 312:证书即将过期
|
|
9942
|
+
# 310:证书异常
|
|
9943
|
+
# 316:备案异常
|
|
9944
|
+
# 5:WAF回源已变更
|
|
9945
|
+
# 负载均衡型WAF域名LB监听器状态:
|
|
9946
|
+
# 0:操作成功
|
|
9947
|
+
# 4:正在绑定LB
|
|
9948
|
+
# 6:正在解绑LB
|
|
9949
|
+
# 7:解绑LB失败
|
|
9950
|
+
# 8:绑定LB失败
|
|
9951
|
+
# 10:内部错误
|
|
9952
|
+
# @type State: Integer
|
|
9870
9953
|
|
|
9871
|
-
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
|
|
9954
|
+
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, :State
|
|
9872
9955
|
extend Gem::Deprecate
|
|
9873
9956
|
deprecate :IsGray, :none, 2025, 11
|
|
9874
9957
|
deprecate :IsGray=, :none, 2025, 11
|
|
9875
9958
|
|
|
9876
|
-
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)
|
|
9959
|
+
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, state=nil)
|
|
9877
9960
|
@Domain = domain
|
|
9878
9961
|
@DomainId = domainid
|
|
9879
9962
|
@InstanceId = instanceid
|
|
@@ -9930,6 +10013,7 @@ module TencentCloud
|
|
|
9930
10013
|
@UpstreamRules = upstreamrules
|
|
9931
10014
|
@UseCase = usecase
|
|
9932
10015
|
@Gzip = gzip
|
|
10016
|
+
@State = state
|
|
9933
10017
|
end
|
|
9934
10018
|
|
|
9935
10019
|
def deserialize(params)
|
|
@@ -10003,6 +10087,7 @@ module TencentCloud
|
|
|
10003
10087
|
end
|
|
10004
10088
|
@UseCase = params['UseCase']
|
|
10005
10089
|
@Gzip = params['Gzip']
|
|
10090
|
+
@State = params['State']
|
|
10006
10091
|
end
|
|
10007
10092
|
end
|
|
10008
10093
|
|
|
@@ -11548,10 +11633,14 @@ module TencentCloud
|
|
|
11548
11633
|
# @type LLMPkg: :class:`Tencentcloud::Waf.v20180125.models.LLMPkg`
|
|
11549
11634
|
# @param ElasticResourceId: 弹性资源Id
|
|
11550
11635
|
# @type ElasticResourceId: String
|
|
11636
|
+
# @param LLMMonPkg: 预付费大模型安全信息包
|
|
11637
|
+
# @type LLMMonPkg: :class:`Tencentcloud::Waf.v20180125.models.LLMMonPkg`
|
|
11638
|
+
# @param RegionId: 地域id
|
|
11639
|
+
# @type RegionId: Integer
|
|
11551
11640
|
|
|
11552
|
-
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
|
|
11641
|
+
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, :LLMMonPkg, :RegionId
|
|
11553
11642
|
|
|
11554
|
-
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)
|
|
11643
|
+
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, llmmonpkg=nil, regionid=nil)
|
|
11555
11644
|
@InstanceId = instanceid
|
|
11556
11645
|
@InstanceName = instancename
|
|
11557
11646
|
@ResourceIds = resourceids
|
|
@@ -11602,6 +11691,8 @@ module TencentCloud
|
|
|
11602
11691
|
@ExceedPolicy = exceedpolicy
|
|
11603
11692
|
@LLMPkg = llmpkg
|
|
11604
11693
|
@ElasticResourceId = elasticresourceid
|
|
11694
|
+
@LLMMonPkg = llmmonpkg
|
|
11695
|
+
@RegionId = regionid
|
|
11605
11696
|
end
|
|
11606
11697
|
|
|
11607
11698
|
def deserialize(params)
|
|
@@ -11697,6 +11788,11 @@ module TencentCloud
|
|
|
11697
11788
|
@LLMPkg.deserialize(params['LLMPkg'])
|
|
11698
11789
|
end
|
|
11699
11790
|
@ElasticResourceId = params['ElasticResourceId']
|
|
11791
|
+
unless params['LLMMonPkg'].nil?
|
|
11792
|
+
@LLMMonPkg = LLMMonPkg.new
|
|
11793
|
+
@LLMMonPkg.deserialize(params['LLMMonPkg'])
|
|
11794
|
+
end
|
|
11795
|
+
@RegionId = params['RegionId']
|
|
11700
11796
|
end
|
|
11701
11797
|
end
|
|
11702
11798
|
|
|
@@ -11977,6 +12073,55 @@ module TencentCloud
|
|
|
11977
12073
|
end
|
|
11978
12074
|
end
|
|
11979
12075
|
|
|
12076
|
+
# 有效预付费大模型安全包信息
|
|
12077
|
+
class LLMMonPkg < TencentCloud::Common::AbstractModel
|
|
12078
|
+
# @param ResourceIds: 资源id
|
|
12079
|
+
# @type ResourceIds: String
|
|
12080
|
+
# @param Status: 状态
|
|
12081
|
+
# @type Status: Integer
|
|
12082
|
+
# @param Region: 地域
|
|
12083
|
+
# @type Region: Integer
|
|
12084
|
+
# @param BeginTime: 开始时间
|
|
12085
|
+
# @type BeginTime: String
|
|
12086
|
+
# @param EndTime: 结束时间
|
|
12087
|
+
# @type EndTime: String
|
|
12088
|
+
# @param InquireKey: 计费项
|
|
12089
|
+
# @type InquireKey: String
|
|
12090
|
+
# @param RenewFlag: 预付费大模型安全续费标识
|
|
12091
|
+
# 0 手动续费;1自动续费;2 到期不续
|
|
12092
|
+
# @type RenewFlag: Integer
|
|
12093
|
+
# @param UseToken: 大模型安全Token使用量
|
|
12094
|
+
# @type UseToken: Integer
|
|
12095
|
+
# @param InstanceId: 实例id
|
|
12096
|
+
# @type InstanceId: String
|
|
12097
|
+
|
|
12098
|
+
attr_accessor :ResourceIds, :Status, :Region, :BeginTime, :EndTime, :InquireKey, :RenewFlag, :UseToken, :InstanceId
|
|
12099
|
+
|
|
12100
|
+
def initialize(resourceids=nil, status=nil, region=nil, begintime=nil, endtime=nil, inquirekey=nil, renewflag=nil, usetoken=nil, instanceid=nil)
|
|
12101
|
+
@ResourceIds = resourceids
|
|
12102
|
+
@Status = status
|
|
12103
|
+
@Region = region
|
|
12104
|
+
@BeginTime = begintime
|
|
12105
|
+
@EndTime = endtime
|
|
12106
|
+
@InquireKey = inquirekey
|
|
12107
|
+
@RenewFlag = renewflag
|
|
12108
|
+
@UseToken = usetoken
|
|
12109
|
+
@InstanceId = instanceid
|
|
12110
|
+
end
|
|
12111
|
+
|
|
12112
|
+
def deserialize(params)
|
|
12113
|
+
@ResourceIds = params['ResourceIds']
|
|
12114
|
+
@Status = params['Status']
|
|
12115
|
+
@Region = params['Region']
|
|
12116
|
+
@BeginTime = params['BeginTime']
|
|
12117
|
+
@EndTime = params['EndTime']
|
|
12118
|
+
@InquireKey = params['InquireKey']
|
|
12119
|
+
@RenewFlag = params['RenewFlag']
|
|
12120
|
+
@UseToken = params['UseToken']
|
|
12121
|
+
@InstanceId = params['InstanceId']
|
|
12122
|
+
end
|
|
12123
|
+
end
|
|
12124
|
+
|
|
11980
12125
|
# 有效大模型安全包信息
|
|
11981
12126
|
class LLMPkg < TencentCloud::Common::AbstractModel
|
|
11982
12127
|
# @param ResourceIds: 资源id
|
|
@@ -14576,10 +14721,12 @@ module TencentCloud
|
|
|
14576
14721
|
# @type ExpireTime: Integer
|
|
14577
14722
|
# @param Status: 规则状态,0:关闭、1:开启,默认为开启
|
|
14578
14723
|
# @type Status: Integer
|
|
14724
|
+
# @param LogicalOp: 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
|
14725
|
+
# @type LogicalOp: String
|
|
14579
14726
|
|
|
14580
|
-
attr_accessor :RuleId, :Name, :Domain, :Strategies, :Ids, :Type, :JobType, :JobDateTime, :ExpireTime, :Status
|
|
14727
|
+
attr_accessor :RuleId, :Name, :Domain, :Strategies, :Ids, :Type, :JobType, :JobDateTime, :ExpireTime, :Status, :LogicalOp
|
|
14581
14728
|
|
|
14582
|
-
def initialize(ruleid=nil, name=nil, domain=nil, strategies=nil, ids=nil, type=nil, jobtype=nil, jobdatetime=nil, expiretime=nil, status=nil)
|
|
14729
|
+
def initialize(ruleid=nil, name=nil, domain=nil, strategies=nil, ids=nil, type=nil, jobtype=nil, jobdatetime=nil, expiretime=nil, status=nil, logicalop=nil)
|
|
14583
14730
|
@RuleId = ruleid
|
|
14584
14731
|
@Name = name
|
|
14585
14732
|
@Domain = domain
|
|
@@ -14590,6 +14737,7 @@ module TencentCloud
|
|
|
14590
14737
|
@JobDateTime = jobdatetime
|
|
14591
14738
|
@ExpireTime = expiretime
|
|
14592
14739
|
@Status = status
|
|
14740
|
+
@LogicalOp = logicalop
|
|
14593
14741
|
end
|
|
14594
14742
|
|
|
14595
14743
|
def deserialize(params)
|
|
@@ -14613,6 +14761,7 @@ module TencentCloud
|
|
|
14613
14761
|
end
|
|
14614
14762
|
@ExpireTime = params['ExpireTime']
|
|
14615
14763
|
@Status = params['Status']
|
|
14764
|
+
@LogicalOp = params['LogicalOp']
|
|
14616
14765
|
end
|
|
14617
14766
|
end
|
|
14618
14767
|
|
|
@@ -15495,10 +15644,12 @@ module TencentCloud
|
|
|
15495
15644
|
# @type CronType: String
|
|
15496
15645
|
# @param ValidStatus: 当前是否有效
|
|
15497
15646
|
# @type ValidStatus: Boolean
|
|
15647
|
+
# @param LogicalOp: 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
|
15648
|
+
# @type LogicalOp: String
|
|
15498
15649
|
|
|
15499
|
-
attr_accessor :RuleId, :Name, :Ids, :Status, :Type, :Strategies, :CreateTime, :UpdateTime, :JobType, :JobDateTime, :CronType, :ValidStatus
|
|
15650
|
+
attr_accessor :RuleId, :Name, :Ids, :Status, :Type, :Strategies, :CreateTime, :UpdateTime, :JobType, :JobDateTime, :CronType, :ValidStatus, :LogicalOp
|
|
15500
15651
|
|
|
15501
|
-
def initialize(ruleid=nil, name=nil, ids=nil, status=nil, type=nil, strategies=nil, createtime=nil, updatetime=nil, jobtype=nil, jobdatetime=nil, crontype=nil, validstatus=nil)
|
|
15652
|
+
def initialize(ruleid=nil, name=nil, ids=nil, status=nil, type=nil, strategies=nil, createtime=nil, updatetime=nil, jobtype=nil, jobdatetime=nil, crontype=nil, validstatus=nil, logicalop=nil)
|
|
15502
15653
|
@RuleId = ruleid
|
|
15503
15654
|
@Name = name
|
|
15504
15655
|
@Ids = ids
|
|
@@ -15511,6 +15662,7 @@ module TencentCloud
|
|
|
15511
15662
|
@JobDateTime = jobdatetime
|
|
15512
15663
|
@CronType = crontype
|
|
15513
15664
|
@ValidStatus = validstatus
|
|
15665
|
+
@LogicalOp = logicalop
|
|
15514
15666
|
end
|
|
15515
15667
|
|
|
15516
15668
|
def deserialize(params)
|
|
@@ -15536,6 +15688,7 @@ module TencentCloud
|
|
|
15536
15688
|
end
|
|
15537
15689
|
@CronType = params['CronType']
|
|
15538
15690
|
@ValidStatus = params['ValidStatus']
|
|
15691
|
+
@LogicalOp = params['LogicalOp']
|
|
15539
15692
|
end
|
|
15540
15693
|
end
|
|
15541
15694
|
|
|
@@ -17612,10 +17765,12 @@ module TencentCloud
|
|
|
17612
17765
|
# @type PageId: String
|
|
17613
17766
|
# @param ActionRatio: 动作灰度比例,默认值100
|
|
17614
17767
|
# @type ActionRatio: Integer
|
|
17768
|
+
# @param Source: 规则来源
|
|
17769
|
+
# @type Source: String
|
|
17615
17770
|
|
|
17616
|
-
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
|
|
17771
|
+
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, :Source
|
|
17617
17772
|
|
|
17618
|
-
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)
|
|
17773
|
+
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, source=nil)
|
|
17619
17774
|
@Domain = domain
|
|
17620
17775
|
@Name = name
|
|
17621
17776
|
@Status = status
|
|
@@ -17640,6 +17795,7 @@ module TencentCloud
|
|
|
17640
17795
|
@LogicalOp = logicalop
|
|
17641
17796
|
@PageId = pageid
|
|
17642
17797
|
@ActionRatio = actionratio
|
|
17798
|
+
@Source = source
|
|
17643
17799
|
end
|
|
17644
17800
|
|
|
17645
17801
|
def deserialize(params)
|
|
@@ -17667,6 +17823,7 @@ module TencentCloud
|
|
|
17667
17823
|
@LogicalOp = params['LogicalOp']
|
|
17668
17824
|
@PageId = params['PageId']
|
|
17669
17825
|
@ActionRatio = params['ActionRatio']
|
|
17826
|
+
@Source = params['Source']
|
|
17670
17827
|
end
|
|
17671
17828
|
end
|
|
17672
17829
|
|
|
@@ -18180,10 +18337,14 @@ module TencentCloud
|
|
|
18180
18337
|
# @type ClientMsg: Integer
|
|
18181
18338
|
# @param TrafficMarking: 流量标记的规格
|
|
18182
18339
|
# @type TrafficMarking: Integer
|
|
18340
|
+
# @param BatchCC: 批量cc
|
|
18341
|
+
# @type BatchCC: Integer
|
|
18342
|
+
# @param BatchSession: 批量session
|
|
18343
|
+
# @type BatchSession: Integer
|
|
18183
18344
|
|
|
18184
|
-
attr_accessor :CC, :CustomRule, :IPControl, :AntiLeak, :AntiTamper, :AutoCC, :AreaBan, :CCSession, :AI, :CustomWhite, :ApiSecurity, :ClientMsg, :TrafficMarking
|
|
18345
|
+
attr_accessor :CC, :CustomRule, :IPControl, :AntiLeak, :AntiTamper, :AutoCC, :AreaBan, :CCSession, :AI, :CustomWhite, :ApiSecurity, :ClientMsg, :TrafficMarking, :BatchCC, :BatchSession
|
|
18185
18346
|
|
|
18186
|
-
def initialize(cc=nil, customrule=nil, ipcontrol=nil, antileak=nil, antitamper=nil, autocc=nil, areaban=nil, ccsession=nil, ai=nil, customwhite=nil, apisecurity=nil, clientmsg=nil, trafficmarking=nil)
|
|
18347
|
+
def initialize(cc=nil, customrule=nil, ipcontrol=nil, antileak=nil, antitamper=nil, autocc=nil, areaban=nil, ccsession=nil, ai=nil, customwhite=nil, apisecurity=nil, clientmsg=nil, trafficmarking=nil, batchcc=nil, batchsession=nil)
|
|
18187
18348
|
@CC = cc
|
|
18188
18349
|
@CustomRule = customrule
|
|
18189
18350
|
@IPControl = ipcontrol
|
|
@@ -18197,6 +18358,8 @@ module TencentCloud
|
|
|
18197
18358
|
@ApiSecurity = apisecurity
|
|
18198
18359
|
@ClientMsg = clientmsg
|
|
18199
18360
|
@TrafficMarking = trafficmarking
|
|
18361
|
+
@BatchCC = batchcc
|
|
18362
|
+
@BatchSession = batchsession
|
|
18200
18363
|
end
|
|
18201
18364
|
|
|
18202
18365
|
def deserialize(params)
|
|
@@ -18213,6 +18376,8 @@ module TencentCloud
|
|
|
18213
18376
|
@ApiSecurity = params['ApiSecurity']
|
|
18214
18377
|
@ClientMsg = params['ClientMsg']
|
|
18215
18378
|
@TrafficMarking = params['TrafficMarking']
|
|
18379
|
+
@BatchCC = params['BatchCC']
|
|
18380
|
+
@BatchSession = params['BatchSession']
|
|
18216
18381
|
end
|
|
18217
18382
|
end
|
|
18218
18383
|
|
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.1169
|
|
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-
|
|
11
|
+
date: 2025-11-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|