tencentcloud-sdk-waf 3.0.635 → 3.0.636
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 +42 -13
- 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: 780ecb1513591ab06c13d9badd5f55d50d75b23f
|
4
|
+
data.tar.gz: babda972a25b74ef91bd32e17c96f462eb151b1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a05ba7ff9870065a00818352967852ea04da4e88dc93d6c8d3b32e18b42fe62ad87fdbe444978e228800b026bcac072282457774a69f1d0a9c43c4f4087214cf
|
7
|
+
data.tar.gz: ee022a67db23b9921561b4013876eca7ba896125a29558caee95742ec8aa8ae10ad9c7a10d9b32bf0d25f0eba703227b512804fbe4adc7d89e924c955315cc24
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.636
|
data/lib/v20180125/models.rb
CHANGED
@@ -541,9 +541,9 @@ module TencentCloud
|
|
541
541
|
# @type UpstreamType: Integer
|
542
542
|
# @param IsWebsocket: 是否开启WebSocket支持,1表示开启,0不开启
|
543
543
|
# @type IsWebsocket: Integer
|
544
|
-
# @param LoadBalance: 负载均衡策略,0
|
544
|
+
# @param LoadBalance: 负载均衡策略,0表示轮询,1表示IP hash
|
545
545
|
# @type LoadBalance: String
|
546
|
-
# @param Cert:
|
546
|
+
# @param Cert: 值为1时,需要填次参数,表示证书内容
|
547
547
|
# @type Cert: String
|
548
548
|
# @param PrivateKey: CertType=1时,需要填次参数,表示证书的私钥
|
549
549
|
# @type PrivateKey: String
|
@@ -597,10 +597,12 @@ module TencentCloud
|
|
597
597
|
# @type SniHost: String
|
598
598
|
# @param IpHeaders: is_cdn=3时,需要填此参数,表示自定义header
|
599
599
|
# @type IpHeaders: Array
|
600
|
+
# @param XFFReset: 0:关闭xff重置;1:开启xff重置
|
601
|
+
# @type XFFReset: Integer
|
600
602
|
|
601
|
-
attr_accessor :Domain, :CertType, :IsCdn, :UpstreamType, :IsWebsocket, :LoadBalance, :Cert, :PrivateKey, :SSLId, :ResourceId, :UpstreamScheme, :HttpsUpstreamPort, :IsGray, :GrayAreas, :UpstreamDomain, :SrcList, :IsHttp2, :HttpsRewrite, :Ports, :Edition, :IsKeepAlive, :InstanceID, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :Ciphers, :CipherTemplate, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :IpHeaders
|
603
|
+
attr_accessor :Domain, :CertType, :IsCdn, :UpstreamType, :IsWebsocket, :LoadBalance, :Cert, :PrivateKey, :SSLId, :ResourceId, :UpstreamScheme, :HttpsUpstreamPort, :IsGray, :GrayAreas, :UpstreamDomain, :SrcList, :IsHttp2, :HttpsRewrite, :Ports, :Edition, :IsKeepAlive, :InstanceID, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :Ciphers, :CipherTemplate, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :IpHeaders, :XFFReset
|
602
604
|
|
603
|
-
def initialize(domain=nil, certtype=nil, iscdn=nil, upstreamtype=nil, iswebsocket=nil, loadbalance=nil, cert=nil, privatekey=nil, sslid=nil, resourceid=nil, upstreamscheme=nil, httpsupstreamport=nil, isgray=nil, grayareas=nil, upstreamdomain=nil, srclist=nil, ishttp2=nil, httpsrewrite=nil, ports=nil, edition=nil, iskeepalive=nil, instanceid=nil, anycast=nil, weights=nil, activecheck=nil, tlsversion=nil, ciphers=nil, ciphertemplate=nil, proxyreadtimeout=nil, proxysendtimeout=nil, snitype=nil, snihost=nil, ipheaders=nil)
|
605
|
+
def initialize(domain=nil, certtype=nil, iscdn=nil, upstreamtype=nil, iswebsocket=nil, loadbalance=nil, cert=nil, privatekey=nil, sslid=nil, resourceid=nil, upstreamscheme=nil, httpsupstreamport=nil, isgray=nil, grayareas=nil, upstreamdomain=nil, srclist=nil, ishttp2=nil, httpsrewrite=nil, ports=nil, edition=nil, iskeepalive=nil, instanceid=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)
|
604
606
|
@Domain = domain
|
605
607
|
@CertType = certtype
|
606
608
|
@IsCdn = iscdn
|
@@ -634,6 +636,7 @@ module TencentCloud
|
|
634
636
|
@SniType = snitype
|
635
637
|
@SniHost = snihost
|
636
638
|
@IpHeaders = ipheaders
|
639
|
+
@XFFReset = xffreset
|
637
640
|
end
|
638
641
|
|
639
642
|
def deserialize(params)
|
@@ -677,6 +680,7 @@ module TencentCloud
|
|
677
680
|
@SniType = params['SniType']
|
678
681
|
@SniHost = params['SniHost']
|
679
682
|
@IpHeaders = params['IpHeaders']
|
683
|
+
@XFFReset = params['XFFReset']
|
680
684
|
end
|
681
685
|
end
|
682
686
|
|
@@ -2056,7 +2060,7 @@ module TencentCloud
|
|
2056
2060
|
|
2057
2061
|
# DescribeInstances请求参数结构体
|
2058
2062
|
class DescribeInstancesRequest < TencentCloud::Common::AbstractModel
|
2059
|
-
# @param Offset:
|
2063
|
+
# @param Offset: 偏移量
|
2060
2064
|
# @type Offset: Integer
|
2061
2065
|
# @param Limit: 容量
|
2062
2066
|
# @type Limit: Integer
|
@@ -2900,14 +2904,19 @@ module TencentCloud
|
|
2900
2904
|
# clb-waf 域名扩展套餐
|
2901
2905
|
class DomainPackageNew < TencentCloud::Common::AbstractModel
|
2902
2906
|
# @param ResourceIds: 资源ID
|
2907
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2903
2908
|
# @type ResourceIds: String
|
2904
2909
|
# @param ValidTime: 过期时间
|
2910
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2905
2911
|
# @type ValidTime: String
|
2906
2912
|
# @param RenewFlag: 是否自动续费,1:自动续费,0:不自动续费
|
2913
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2907
2914
|
# @type RenewFlag: Integer
|
2908
2915
|
# @param Count: 套餐购买个数
|
2916
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2909
2917
|
# @type Count: Integer
|
2910
2918
|
# @param Region: 套餐购买地域,clb-waf暂时没有用到
|
2919
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2911
2920
|
# @type Region: String
|
2912
2921
|
|
2913
2922
|
attr_accessor :ResourceIds, :ValidTime, :RenewFlag, :Count, :Region
|
@@ -2999,10 +3008,13 @@ module TencentCloud
|
|
2999
3008
|
# @param IpHeaders: IsCdn=3时,表示自定义header
|
3000
3009
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3001
3010
|
# @type IpHeaders: Array
|
3011
|
+
# @param XFFReset: 0:关闭xff重置;1:开启xff重置
|
3012
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3013
|
+
# @type XFFReset: Integer
|
3002
3014
|
|
3003
|
-
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
|
3015
|
+
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
|
3004
3016
|
|
3005
|
-
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)
|
3017
|
+
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)
|
3006
3018
|
@HttpsRewrite = httpsrewrite
|
3007
3019
|
@HttpsUpstreamPort = httpsupstreamport
|
3008
3020
|
@IsCdn = iscdn
|
@@ -3032,6 +3044,7 @@ module TencentCloud
|
|
3032
3044
|
@SniHost = snihost
|
3033
3045
|
@Weights = weights
|
3034
3046
|
@IpHeaders = ipheaders
|
3047
|
+
@XFFReset = xffreset
|
3035
3048
|
end
|
3036
3049
|
|
3037
3050
|
def deserialize(params)
|
@@ -3071,6 +3084,7 @@ module TencentCloud
|
|
3071
3084
|
@SniHost = params['SniHost']
|
3072
3085
|
@Weights = params['Weights']
|
3073
3086
|
@IpHeaders = params['IpHeaders']
|
3087
|
+
@XFFReset = params['XFFReset']
|
3074
3088
|
end
|
3075
3089
|
end
|
3076
3090
|
|
@@ -3524,7 +3538,7 @@ module TencentCloud
|
|
3524
3538
|
# @param AttackLogPost: 攻击日志投递开关
|
3525
3539
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3526
3540
|
# @type AttackLogPost: Integer
|
3527
|
-
# @param MaxBandwidth:
|
3541
|
+
# @param MaxBandwidth: 带宽峰值,单位为B/s(字节每秒)
|
3528
3542
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3529
3543
|
# @type MaxBandwidth: Integer
|
3530
3544
|
# @param APISecurity: api安全是否购买
|
@@ -3541,10 +3555,13 @@ module TencentCloud
|
|
3541
3555
|
# @param SandboxQps: 实例沙箱值
|
3542
3556
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3543
3557
|
# @type SandboxQps: Integer
|
3558
|
+
# @param IsAPISecurityTrial: 是否api 安全试用
|
3559
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3560
|
+
# @type IsAPISecurityTrial: Integer
|
3544
3561
|
|
3545
|
-
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
|
3562
|
+
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
|
3546
3563
|
|
3547
|
-
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)
|
3564
|
+
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)
|
3548
3565
|
@InstanceId = instanceid
|
3549
3566
|
@InstanceName = instancename
|
3550
3567
|
@ResourceIds = resourceids
|
@@ -3575,6 +3592,7 @@ module TencentCloud
|
|
3575
3592
|
@BandwidthStandard = bandwidthstandard
|
3576
3593
|
@Status = status
|
3577
3594
|
@SandboxQps = sandboxqps
|
3595
|
+
@IsAPISecurityTrial = isapisecuritytrial
|
3578
3596
|
end
|
3579
3597
|
|
3580
3598
|
def deserialize(params)
|
@@ -3623,6 +3641,7 @@ module TencentCloud
|
|
3623
3641
|
@BandwidthStandard = params['BandwidthStandard']
|
3624
3642
|
@Status = params['Status']
|
3625
3643
|
@SandboxQps = params['SandboxQps']
|
3644
|
+
@IsAPISecurityTrial = params['IsAPISecurityTrial']
|
3626
3645
|
end
|
3627
3646
|
end
|
3628
3647
|
|
@@ -4198,7 +4217,7 @@ module TencentCloud
|
|
4198
4217
|
# @type TLSVersion: Integer
|
4199
4218
|
# @param Ciphers: 加密套件信息
|
4200
4219
|
# @type Ciphers: Array
|
4201
|
-
# @param CipherTemplate: 0
|
4220
|
+
# @param CipherTemplate: 0:不支持选择:默认模板 1:通用型模板 2:安全型模板 3:自定义模板
|
4202
4221
|
# @type CipherTemplate: Integer
|
4203
4222
|
# @param ProxyReadTimeout: 300s
|
4204
4223
|
# @type ProxyReadTimeout: Integer
|
@@ -4210,10 +4229,12 @@ module TencentCloud
|
|
4210
4229
|
# @type SniHost: String
|
4211
4230
|
# @param IpHeaders: IsCdn=3时,需要填此参数,表示自定义header
|
4212
4231
|
# @type IpHeaders: Array
|
4232
|
+
# @param XFFReset: 0:关闭xff重置;1:开启xff重置
|
4233
|
+
# @type XFFReset: Integer
|
4213
4234
|
|
4214
|
-
attr_accessor :Domain, :DomainId, :CertType, :Cert, :PrivateKey, :SSLId, :IsCdn, :UpstreamScheme, :HttpsUpstreamPort, :HttpsRewrite, :UpstreamType, :UpstreamDomain, :SrcList, :IsHttp2, :IsWebsocket, :LoadBalance, :IsGray, :Edition, :Ports, :IsKeepAlive, :InstanceID, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :Ciphers, :CipherTemplate, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :IpHeaders
|
4235
|
+
attr_accessor :Domain, :DomainId, :CertType, :Cert, :PrivateKey, :SSLId, :IsCdn, :UpstreamScheme, :HttpsUpstreamPort, :HttpsRewrite, :UpstreamType, :UpstreamDomain, :SrcList, :IsHttp2, :IsWebsocket, :LoadBalance, :IsGray, :Edition, :Ports, :IsKeepAlive, :InstanceID, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :Ciphers, :CipherTemplate, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :IpHeaders, :XFFReset
|
4215
4236
|
|
4216
|
-
def initialize(domain=nil, domainid=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, instanceid=nil, anycast=nil, weights=nil, activecheck=nil, tlsversion=nil, ciphers=nil, ciphertemplate=nil, proxyreadtimeout=nil, proxysendtimeout=nil, snitype=nil, snihost=nil, ipheaders=nil)
|
4237
|
+
def initialize(domain=nil, domainid=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, instanceid=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)
|
4217
4238
|
@Domain = domain
|
4218
4239
|
@DomainId = domainid
|
4219
4240
|
@CertType = certtype
|
@@ -4246,6 +4267,7 @@ module TencentCloud
|
|
4246
4267
|
@SniType = snitype
|
4247
4268
|
@SniHost = snihost
|
4248
4269
|
@IpHeaders = ipheaders
|
4270
|
+
@XFFReset = xffreset
|
4249
4271
|
end
|
4250
4272
|
|
4251
4273
|
def deserialize(params)
|
@@ -4288,6 +4310,7 @@ module TencentCloud
|
|
4288
4310
|
@SniType = params['SniType']
|
4289
4311
|
@SniHost = params['SniHost']
|
4290
4312
|
@IpHeaders = params['IpHeaders']
|
4313
|
+
@XFFReset = params['XFFReset']
|
4291
4314
|
end
|
4292
4315
|
end
|
4293
4316
|
|
@@ -4648,16 +4671,22 @@ module TencentCloud
|
|
4648
4671
|
# clb-waf QPS套餐 New
|
4649
4672
|
class QPSPackageNew < TencentCloud::Common::AbstractModel
|
4650
4673
|
# @param ResourceIds: 资源ID
|
4674
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4651
4675
|
# @type ResourceIds: String
|
4652
4676
|
# @param ValidTime: 过期时间
|
4677
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4653
4678
|
# @type ValidTime: String
|
4654
4679
|
# @param RenewFlag: 是否自动续费,1:自动续费,0:不自动续费
|
4680
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4655
4681
|
# @type RenewFlag: Integer
|
4656
4682
|
# @param Count: 套餐购买个数
|
4683
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4657
4684
|
# @type Count: Integer
|
4658
4685
|
# @param Region: 套餐购买地域,clb-waf暂时没有用到
|
4686
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4659
4687
|
# @type Region: String
|
4660
4688
|
# @param BillingItem: 计费项
|
4689
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4661
4690
|
# @type BillingItem: String
|
4662
4691
|
|
4663
4692
|
attr_accessor :ResourceIds, :ValidTime, :RenewFlag, :Count, :Region, :BillingItem
|
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.636
|
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-08-
|
11
|
+
date: 2023-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|