tencentcloud-sdk-waf 3.0.658 → 3.0.660

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0d79a2dce152a4877814ac3ce6e0bcaf624b943
4
- data.tar.gz: cb0e2d85af7a4806eb47b54c5a936dd9424665c3
3
+ metadata.gz: 5971d114ed244cfa20408d135f13c70d4fec6fc2
4
+ data.tar.gz: 24216ff74632fa8b5bc89e23aece64e64998cb0f
5
5
  SHA512:
6
- metadata.gz: 56e1c350d3ec1661cbd07a05249d74067a221e3cc8c0f03002b4caed41785f68914ba67248f878b15882018b7cc3c34ac3a0febe3a35148927a69032d483407a
7
- data.tar.gz: d103f74697b895386b649486deab146fb741c35b3b4e51e5d3ee00e52df8154391a7762837459375a34425d16985f90c9d7ca30040ecda8c482fd03c48c5323d
6
+ metadata.gz: 64cd3ad9d83fc6b707f05295395eaa7c037d8cbd0cd48631298d9e2ceaa1429acd07b420d958022374dade07b90b93472de0b089b3146466a2c4d46070903faa
7
+ data.tar.gz: d450e84f43d0c43605fecc892e786f7137f8f0448bfb856582fc59d0d57dd84fcf7fd9d943c82c04cd9c54dd8463b438b50d5134c1aac13aa55540b6f6e66c19
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.658
1
+ 3.0.660
@@ -1644,6 +1644,30 @@ module TencentCloud
1644
1644
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1645
1645
  end
1646
1646
 
1647
+ # 计费资源购买、续费下单接口
1648
+
1649
+ # @param request: Request instance for GenerateDealsAndPayNew.
1650
+ # @type request: :class:`Tencentcloud::waf::V20180125::GenerateDealsAndPayNewRequest`
1651
+ # @rtype: :class:`Tencentcloud::waf::V20180125::GenerateDealsAndPayNewResponse`
1652
+ def GenerateDealsAndPayNew(request)
1653
+ body = send_request('GenerateDealsAndPayNew', request.serialize)
1654
+ response = JSON.parse(body)
1655
+ if response['Response'].key?('Error') == false
1656
+ model = GenerateDealsAndPayNewResponse.new
1657
+ model.deserialize(response['Response'])
1658
+ model
1659
+ else
1660
+ code = response['Response']['Error']['Code']
1661
+ message = response['Response']['Error']['Message']
1662
+ reqid = response['Response']['RequestId']
1663
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1664
+ end
1665
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1666
+ raise e
1667
+ rescue StandardError => e
1668
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1669
+ end
1670
+
1647
1671
  # 查询下载攻击日志任务记录列表
1648
1672
 
1649
1673
  # @param request: Request instance for GetAttackDownloadRecords.
@@ -1716,6 +1740,30 @@ module TencentCloud
1716
1740
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1717
1741
  end
1718
1742
 
1743
+ # 获取套餐实例的弹性qps上限
1744
+
1745
+ # @param request: Request instance for GetInstanceQpsLimit.
1746
+ # @type request: :class:`Tencentcloud::waf::V20180125::GetInstanceQpsLimitRequest`
1747
+ # @rtype: :class:`Tencentcloud::waf::V20180125::GetInstanceQpsLimitResponse`
1748
+ def GetInstanceQpsLimit(request)
1749
+ body = send_request('GetInstanceQpsLimit', request.serialize)
1750
+ response = JSON.parse(body)
1751
+ if response['Response'].key?('Error') == false
1752
+ model = GetInstanceQpsLimitResponse.new
1753
+ model.deserialize(response['Response'])
1754
+ model
1755
+ else
1756
+ code = response['Response']['Error']['Code']
1757
+ message = response['Response']['Error']['Message']
1758
+ reqid = response['Response']['RequestId']
1759
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1760
+ end
1761
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1762
+ raise e
1763
+ rescue StandardError => e
1764
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1765
+ end
1766
+
1719
1767
  # 本接口用于修改访问日志保存期限及大字段是否存储
1720
1768
 
1721
1769
  # @param request: Request instance for ModifyAccessPeriod.
@@ -670,7 +670,7 @@ module TencentCloud
670
670
  # @type Ports: Array
671
671
  # @param Edition: WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF,cdn-waf表示CDN上的Web防护能力
672
672
  # @type Edition: String
673
- # @param IsKeepAlive: 是否开启长连接,仅IP回源时可以用填次参数,域名回源时这个参数无效
673
+ # @param IsKeepAlive: 是否开启长连接,0 短连接,1 长连接
674
674
  # @type IsKeepAlive: String
675
675
  # @param InstanceID: 实例id,上线之后带上此字段
676
676
  # @type InstanceID: String
@@ -1494,6 +1494,26 @@ module TencentCloud
1494
1494
  end
1495
1495
  end
1496
1496
 
1497
+ # 计费下单响应实体
1498
+ class DealData < TencentCloud::Common::AbstractModel
1499
+ # @param DealNames: 订单号列表,元素个数与请求包的goods数组的元素个数一致,商品详情与订单按顺序对应
1500
+ # @type DealNames: Array
1501
+ # @param BigDealId: 大订单号,一个大订单号下可以有多个子订单,说明是同一次下单[{},{}]
1502
+ # @type BigDealId: String
1503
+
1504
+ attr_accessor :DealNames, :BigDealId
1505
+
1506
+ def initialize(dealnames=nil, bigdealid=nil)
1507
+ @DealNames = dealnames
1508
+ @BigDealId = bigdealid
1509
+ end
1510
+
1511
+ def deserialize(params)
1512
+ @DealNames = params['DealNames']
1513
+ @BigDealId = params['BigDealId']
1514
+ end
1515
+ end
1516
+
1497
1517
  # DeleteAccessExport请求参数结构体
1498
1518
  class DeleteAccessExportRequest < TencentCloud::Common::AbstractModel
1499
1519
  # @param ExportId: 日志导出ID
@@ -4854,6 +4874,22 @@ module TencentCloud
4854
4874
 
4855
4875
  # saas域名详情
4856
4876
  class DomainsPartInfo < TencentCloud::Common::AbstractModel
4877
+ # @param Domain: 域名
4878
+ # @type Domain: String
4879
+ # @param DomainId: 域名id
4880
+ # @type DomainId: String
4881
+ # @param InstanceId: 实例id
4882
+ # @type InstanceId: String
4883
+ # @param Edition: 类型
4884
+ # @type Edition: String
4885
+ # @param InstanceName: 实例名
4886
+ # @type InstanceName: String
4887
+ # @param Cert: 证书
4888
+ # @type Cert: String
4889
+ # @param CreateTime: 创建时间
4890
+ # @type CreateTime: String
4891
+ # @param Engine: AI防御模式
4892
+ # @type Engine: Integer
4857
4893
  # @param HttpsRewrite: 是否开启httpRewrite
4858
4894
  # @type HttpsRewrite: Integer
4859
4895
  # @param HttpsUpstreamPort: https回源端口
@@ -4926,9 +4962,17 @@ module TencentCloud
4926
4962
  # 注意:此字段可能返回 null,表示取不到有效值。
4927
4963
  # @type XFFReset: Integer
4928
4964
 
4929
- attr_accessor :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
4965
+ 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
4930
4966
 
4931
- def initialize(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)
4967
+ 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)
4968
+ @Domain = domain
4969
+ @DomainId = domainid
4970
+ @InstanceId = instanceid
4971
+ @Edition = edition
4972
+ @InstanceName = instancename
4973
+ @Cert = cert
4974
+ @CreateTime = createtime
4975
+ @Engine = engine
4932
4976
  @HttpsRewrite = httpsrewrite
4933
4977
  @HttpsUpstreamPort = httpsupstreamport
4934
4978
  @IsCdn = iscdn
@@ -4962,6 +5006,14 @@ module TencentCloud
4962
5006
  end
4963
5007
 
4964
5008
  def deserialize(params)
5009
+ @Domain = params['Domain']
5010
+ @DomainId = params['DomainId']
5011
+ @InstanceId = params['InstanceId']
5012
+ @Edition = params['Edition']
5013
+ @InstanceName = params['InstanceName']
5014
+ @Cert = params['Cert']
5015
+ @CreateTime = params['CreateTime']
5016
+ @Engine = params['Engine']
4965
5017
  @HttpsRewrite = params['HttpsRewrite']
4966
5018
  @HttpsUpstreamPort = params['HttpsUpstreamPort']
4967
5019
  @IsCdn = params['IsCdn']
@@ -5284,6 +5336,67 @@ module TencentCloud
5284
5336
  end
5285
5337
  end
5286
5338
 
5339
+ # GenerateDealsAndPayNew请求参数结构体
5340
+ class GenerateDealsAndPayNewRequest < TencentCloud::Common::AbstractModel
5341
+ # @param Goods: 计费下单入参
5342
+ # @type Goods: Array
5343
+
5344
+ attr_accessor :Goods
5345
+
5346
+ def initialize(goods=nil)
5347
+ @Goods = goods
5348
+ end
5349
+
5350
+ def deserialize(params)
5351
+ unless params['Goods'].nil?
5352
+ @Goods = []
5353
+ params['Goods'].each do |i|
5354
+ goodnews_tmp = GoodNews.new
5355
+ goodnews_tmp.deserialize(i)
5356
+ @Goods << goodnews_tmp
5357
+ end
5358
+ end
5359
+ end
5360
+ end
5361
+
5362
+ # GenerateDealsAndPayNew返回参数结构体
5363
+ class GenerateDealsAndPayNewResponse < TencentCloud::Common::AbstractModel
5364
+ # @param Data: 计费下单响应结构体
5365
+ # 注意:此字段可能返回 null,表示取不到有效值。
5366
+ # @type Data: :class:`Tencentcloud::Waf.v20180125.models.DealData`
5367
+ # @param Status: 1:成功,0:失败
5368
+ # @type Status: Integer
5369
+ # @param ReturnMessage: 返回message
5370
+ # 注意:此字段可能返回 null,表示取不到有效值。
5371
+ # @type ReturnMessage: String
5372
+ # @param InstanceId: 购买的实例ID
5373
+ # 注意:此字段可能返回 null,表示取不到有效值。
5374
+ # @type InstanceId: String
5375
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5376
+ # @type RequestId: String
5377
+
5378
+ attr_accessor :Data, :Status, :ReturnMessage, :InstanceId, :RequestId
5379
+
5380
+ def initialize(data=nil, status=nil, returnmessage=nil, instanceid=nil, requestid=nil)
5381
+ @Data = data
5382
+ @Status = status
5383
+ @ReturnMessage = returnmessage
5384
+ @InstanceId = instanceid
5385
+ @RequestId = requestid
5386
+ end
5387
+
5388
+ def deserialize(params)
5389
+ unless params['Data'].nil?
5390
+ @Data = DealData.new
5391
+ @Data.deserialize(params['Data'])
5392
+ end
5393
+ @Status = params['Status']
5394
+ @ReturnMessage = params['ReturnMessage']
5395
+ @InstanceId = params['InstanceId']
5396
+ @RequestId = params['RequestId']
5397
+ end
5398
+ end
5399
+
5287
5400
  # GetAttackDownloadRecords请求参数结构体
5288
5401
  class GetAttackDownloadRecordsRequest < TencentCloud::Common::AbstractModel
5289
5402
 
@@ -5433,6 +5546,172 @@ module TencentCloud
5433
5546
  end
5434
5547
  end
5435
5548
 
5549
+ # GetInstanceQpsLimit请求参数结构体
5550
+ class GetInstanceQpsLimitRequest < TencentCloud::Common::AbstractModel
5551
+ # @param InstanceId: 套餐实例id
5552
+ # @type InstanceId: String
5553
+ # @param Type: 套餐类型
5554
+ # @type Type: String
5555
+
5556
+ attr_accessor :InstanceId, :Type
5557
+
5558
+ def initialize(instanceid=nil, type=nil)
5559
+ @InstanceId = instanceid
5560
+ @Type = type
5561
+ end
5562
+
5563
+ def deserialize(params)
5564
+ @InstanceId = params['InstanceId']
5565
+ @Type = params['Type']
5566
+ end
5567
+ end
5568
+
5569
+ # GetInstanceQpsLimit返回参数结构体
5570
+ class GetInstanceQpsLimitResponse < TencentCloud::Common::AbstractModel
5571
+ # @param QpsData: 弹性qps相关值集合
5572
+ # @type QpsData: :class:`Tencentcloud::Waf.v20180125.models.QpsData`
5573
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5574
+ # @type RequestId: String
5575
+
5576
+ attr_accessor :QpsData, :RequestId
5577
+
5578
+ def initialize(qpsdata=nil, requestid=nil)
5579
+ @QpsData = qpsdata
5580
+ @RequestId = requestid
5581
+ end
5582
+
5583
+ def deserialize(params)
5584
+ unless params['QpsData'].nil?
5585
+ @QpsData = QpsData.new
5586
+ @QpsData.deserialize(params['QpsData'])
5587
+ end
5588
+ @RequestId = params['RequestId']
5589
+ end
5590
+ end
5591
+
5592
+ # 计费下单接口出入参Goods
5593
+ class GoodNews < TencentCloud::Common::AbstractModel
5594
+ # @param GoodsNum: 商品数量
5595
+ # @type GoodsNum: Integer
5596
+ # @param GoodsDetail: 商品明细
5597
+ # @type GoodsDetail: :class:`Tencentcloud::Waf.v20180125.models.GoodsDetailNew`
5598
+ # @param GoodsCategoryId: 订单类型ID,用来唯一标识一个业务的一种场景(总共三种场景:新购、配置变更、续费)
5599
+ # 高级版: 102375(新购),102376(续费),102377(变配)
5600
+ # 企业版 : 102378(新购),102379(续费),102380(变配)
5601
+ # 旗舰版 : 102369(新购),102370(续费),102371(变配)
5602
+ # 高级版-CLB: 新购 101198 续费 101199 变配 101200
5603
+ # 企业版-CLB 101204(新购),101205(续费),101206(变配)
5604
+ # 旗舰版-CLB : 101201(新购),101202(续费),101203(变配)
5605
+
5606
+ # 注意:此字段可能返回 null,表示取不到有效值。
5607
+ # @type GoodsCategoryId: Integer
5608
+ # @param RegionId: 购买waf实例区域ID
5609
+ # 1 表示购买大陆资源
5610
+ # 2表示购买非中国大陆资源
5611
+ # 注意:此字段可能返回 null,表示取不到有效值。
5612
+ # @type RegionId: Integer
5613
+
5614
+ attr_accessor :GoodsNum, :GoodsDetail, :GoodsCategoryId, :RegionId
5615
+
5616
+ def initialize(goodsnum=nil, goodsdetail=nil, goodscategoryid=nil, regionid=nil)
5617
+ @GoodsNum = goodsnum
5618
+ @GoodsDetail = goodsdetail
5619
+ @GoodsCategoryId = goodscategoryid
5620
+ @RegionId = regionid
5621
+ end
5622
+
5623
+ def deserialize(params)
5624
+ @GoodsNum = params['GoodsNum']
5625
+ unless params['GoodsDetail'].nil?
5626
+ @GoodsDetail = GoodsDetailNew.new
5627
+ @GoodsDetail.deserialize(params['GoodsDetail'])
5628
+ end
5629
+ @GoodsCategoryId = params['GoodsCategoryId']
5630
+ @RegionId = params['RegionId']
5631
+ end
5632
+ end
5633
+
5634
+ # 产品明细
5635
+ class GoodsDetailNew < TencentCloud::Common::AbstractModel
5636
+ # @param TimeSpan: 时间间隔
5637
+ # 注意:此字段可能返回 null,表示取不到有效值。
5638
+ # @type TimeSpan: Integer
5639
+ # @param TimeUnit: 单位,支持m、y、d
5640
+ # 注意:此字段可能返回 null,表示取不到有效值。
5641
+ # @type TimeUnit: String
5642
+ # @param SubProductCode: 子产品标签,。新购,续费必传,变配时放在oldConfig newConfig里面
5643
+ # 高级版 :sp_wsm_waf_premium
5644
+ # 企业版 :sp_wsm_waf_enterprise
5645
+ # 旗舰版 :sp_wsm_waf_ultimate
5646
+ # 高级版-CLB:sp_wsm_waf_premium_clb
5647
+ # 企业版-CLB : sp_wsm_waf_enterprise_clb
5648
+ # 旗舰版-CLB:sp_wsm_waf_ultimate_clb
5649
+
5650
+ # 注意:此字段可能返回 null,表示取不到有效值。
5651
+ # @type SubProductCode: String
5652
+ # @param Pid: 业务产品申请的pid(对应一个定价公式),通过pid计费查询到定价模型
5653
+ # 高级版 :1000827
5654
+ # 企业版 :1000830
5655
+ # 旗舰版 :1000832
5656
+ # 高级版-CLB:1001150
5657
+ # 企业版-CLB : 1001152
5658
+ # 旗舰版-CLB:1001154
5659
+
5660
+ # 注意:此字段可能返回 null,表示取不到有效值。
5661
+ # @type Pid: Integer
5662
+ # @param InstanceName: waf实例名
5663
+ # 注意:此字段可能返回 null,表示取不到有效值。
5664
+ # @type InstanceName: String
5665
+ # @param AutoRenewFlag: 1:自动续费,0:不自动续费
5666
+ # 注意:此字段可能返回 null,表示取不到有效值。
5667
+ # @type AutoRenewFlag: Integer
5668
+ # @param RealRegion: waf购买的实际地域信息
5669
+ # 注意:此字段可能返回 null,表示取不到有效值。
5670
+ # @type RealRegion: Integer
5671
+ # @param LabelTypes: 计费细项标签数组
5672
+ # 注意:此字段可能返回 null,表示取不到有效值。
5673
+ # @type LabelTypes: Array
5674
+ # @param LabelCounts: 计费细项标签数量,一般和SvLabelType一一对应
5675
+ # 注意:此字段可能返回 null,表示取不到有效值。
5676
+ # @type LabelCounts: Array
5677
+ # @param CurDeadline: 变配使用,实例到期时间
5678
+ # 注意:此字段可能返回 null,表示取不到有效值。
5679
+ # @type CurDeadline: String
5680
+ # @param InstanceId: 对存在的实例购买bot 或api 安全
5681
+ # 注意:此字段可能返回 null,表示取不到有效值。
5682
+ # @type InstanceId: String
5683
+
5684
+ attr_accessor :TimeSpan, :TimeUnit, :SubProductCode, :Pid, :InstanceName, :AutoRenewFlag, :RealRegion, :LabelTypes, :LabelCounts, :CurDeadline, :InstanceId
5685
+
5686
+ def initialize(timespan=nil, timeunit=nil, subproductcode=nil, pid=nil, instancename=nil, autorenewflag=nil, realregion=nil, labeltypes=nil, labelcounts=nil, curdeadline=nil, instanceid=nil)
5687
+ @TimeSpan = timespan
5688
+ @TimeUnit = timeunit
5689
+ @SubProductCode = subproductcode
5690
+ @Pid = pid
5691
+ @InstanceName = instancename
5692
+ @AutoRenewFlag = autorenewflag
5693
+ @RealRegion = realregion
5694
+ @LabelTypes = labeltypes
5695
+ @LabelCounts = labelcounts
5696
+ @CurDeadline = curdeadline
5697
+ @InstanceId = instanceid
5698
+ end
5699
+
5700
+ def deserialize(params)
5701
+ @TimeSpan = params['TimeSpan']
5702
+ @TimeUnit = params['TimeUnit']
5703
+ @SubProductCode = params['SubProductCode']
5704
+ @Pid = params['Pid']
5705
+ @InstanceName = params['InstanceName']
5706
+ @AutoRenewFlag = params['AutoRenewFlag']
5707
+ @RealRegion = params['RealRegion']
5708
+ @LabelTypes = params['LabelTypes']
5709
+ @LabelCounts = params['LabelCounts']
5710
+ @CurDeadline = params['CurDeadline']
5711
+ @InstanceId = params['InstanceId']
5712
+ end
5713
+ end
5714
+
5436
5715
  # CLB-WAF删除域名参数
5437
5716
  class HostDel < TencentCloud::Common::AbstractModel
5438
5717
  # @param Domain: 域名
@@ -7638,6 +7917,43 @@ module TencentCloud
7638
7917
  end
7639
7918
  end
7640
7919
 
7920
+ # 获取弹性qps的默认相关值
7921
+ class QpsData < TencentCloud::Common::AbstractModel
7922
+ # @param ElasticBillingDefault: 弹性qps默认值
7923
+ # 注意:此字段可能返回 null,表示取不到有效值。
7924
+ # @type ElasticBillingDefault: Integer
7925
+ # @param ElasticBillingMin: 弹性qps最小值
7926
+ # 注意:此字段可能返回 null,表示取不到有效值。
7927
+ # @type ElasticBillingMin: Integer
7928
+ # @param ElasticBillingMax: 弹性qps最大值
7929
+ # 注意:此字段可能返回 null,表示取不到有效值。
7930
+ # @type ElasticBillingMax: Integer
7931
+ # @param QPSExtendMax: 业务扩展包最大qps
7932
+ # 注意:此字段可能返回 null,表示取不到有效值。
7933
+ # @type QPSExtendMax: Integer
7934
+ # @param QPSExtendIntlMax: 海外业务扩展包最大qps
7935
+ # 注意:此字段可能返回 null,表示取不到有效值。
7936
+ # @type QPSExtendIntlMax: Integer
7937
+
7938
+ attr_accessor :ElasticBillingDefault, :ElasticBillingMin, :ElasticBillingMax, :QPSExtendMax, :QPSExtendIntlMax
7939
+
7940
+ def initialize(elasticbillingdefault=nil, elasticbillingmin=nil, elasticbillingmax=nil, qpsextendmax=nil, qpsextendintlmax=nil)
7941
+ @ElasticBillingDefault = elasticbillingdefault
7942
+ @ElasticBillingMin = elasticbillingmin
7943
+ @ElasticBillingMax = elasticbillingmax
7944
+ @QPSExtendMax = qpsextendmax
7945
+ @QPSExtendIntlMax = qpsextendintlmax
7946
+ end
7947
+
7948
+ def deserialize(params)
7949
+ @ElasticBillingDefault = params['ElasticBillingDefault']
7950
+ @ElasticBillingMin = params['ElasticBillingMin']
7951
+ @ElasticBillingMax = params['ElasticBillingMax']
7952
+ @QPSExtendMax = params['QPSExtendMax']
7953
+ @QPSExtendIntlMax = params['QPSExtendIntlMax']
7954
+ end
7955
+ end
7956
+
7641
7957
  # RefreshAccessCheckResult请求参数结构体
7642
7958
  class RefreshAccessCheckResultRequest < TencentCloud::Common::AbstractModel
7643
7959
  # @param Domain: 域名
@@ -8040,62 +8356,49 @@ module TencentCloud
8040
8356
  class Strategy < TencentCloud::Common::AbstractModel
8041
8357
  # @param Field: 匹配字段
8042
8358
 
8043
- # 有以下枚举值:
8044
- # IP-来源IP
8045
- # IPV6-来源IPv6
8046
- # Referer-Referer
8047
- # URL-请求路径
8048
- # UserAgent-UserAgent
8049
- # HTTP_METHOD-HTTP请求方法
8050
- # QUERY_STRING-请求字符串
8051
- # GET-GET参数值
8052
- # GET_PARAMS_NAMES-GET参数名
8053
- # POST-POST参数值
8054
- # GET_POST_NAMES-POST参数名
8055
- # POST_BODY-完整BODY
8056
- # COOKIE-Cookie
8057
- # GET_COOKIES_NAMES-Cookie参数名
8058
- # ARGS_COOKIE-Cookie参数值
8059
- # GET_HEADERS_NAMES-Header参数名
8060
- # ARGS_HEADER-Header参数值
8061
-
8359
+ # 匹配字段不同,相应的匹配参数、逻辑符号、匹配内容有所不同
8360
+ # 具体如下所示:
8361
+ # <table><thead><tr><th>匹配字段</th><th>匹配参数</th><th>逻辑符号</th><th>匹配内容</th></tr></thead><tbody><tr><td>IP(来源IP)</td><td>不支持参数</td><td>ipmatch(匹配)<br/>ipnmatch(不匹配)</td><td>多个IP以英文逗号隔开,最多20个</td></tr><tr><td>IPV6(来源IPv6)</td><td>不支持参数</td><td>ipmatch(匹配)<br/>ipnmatch(不匹配)</td><td>支持单个IPV6地址</td></tr><tr><td>Referer(Referer)</td><td>不支持参数</td><td>empty(内容为空)<br/>null(不存在)<br/>eq(等于)<br/>neq(不等于)<br/>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>URL(请求路径)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)<br/>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)<br/></td><td>请以/开头,512个字符以内</td></tr><tr><td>UserAgent(UserAgent)</td><td>不支持参数</td><td>同匹配字段<font color="Red">Referer</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>HTTP_METHOD(HTTP请求方法)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)</td><td>请输入方法名称,建议大写</td></tr><tr><td>QUERY_STRING(请求字符串)</td><td>不支持参数</td><td>同匹配字段<font color="Red">请求路径</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET(GET参数值)</td><td>支持参数录入</td><td>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_PARAMS_NAMES(GET参数名)</td><td>不支持参数</td><td>exsit(存在参数)<br/>nexsit(不存在参数)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>POST(POST参数值)</td><td>支持参数录入</td><td>同匹配字段<font color="Red">GET参数值</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_POST_NAMES(POST参数名)</td><td>不支持参数</td><td>同匹配字段<font color="Red">GET参数名</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>POST_BODY(完整BODY)</td><td>不支持参数</td><td>同匹配字段<font color="Red">请求路径</font>逻辑符号</td><td>请输入BODY内容,512个字符以内</td></tr><tr><td>COOKIE(Cookie)</td><td>不支持参数</td><td>empty(内容为空)<br/>null(不存在)<br/>rematch(正则匹配)</td><td><font color="Red">暂不支持</font></td></tr><tr><td>GET_COOKIES_NAMES(Cookie参数名)</td><td>不支持参数</td><td>同匹配字段<font color="Red">GET参数名</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>ARGS_COOKIE(Cookie参数值)</td><td>支持参数录入</td><td>同匹配字段<font color="Red">GET参数值</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_HEADERS_NAMES(Header参数名)</td><td>不支持参数</td><td>exsit(存在参数)<br/>nexsit(不存在参数)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,建议小写,512个字符以内</td></tr><tr><td>ARGS_HEADER(Header参数值)</td><td>支持参数录入</td><td>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,512个字符以内</td></tr></tbody></table>
8062
8362
  # 注意:此字段可能返回 null,表示取不到有效值。
8063
8363
  # @type Field: String
8064
8364
  # @param CompareFunc: 逻辑符号
8065
8365
 
8066
- # 有以下枚举值:
8067
- # empty - 内容为空
8068
- # null - 不存在
8069
- # eq - 等于
8070
- # neq - 不等于
8071
- # contains - 包含
8072
- # ncontains - 不包含
8073
- # strprefix - 前缀匹配
8074
- # strsuffix - 后缀匹配
8075
- # len_eq - 长度等于
8076
- # len_gt - 长度大于
8077
- # len_lt - 长度小于
8078
- # ipmatch - 属于
8079
- # ipnmatch - 不属于
8366
+ # 逻辑符号一共分为以下几种类型:
8367
+ # empty 内容为空)
8368
+ # null (不存在)
8369
+ # eq 等于)
8370
+ # neq 不等于)
8371
+ # contains 包含)
8372
+ # ncontains 不包含)
8373
+ # strprefix 前缀匹配)
8374
+ # strsuffix 后缀匹配)
8375
+ # len_eq 长度等于)
8376
+ # len_gt 长度大于)
8377
+ # len_lt 长度小于)
8378
+ # ipmatch 属于)
8379
+ # ipnmatch 不属于)
8380
+ # 各匹配字段对应的逻辑符号不同,详见上述匹配字段表格
8080
8381
 
8081
8382
  # 注意:此字段可能返回 null,表示取不到有效值。
8082
8383
  # @type CompareFunc: String
8083
8384
  # @param Content: 匹配内容
8084
8385
 
8085
- # 目前 只有匹配字段为COOKIE-Cookie时,才不需要输入 匹配内容
8386
+ # 目前 当匹配字段为COOKIECookie)时,不需要输入 匹配内容
8086
8387
  # 其他都需要
8087
8388
 
8088
-
8089
8389
  # 注意:此字段可能返回 null,表示取不到有效值。
8090
8390
  # @type Content: String
8091
8391
  # @param Arg: 匹配参数
8092
8392
 
8093
- # 目前 只有匹配字段为以下4个时,匹配参数才能选择,否则置灰无法选择
8393
+ # 配置参数一共分2种类型 不支持参数与支持参数
8394
+ # 当匹配字段为以下4个时,匹配参数才能录入,否则不支持该参数
8395
+ # GET(GET参数值)
8396
+
8397
+ # POST(POST参数值)
8094
8398
 
8095
- # GET-GET参数值
8096
- # POST-POST参数值
8097
- # ARGS_COOKIE-Cookie参数值
8098
- # ARGS_HEADER-Header参数值
8399
+ # ARGS_COOKIE(Cookie参数值)
8400
+
8401
+ # ARGS_HEADER(Header参数值)
8099
8402
 
8100
8403
  # 注意:此字段可能返回 null,表示取不到有效值。
8101
8404
  # @type Arg: String
@@ -8119,11 +8422,16 @@ module TencentCloud
8119
8422
 
8120
8423
  # 防信息泄露的匹配条件结构体
8121
8424
  class StrategyForAntiInfoLeak < TencentCloud::Common::AbstractModel
8122
- # @param Field: 匹配字段
8425
+ # @param Field: 匹配条件,returncode(响应码)、keywords(关键字)、information(敏感信息)
8123
8426
  # @type Field: String
8124
- # @param CompareFunc: 逻辑符号
8427
+ # @param CompareFunc: 逻辑符号,固定取值为contains
8125
8428
  # @type CompareFunc: String
8126
- # @param Content: 匹配内容
8429
+ # @param Content: 匹配内容。
8430
+ # 以下三个对应Field为information时可取的匹配内容:
8431
+ # idcard(身份证)、phone(手机号)、bankcard(银行卡)。
8432
+ # 以下为对应Field为returncode时可取的匹配内容:
8433
+ # 400(状态码400)、403(状态码403)、404(状态码404)、4xx(其它4xx状态码)、500(状态码500)、501(状态码501)、502(状态码502)、504(状态码504)、5xx(其它5xx状态码)。
8434
+ # 当对应Field为keywords时由用户自己输入匹配内容。
8127
8435
  # @type Content: String
8128
8436
 
8129
8437
  attr_accessor :Field, :CompareFunc, :Content
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.658
4
+ version: 3.0.660
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-13 00:00:00.000000000 Z
11
+ date: 2023-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common