tencentcloud-sdk-waf 3.0.919 → 3.0.921
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 +198 -49
- 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: 8504069717e584d50106bf8d93c8f1bc29dfa0f6
|
4
|
+
data.tar.gz: beaa0fd16573301af82c8c8e50da8b3cc9b0ddd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba6443764ac7b065174470bc0ed120ce7d4be16bcb94f0d3c15cd7e526bb6811f2c85af930d07da7f4ac9c899caf073263f9df0bd9723468aba5f3efd1c2c476
|
7
|
+
data.tar.gz: 2456931a26afab2c6a2399bda90a4b003b702a68c80944abc530abe717b0c66de9c7ba173e02fb0de172bb85ba730fbe25a58a515992895831d0d6789136b9a5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.921
|
data/lib/v20180125/models.rb
CHANGED
@@ -80,8 +80,8 @@ module TencentCloud
|
|
80
80
|
|
81
81
|
attr_accessor :BTime, :Count, :BeginTime
|
82
82
|
extend Gem::Deprecate
|
83
|
-
deprecate :BTime, :none, 2024,
|
84
|
-
deprecate :BTime=, :none, 2024,
|
83
|
+
deprecate :BTime, :none, 2024, 10
|
84
|
+
deprecate :BTime=, :none, 2024, 10
|
85
85
|
|
86
86
|
def initialize(btime=nil, count=nil, begintime=nil)
|
87
87
|
@BTime = btime
|
@@ -939,22 +939,34 @@ module TencentCloud
|
|
939
939
|
# @type SniType: Integer
|
940
940
|
# @param SniHost: SniType为3时,需要填此参数,表示自定义的SNI;
|
941
941
|
# @type SniHost: String
|
942
|
-
# @param XFFReset: 是否开启XFF重置。
|
943
|
-
# 0:关闭
|
944
|
-
# 1:开启
|
942
|
+
# @param XFFReset: 是否开启XFF重置。0:关闭 1:开启
|
945
943
|
# @type XFFReset: Integer
|
946
944
|
# @param Note: 域名备注信息
|
947
945
|
# @type Note: String
|
948
946
|
# @param UpstreamHost: 自定义回源Host。默认为空字符串,表示使用防护域名作为回源Host。
|
949
947
|
# @type UpstreamHost: String
|
950
|
-
# @param ProxyBuffer:
|
948
|
+
# @param ProxyBuffer: 是否开启缓存。 0:关闭 1:开启
|
951
949
|
# @type ProxyBuffer: Integer
|
952
|
-
# @param ProbeStatus: 0:
|
950
|
+
# @param ProbeStatus: 是否开启拨测。 0: 禁用拨测 1: 启用拨测。默认启用拨测
|
953
951
|
# @type ProbeStatus: Integer
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
952
|
+
# @param GmType: 国密选项。0:不开启国密 1:在原有TLS选项的基础上追加支持国密 2:开启国密并仅支持国密客户端访问
|
953
|
+
# @type GmType: Integer
|
954
|
+
# @param GmCertType: 国密证书类型。0:无国密证书 1:证书来源为自有国密证书 2:证书来源为托管国密证书
|
955
|
+
# @type GmCertType: Integer
|
956
|
+
# @param GmCert: GmCertType为1时,需要填充此参数,表示自有国密证书的证书链
|
957
|
+
# @type GmCert: String
|
958
|
+
# @param GmPrivateKey: GmCertType为1时,需要填充此参数,表示自有国密证书的私钥
|
959
|
+
# @type GmPrivateKey: String
|
960
|
+
# @param GmEncCert: GmCertType为1时,需要填充此参数,表示自有国密证书的加密证书
|
961
|
+
# @type GmEncCert: String
|
962
|
+
# @param GmEncPrivateKey: GmCertType为1时,需要填充此参数,表示自有国密证书的加密证书的私钥
|
963
|
+
# @type GmEncPrivateKey: String
|
964
|
+
# @param GmSSLId: GmCertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id
|
965
|
+
# @type GmSSLId: String
|
966
|
+
|
967
|
+
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
|
968
|
+
|
969
|
+
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)
|
958
970
|
@Domain = domain
|
959
971
|
@CertType = certtype
|
960
972
|
@IsCdn = iscdn
|
@@ -993,6 +1005,13 @@ module TencentCloud
|
|
993
1005
|
@UpstreamHost = upstreamhost
|
994
1006
|
@ProxyBuffer = proxybuffer
|
995
1007
|
@ProbeStatus = probestatus
|
1008
|
+
@GmType = gmtype
|
1009
|
+
@GmCertType = gmcerttype
|
1010
|
+
@GmCert = gmcert
|
1011
|
+
@GmPrivateKey = gmprivatekey
|
1012
|
+
@GmEncCert = gmenccert
|
1013
|
+
@GmEncPrivateKey = gmencprivatekey
|
1014
|
+
@GmSSLId = gmsslid
|
996
1015
|
end
|
997
1016
|
|
998
1017
|
def deserialize(params)
|
@@ -1041,6 +1060,13 @@ module TencentCloud
|
|
1041
1060
|
@UpstreamHost = params['UpstreamHost']
|
1042
1061
|
@ProxyBuffer = params['ProxyBuffer']
|
1043
1062
|
@ProbeStatus = params['ProbeStatus']
|
1063
|
+
@GmType = params['GmType']
|
1064
|
+
@GmCertType = params['GmCertType']
|
1065
|
+
@GmCert = params['GmCert']
|
1066
|
+
@GmPrivateKey = params['GmPrivateKey']
|
1067
|
+
@GmEncCert = params['GmEncCert']
|
1068
|
+
@GmEncPrivateKey = params['GmEncPrivateKey']
|
1069
|
+
@GmSSLId = params['GmSSLId']
|
1044
1070
|
end
|
1045
1071
|
end
|
1046
1072
|
|
@@ -1844,10 +1870,13 @@ module TencentCloud
|
|
1844
1870
|
# @param Note: 域名备注信息
|
1845
1871
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1846
1872
|
# @type Note: String
|
1873
|
+
# @param Labels: 域名标签
|
1874
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1875
|
+
# @type Labels: Array
|
1847
1876
|
|
1848
|
-
attr_accessor :Domain, :DomainId, :InstanceId, :InstanceName, :Edition, :IsCdn, :LoadBalancerSet, :FlowMode, :State, :AlbType, :IpHeaders, :CdcClusters, :CloudType, :Note
|
1877
|
+
attr_accessor :Domain, :DomainId, :InstanceId, :InstanceName, :Edition, :IsCdn, :LoadBalancerSet, :FlowMode, :State, :AlbType, :IpHeaders, :CdcClusters, :CloudType, :Note, :Labels
|
1849
1878
|
|
1850
|
-
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)
|
1879
|
+
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)
|
1851
1880
|
@Domain = domain
|
1852
1881
|
@DomainId = domainid
|
1853
1882
|
@InstanceId = instanceid
|
@@ -1862,6 +1891,7 @@ module TencentCloud
|
|
1862
1891
|
@CdcClusters = cdcclusters
|
1863
1892
|
@CloudType = cloudtype
|
1864
1893
|
@Note = note
|
1894
|
+
@Labels = labels
|
1865
1895
|
end
|
1866
1896
|
|
1867
1897
|
def deserialize(params)
|
@@ -1886,6 +1916,7 @@ module TencentCloud
|
|
1886
1916
|
@CdcClusters = params['CdcClusters']
|
1887
1917
|
@CloudType = params['CloudType']
|
1888
1918
|
@Note = params['Note']
|
1919
|
+
@Labels = params['Labels']
|
1889
1920
|
end
|
1890
1921
|
end
|
1891
1922
|
|
@@ -1942,10 +1973,13 @@ module TencentCloud
|
|
1942
1973
|
# @param ObjectFlowMode: 对象接入模式,0表示镜像模式,1表示清洗模式,2表示体检模式,默认为清洗模式
|
1943
1974
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1944
1975
|
# @type ObjectFlowMode: Integer
|
1976
|
+
# @param NumericalVpcId: 数值形式的私有网络 ID
|
1977
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1978
|
+
# @type NumericalVpcId: Integer
|
1945
1979
|
|
1946
|
-
attr_accessor :ObjectId, :InstanceId, :InstanceName, :PreciseDomains, :Status, :ClsStatus, :VirtualDomain, :ObjectName, :PublicIp, :PrivateIp, :VpcName, :Vpc, :InstanceLevel, :PostCLSStatus, :PostCKafkaStatus, :Type, :Region, :Proxy, :IpHeaders, :BotStatus, :ApiStatus, :ObjectFlowMode
|
1980
|
+
attr_accessor :ObjectId, :InstanceId, :InstanceName, :PreciseDomains, :Status, :ClsStatus, :VirtualDomain, :ObjectName, :PublicIp, :PrivateIp, :VpcName, :Vpc, :InstanceLevel, :PostCLSStatus, :PostCKafkaStatus, :Type, :Region, :Proxy, :IpHeaders, :BotStatus, :ApiStatus, :ObjectFlowMode, :NumericalVpcId
|
1947
1981
|
|
1948
|
-
def initialize(objectid=nil, instanceid=nil, instancename=nil, precisedomains=nil, status=nil, clsstatus=nil, virtualdomain=nil, objectname=nil, publicip=nil, privateip=nil, vpcname=nil, vpc=nil, instancelevel=nil, postclsstatus=nil, postckafkastatus=nil, type=nil, region=nil, proxy=nil, ipheaders=nil, botstatus=nil, apistatus=nil, objectflowmode=nil)
|
1982
|
+
def initialize(objectid=nil, instanceid=nil, instancename=nil, precisedomains=nil, status=nil, clsstatus=nil, virtualdomain=nil, objectname=nil, publicip=nil, privateip=nil, vpcname=nil, vpc=nil, instancelevel=nil, postclsstatus=nil, postckafkastatus=nil, type=nil, region=nil, proxy=nil, ipheaders=nil, botstatus=nil, apistatus=nil, objectflowmode=nil, numericalvpcid=nil)
|
1949
1983
|
@ObjectId = objectid
|
1950
1984
|
@InstanceId = instanceid
|
1951
1985
|
@InstanceName = instancename
|
@@ -1968,6 +2002,7 @@ module TencentCloud
|
|
1968
2002
|
@BotStatus = botstatus
|
1969
2003
|
@ApiStatus = apistatus
|
1970
2004
|
@ObjectFlowMode = objectflowmode
|
2005
|
+
@NumericalVpcId = numericalvpcid
|
1971
2006
|
end
|
1972
2007
|
|
1973
2008
|
def deserialize(params)
|
@@ -1993,6 +2028,7 @@ module TencentCloud
|
|
1993
2028
|
@BotStatus = params['BotStatus']
|
1994
2029
|
@ApiStatus = params['ApiStatus']
|
1995
2030
|
@ObjectFlowMode = params['ObjectFlowMode']
|
2031
|
+
@NumericalVpcId = params['NumericalVpcId']
|
1996
2032
|
end
|
1997
2033
|
end
|
1998
2034
|
|
@@ -2997,13 +3033,13 @@ module TencentCloud
|
|
2997
3033
|
class DeleteIpAccessControlV2Request < TencentCloud::Common::AbstractModel
|
2998
3034
|
# @param Domain: 域名
|
2999
3035
|
# @type Domain: String
|
3000
|
-
# @param RuleIds: 规则ID
|
3036
|
+
# @param RuleIds: 规则ID列表,支持批量删除,在DeleteAll参数为true的时候可以不传
|
3001
3037
|
# @type RuleIds: Array
|
3002
|
-
# @param DeleteAll: 是否删除对应的域名下的所有黑/白IP名单,true表示全部删除,false表示只删除指定
|
3038
|
+
# @param DeleteAll: 是否删除对应的域名下的所有黑/白IP名单,true表示全部删除,false表示只删除指定IP名单,批量防护不支持
|
3003
3039
|
# @type DeleteAll: Boolean
|
3004
3040
|
# @param SourceType: batch表示为批量防护的IP黑白名单
|
3005
3041
|
# @type SourceType: String
|
3006
|
-
# @param ActionType: IP黑白名单类型,40为IP白名单,42为IP
|
3042
|
+
# @param ActionType: IP黑白名单类型,40为IP白名单,42为IP黑名单,在DeleteAll为true的时候必传此参数
|
3007
3043
|
# @type ActionType: Integer
|
3008
3044
|
|
3009
3045
|
attr_accessor :Domain, :RuleIds, :DeleteAll, :SourceType, :ActionType
|
@@ -3205,8 +3241,8 @@ module TencentCloud
|
|
3205
3241
|
|
3206
3242
|
attr_accessor :From, :To, :Query, :FieldName, :TopicId, :Sort, :Count
|
3207
3243
|
extend Gem::Deprecate
|
3208
|
-
deprecate :TopicId, :none, 2024,
|
3209
|
-
deprecate :TopicId=, :none, 2024,
|
3244
|
+
deprecate :TopicId, :none, 2024, 10
|
3245
|
+
deprecate :TopicId=, :none, 2024, 10
|
3210
3246
|
|
3211
3247
|
def initialize(from=nil, to=nil, query=nil, fieldname=nil, topicid=nil, sort=nil, count=nil)
|
3212
3248
|
@From = from
|
@@ -4414,7 +4450,7 @@ module TencentCloud
|
|
4414
4450
|
class DescribeCertificateVerifyResultRequest < TencentCloud::Common::AbstractModel
|
4415
4451
|
# @param Domain: 域名
|
4416
4452
|
# @type Domain: String
|
4417
|
-
# @param CertType: 证书类型。 0
|
4453
|
+
# @param CertType: 证书类型。 0:不检测国际标准证书 1:证书来源为自有证书 2:证书来源为托管证书
|
4418
4454
|
# @type CertType: Integer
|
4419
4455
|
# @param Certificate: CertType为1时,需要填充此参数,表示自有证书的证书链
|
4420
4456
|
# @type Certificate: String
|
@@ -4422,15 +4458,33 @@ module TencentCloud
|
|
4422
4458
|
# @type CertID: String
|
4423
4459
|
# @param PrivateKey: CertType为1时,需要填充此参数,表示自有证书的私钥
|
4424
4460
|
# @type PrivateKey: String
|
4425
|
-
|
4426
|
-
|
4427
|
-
|
4428
|
-
|
4461
|
+
# @param GmCertType: 国密证书类型。0:不检测国密证书 1:证书来源为自有国密证书 2:证书来源为托管国密证书
|
4462
|
+
# @type GmCertType: Integer
|
4463
|
+
# @param GmCert: GmCertType为1时,需要填充此参数,表示自有国密证书的证书链
|
4464
|
+
# @type GmCert: String
|
4465
|
+
# @param GmPrivateKey: GmCertType为1时,需要填充此参数,表示自有国密证书的私钥
|
4466
|
+
# @type GmPrivateKey: String
|
4467
|
+
# @param GmEncCert: GmCertType为1时,需要填充此参数,表示自有国密证书的加密证书
|
4468
|
+
# @type GmEncCert: String
|
4469
|
+
# @param GmEncPrivateKey: GmCertType为1时,需要填充此参数,表示自有国密证书的加密证书的私钥
|
4470
|
+
# @type GmEncPrivateKey: String
|
4471
|
+
# @param GmSSLId: GmCertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id
|
4472
|
+
# @type GmSSLId: String
|
4473
|
+
|
4474
|
+
attr_accessor :Domain, :CertType, :Certificate, :CertID, :PrivateKey, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId
|
4475
|
+
|
4476
|
+
def initialize(domain=nil, certtype=nil, certificate=nil, certid=nil, privatekey=nil, gmcerttype=nil, gmcert=nil, gmprivatekey=nil, gmenccert=nil, gmencprivatekey=nil, gmsslid=nil)
|
4429
4477
|
@Domain = domain
|
4430
4478
|
@CertType = certtype
|
4431
4479
|
@Certificate = certificate
|
4432
4480
|
@CertID = certid
|
4433
4481
|
@PrivateKey = privatekey
|
4482
|
+
@GmCertType = gmcerttype
|
4483
|
+
@GmCert = gmcert
|
4484
|
+
@GmPrivateKey = gmprivatekey
|
4485
|
+
@GmEncCert = gmenccert
|
4486
|
+
@GmEncPrivateKey = gmencprivatekey
|
4487
|
+
@GmSSLId = gmsslid
|
4434
4488
|
end
|
4435
4489
|
|
4436
4490
|
def deserialize(params)
|
@@ -4439,6 +4493,12 @@ module TencentCloud
|
|
4439
4493
|
@Certificate = params['Certificate']
|
4440
4494
|
@CertID = params['CertID']
|
4441
4495
|
@PrivateKey = params['PrivateKey']
|
4496
|
+
@GmCertType = params['GmCertType']
|
4497
|
+
@GmCert = params['GmCert']
|
4498
|
+
@GmPrivateKey = params['GmPrivateKey']
|
4499
|
+
@GmEncCert = params['GmEncCert']
|
4500
|
+
@GmEncPrivateKey = params['GmEncPrivateKey']
|
4501
|
+
@GmSSLId = params['GmSSLId']
|
4442
4502
|
end
|
4443
4503
|
end
|
4444
4504
|
|
@@ -5085,7 +5145,7 @@ module TencentCloud
|
|
5085
5145
|
# @type Offset: Integer
|
5086
5146
|
# @param Limit: 返回域名的数量
|
5087
5147
|
# @type Limit: Integer
|
5088
|
-
# @param Filters:
|
5148
|
+
# @param Filters: 过滤数组,过滤字段包括:Edition:实例版本,sparta-waf或clb-waf Domain:域名 DomainId:域名ID InstanceName:实例名称 InstanceId:实例ID FlowMode:流量接入模式,仅支持CLBWAF FlowCheckMode:流量体检模式,仅支持CLBWAF ClsStatus:日志开关 Status:WAF开关BotStatus:BOT开关 ApiStatus:API安全开关 Engine:引擎模式 UpstreamIP:源站IP,仅支持SAAS型WAF UpstreamDomain:源站域名,仅支持SAAS型WAF DomainState:域名状态,仅支持SAAS型WAF SgState:安全组状态,仅支持SAAS型WAF Label:分组标签,同时仅支持一种标签过滤
|
5089
5149
|
# @type Filters: Array
|
5090
5150
|
|
5091
5151
|
attr_accessor :Offset, :Limit, :Filters
|
@@ -5591,10 +5651,10 @@ module TencentCloud
|
|
5591
5651
|
|
5592
5652
|
attr_accessor :Domain, :Count, :ActionType, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :OffSet, :Limit, :Source, :Sort, :Ip, :ValidStatus, :ValidTimeStampMin, :ValidTimeStampMax, :RuleId, :TimerType
|
5593
5653
|
extend Gem::Deprecate
|
5594
|
-
deprecate :VtsMin, :none, 2024,
|
5595
|
-
deprecate :VtsMin=, :none, 2024,
|
5596
|
-
deprecate :VtsMax, :none, 2024,
|
5597
|
-
deprecate :VtsMax=, :none, 2024,
|
5654
|
+
deprecate :VtsMin, :none, 2024, 10
|
5655
|
+
deprecate :VtsMin=, :none, 2024, 10
|
5656
|
+
deprecate :VtsMax, :none, 2024, 10
|
5657
|
+
deprecate :VtsMax=, :none, 2024, 10
|
5598
5658
|
|
5599
5659
|
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)
|
5600
5660
|
@Domain = domain
|
@@ -5699,10 +5759,10 @@ module TencentCloud
|
|
5699
5759
|
|
5700
5760
|
attr_accessor :Domain, :Count, :Category, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :Skip, :Limit, :Name, :Sort, :Ip, :ValidTimeStampMin, :ValidTimeStampMax
|
5701
5761
|
extend Gem::Deprecate
|
5702
|
-
deprecate :VtsMin, :none, 2024,
|
5703
|
-
deprecate :VtsMin=, :none, 2024,
|
5704
|
-
deprecate :VtsMax, :none, 2024,
|
5705
|
-
deprecate :VtsMax=, :none, 2024,
|
5762
|
+
deprecate :VtsMin, :none, 2024, 10
|
5763
|
+
deprecate :VtsMin=, :none, 2024, 10
|
5764
|
+
deprecate :VtsMax, :none, 2024, 10
|
5765
|
+
deprecate :VtsMax=, :none, 2024, 10
|
5706
5766
|
|
5707
5767
|
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)
|
5708
5768
|
@Domain = domain
|
@@ -6507,12 +6567,17 @@ module TencentCloud
|
|
6507
6567
|
|
6508
6568
|
# DescribeUserClbWafRegions请求参数结构体
|
6509
6569
|
class DescribeUserClbWafRegionsRequest < TencentCloud::Common::AbstractModel
|
6570
|
+
# @param AlbType: 流量来源,不填默认clb。clb:负载均衡器,tsegw:云原生API网关,scf:云函数,apisix:腾讯云上其他网关
|
6571
|
+
# @type AlbType: String
|
6510
6572
|
|
6573
|
+
attr_accessor :AlbType
|
6511
6574
|
|
6512
|
-
def initialize()
|
6575
|
+
def initialize(albtype=nil)
|
6576
|
+
@AlbType = albtype
|
6513
6577
|
end
|
6514
6578
|
|
6515
6579
|
def deserialize(params)
|
6580
|
+
@AlbType = params['AlbType']
|
6516
6581
|
end
|
6517
6582
|
end
|
6518
6583
|
|
@@ -7071,10 +7136,13 @@ module TencentCloud
|
|
7071
7136
|
# @param AccessStatus: clbwaf接入状态
|
7072
7137
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7073
7138
|
# @type AccessStatus: Integer
|
7139
|
+
# @param Labels: 域名标签
|
7140
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7141
|
+
# @type Labels: Array
|
7074
7142
|
|
7075
|
-
attr_accessor :Domain, :DomainId, :InstanceId, :Cname, :Edition, :Region, :InstanceName, :ClsStatus, :FlowMode, :Status, :Mode, :Engine, :CCList, :RsList, :Ports, :LoadBalancerSet, :AppId, :State, :CreateTime, :Ipv6Status, :BotStatus, :Level, :PostCLSStatus, :PostCKafkaStatus, :CdcClusters, :ApiStatus, :AlbType, :SgState, :SgDetail, :CloudType, :Note, :SrcList, :UpstreamDomainList, :SgID, :AccessStatus
|
7143
|
+
attr_accessor :Domain, :DomainId, :InstanceId, :Cname, :Edition, :Region, :InstanceName, :ClsStatus, :FlowMode, :Status, :Mode, :Engine, :CCList, :RsList, :Ports, :LoadBalancerSet, :AppId, :State, :CreateTime, :Ipv6Status, :BotStatus, :Level, :PostCLSStatus, :PostCKafkaStatus, :CdcClusters, :ApiStatus, :AlbType, :SgState, :SgDetail, :CloudType, :Note, :SrcList, :UpstreamDomainList, :SgID, :AccessStatus, :Labels
|
7076
7144
|
|
7077
|
-
def initialize(domain=nil, domainid=nil, instanceid=nil, cname=nil, edition=nil, region=nil, instancename=nil, clsstatus=nil, flowmode=nil, status=nil, mode=nil, engine=nil, cclist=nil, rslist=nil, ports=nil, loadbalancerset=nil, appid=nil, state=nil, createtime=nil, ipv6status=nil, botstatus=nil, level=nil, postclsstatus=nil, postckafkastatus=nil, cdcclusters=nil, apistatus=nil, albtype=nil, sgstate=nil, sgdetail=nil, cloudtype=nil, note=nil, srclist=nil, upstreamdomainlist=nil, sgid=nil, accessstatus=nil)
|
7145
|
+
def initialize(domain=nil, domainid=nil, instanceid=nil, cname=nil, edition=nil, region=nil, instancename=nil, clsstatus=nil, flowmode=nil, status=nil, mode=nil, engine=nil, cclist=nil, rslist=nil, ports=nil, loadbalancerset=nil, appid=nil, state=nil, createtime=nil, ipv6status=nil, botstatus=nil, level=nil, postclsstatus=nil, postckafkastatus=nil, cdcclusters=nil, apistatus=nil, albtype=nil, sgstate=nil, sgdetail=nil, cloudtype=nil, note=nil, srclist=nil, upstreamdomainlist=nil, sgid=nil, accessstatus=nil, labels=nil)
|
7078
7146
|
@Domain = domain
|
7079
7147
|
@DomainId = domainid
|
7080
7148
|
@InstanceId = instanceid
|
@@ -7110,6 +7178,7 @@ module TencentCloud
|
|
7110
7178
|
@UpstreamDomainList = upstreamdomainlist
|
7111
7179
|
@SgID = sgid
|
7112
7180
|
@AccessStatus = accessstatus
|
7181
|
+
@Labels = labels
|
7113
7182
|
end
|
7114
7183
|
|
7115
7184
|
def deserialize(params)
|
@@ -7162,6 +7231,7 @@ module TencentCloud
|
|
7162
7231
|
@UpstreamDomainList = params['UpstreamDomainList']
|
7163
7232
|
@SgID = params['SgID']
|
7164
7233
|
@AccessStatus = params['AccessStatus']
|
7234
|
+
@Labels = params['Labels']
|
7165
7235
|
end
|
7166
7236
|
end
|
7167
7237
|
|
@@ -7395,10 +7465,34 @@ module TencentCloud
|
|
7395
7465
|
# @param ProxyBuffer: 是否开启缓存 0-关闭 1-开启
|
7396
7466
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7397
7467
|
# @type ProxyBuffer: Integer
|
7468
|
+
# @param GmType: 国密选项。0:不开启国密 1:在原有TLS选项的基础上追加支持国密 2:开启国密并仅支持国密客户端访问
|
7469
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7470
|
+
# @type GmType: Integer
|
7471
|
+
# @param GmCertType: 国密证书类型。0:无国密证书 1:证书来源为自有国密证书 2:证书来源为托管国密证书
|
7472
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7473
|
+
# @type GmCertType: Integer
|
7474
|
+
# @param GmCert: GmCertType为1时,需要填充此参数,表示自有国密证书的证书链
|
7475
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7476
|
+
# @type GmCert: String
|
7477
|
+
# @param GmPrivateKey: GmCertType为1时,需要填充此参数,表示自有国密证书的私钥
|
7478
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7479
|
+
# @type GmPrivateKey: String
|
7480
|
+
# @param GmEncCert: GmCertType为1时,需要填充此参数,表示自有国密证书的加密证书
|
7481
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7482
|
+
# @type GmEncCert: String
|
7483
|
+
# @param GmEncPrivateKey: GmCertType为1时,需要填充此参数,表示自有国密证书的加密证书的私钥
|
7484
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7485
|
+
# @type GmEncPrivateKey: String
|
7486
|
+
# @param GmSSLId: GmCertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id
|
7487
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7488
|
+
# @type GmSSLId: String
|
7489
|
+
# @param Labels: 域名标签
|
7490
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7491
|
+
# @type Labels: Array
|
7398
7492
|
|
7399
|
-
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
|
7493
|
+
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
|
7400
7494
|
|
7401
|
-
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)
|
7495
|
+
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)
|
7402
7496
|
@Domain = domain
|
7403
7497
|
@DomainId = domainid
|
7404
7498
|
@InstanceId = instanceid
|
@@ -7441,6 +7535,14 @@ module TencentCloud
|
|
7441
7535
|
@UpstreamHost = upstreamhost
|
7442
7536
|
@Level = level
|
7443
7537
|
@ProxyBuffer = proxybuffer
|
7538
|
+
@GmType = gmtype
|
7539
|
+
@GmCertType = gmcerttype
|
7540
|
+
@GmCert = gmcert
|
7541
|
+
@GmPrivateKey = gmprivatekey
|
7542
|
+
@GmEncCert = gmenccert
|
7543
|
+
@GmEncPrivateKey = gmencprivatekey
|
7544
|
+
@GmSSLId = gmsslid
|
7545
|
+
@Labels = labels
|
7444
7546
|
end
|
7445
7547
|
|
7446
7548
|
def deserialize(params)
|
@@ -7493,6 +7595,14 @@ module TencentCloud
|
|
7493
7595
|
@UpstreamHost = params['UpstreamHost']
|
7494
7596
|
@Level = params['Level']
|
7495
7597
|
@ProxyBuffer = params['ProxyBuffer']
|
7598
|
+
@GmType = params['GmType']
|
7599
|
+
@GmCertType = params['GmCertType']
|
7600
|
+
@GmCert = params['GmCert']
|
7601
|
+
@GmPrivateKey = params['GmPrivateKey']
|
7602
|
+
@GmEncCert = params['GmEncCert']
|
7603
|
+
@GmEncPrivateKey = params['GmEncPrivateKey']
|
7604
|
+
@GmSSLId = params['GmSSLId']
|
7605
|
+
@Labels = params['Labels']
|
7496
7606
|
end
|
7497
7607
|
end
|
7498
7608
|
|
@@ -8300,10 +8410,13 @@ module TencentCloud
|
|
8300
8410
|
# @param ResourceId: 资源id
|
8301
8411
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8302
8412
|
# @type ResourceId: String
|
8413
|
+
# @param MicroVersion: 模式clb-waf或者saas-waf
|
8414
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8415
|
+
# @type MicroVersion: String
|
8303
8416
|
|
8304
|
-
attr_accessor :TimeSpan, :TimeUnit, :SubProductCode, :Pid, :InstanceName, :AutoRenewFlag, :RealRegion, :LabelTypes, :LabelCounts, :CurDeadline, :InstanceId, :ResourceId
|
8417
|
+
attr_accessor :TimeSpan, :TimeUnit, :SubProductCode, :Pid, :InstanceName, :AutoRenewFlag, :RealRegion, :LabelTypes, :LabelCounts, :CurDeadline, :InstanceId, :ResourceId, :MicroVersion
|
8305
8418
|
|
8306
|
-
def initialize(timespan=nil, timeunit=nil, subproductcode=nil, pid=nil, instancename=nil, autorenewflag=nil, realregion=nil, labeltypes=nil, labelcounts=nil, curdeadline=nil, instanceid=nil, resourceid=nil)
|
8419
|
+
def initialize(timespan=nil, timeunit=nil, subproductcode=nil, pid=nil, instancename=nil, autorenewflag=nil, realregion=nil, labeltypes=nil, labelcounts=nil, curdeadline=nil, instanceid=nil, resourceid=nil, microversion=nil)
|
8307
8420
|
@TimeSpan = timespan
|
8308
8421
|
@TimeUnit = timeunit
|
8309
8422
|
@SubProductCode = subproductcode
|
@@ -8316,6 +8429,7 @@ module TencentCloud
|
|
8316
8429
|
@CurDeadline = curdeadline
|
8317
8430
|
@InstanceId = instanceid
|
8318
8431
|
@ResourceId = resourceid
|
8432
|
+
@MicroVersion = microversion
|
8319
8433
|
end
|
8320
8434
|
|
8321
8435
|
def deserialize(params)
|
@@ -8331,6 +8445,7 @@ module TencentCloud
|
|
8331
8445
|
@CurDeadline = params['CurDeadline']
|
8332
8446
|
@InstanceId = params['InstanceId']
|
8333
8447
|
@ResourceId = params['ResourceId']
|
8448
|
+
@MicroVersion = params['MicroVersion']
|
8334
8449
|
end
|
8335
8450
|
end
|
8336
8451
|
|
@@ -11260,14 +11375,28 @@ module TencentCloud
|
|
11260
11375
|
# @type Note: String
|
11261
11376
|
# @param UpstreamHost: 自定义回源Host。默认为空字符串,表示使用防护域名作为回源Host。
|
11262
11377
|
# @type UpstreamHost: String
|
11263
|
-
# @param ProxyBuffer:
|
11378
|
+
# @param ProxyBuffer: 是否开启缓存。 0:关闭 1:开启
|
11264
11379
|
# @type ProxyBuffer: Integer
|
11265
|
-
# @param ProbeStatus: 0:
|
11380
|
+
# @param ProbeStatus: 是否开启拨测。 0: 禁用拨测 1: 启用拨测。默认启用拨测
|
11266
11381
|
# @type ProbeStatus: Integer
|
11267
|
-
|
11268
|
-
|
11269
|
-
|
11270
|
-
|
11382
|
+
# @param GmType: 国密选项。0:不开启国密 1:在原有TLS选项的基础上追加支持国密 2:开启国密并仅支持国密客户端访问
|
11383
|
+
# @type GmType: Integer
|
11384
|
+
# @param GmCertType: 国密证书类型。0:无国密证书 1:证书来源为自有国密证书 2:证书来源为托管国密证书
|
11385
|
+
# @type GmCertType: Integer
|
11386
|
+
# @param GmCert: GmCertType为1时,需要填充此参数,表示自有国密证书的证书链
|
11387
|
+
# @type GmCert: String
|
11388
|
+
# @param GmPrivateKey: GmCertType为1时,需要填充此参数,表示自有国密证书的私钥
|
11389
|
+
# @type GmPrivateKey: String
|
11390
|
+
# @param GmEncCert: GmCertType为1时,需要填充此参数,表示自有国密证书的加密证书
|
11391
|
+
# @type GmEncCert: String
|
11392
|
+
# @param GmEncPrivateKey: GmCertType为1时,需要填充此参数,表示自有国密证书的加密证书的私钥
|
11393
|
+
# @type GmEncPrivateKey: String
|
11394
|
+
# @param GmSSLId: GmCertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id
|
11395
|
+
# @type GmSSLId: String
|
11396
|
+
|
11397
|
+
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
|
11398
|
+
|
11399
|
+
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)
|
11271
11400
|
@Domain = domain
|
11272
11401
|
@DomainId = domainid
|
11273
11402
|
@InstanceID = instanceid
|
@@ -11305,6 +11434,13 @@ module TencentCloud
|
|
11305
11434
|
@UpstreamHost = upstreamhost
|
11306
11435
|
@ProxyBuffer = proxybuffer
|
11307
11436
|
@ProbeStatus = probestatus
|
11437
|
+
@GmType = gmtype
|
11438
|
+
@GmCertType = gmcerttype
|
11439
|
+
@GmCert = gmcert
|
11440
|
+
@GmPrivateKey = gmprivatekey
|
11441
|
+
@GmEncCert = gmenccert
|
11442
|
+
@GmEncPrivateKey = gmencprivatekey
|
11443
|
+
@GmSSLId = gmsslid
|
11308
11444
|
end
|
11309
11445
|
|
11310
11446
|
def deserialize(params)
|
@@ -11352,6 +11488,13 @@ module TencentCloud
|
|
11352
11488
|
@UpstreamHost = params['UpstreamHost']
|
11353
11489
|
@ProxyBuffer = params['ProxyBuffer']
|
11354
11490
|
@ProbeStatus = params['ProbeStatus']
|
11491
|
+
@GmType = params['GmType']
|
11492
|
+
@GmCertType = params['GmCertType']
|
11493
|
+
@GmCert = params['GmCert']
|
11494
|
+
@GmPrivateKey = params['GmPrivateKey']
|
11495
|
+
@GmEncCert = params['GmEncCert']
|
11496
|
+
@GmEncPrivateKey = params['GmEncPrivateKey']
|
11497
|
+
@GmSSLId = params['GmSSLId']
|
11355
11498
|
end
|
11356
11499
|
end
|
11357
11500
|
|
@@ -12530,14 +12673,19 @@ module TencentCloud
|
|
12530
12673
|
|
12531
12674
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
12532
12675
|
# @type Arg: String
|
12676
|
+
# @param CaseNotSensitive: 0:大小写敏感
|
12677
|
+
# 1:大小写不敏感
|
12678
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12679
|
+
# @type CaseNotSensitive: Integer
|
12533
12680
|
|
12534
|
-
attr_accessor :Field, :CompareFunc, :Content, :Arg
|
12681
|
+
attr_accessor :Field, :CompareFunc, :Content, :Arg, :CaseNotSensitive
|
12535
12682
|
|
12536
|
-
def initialize(field=nil, comparefunc=nil, content=nil, arg=nil)
|
12683
|
+
def initialize(field=nil, comparefunc=nil, content=nil, arg=nil, casenotsensitive=nil)
|
12537
12684
|
@Field = field
|
12538
12685
|
@CompareFunc = comparefunc
|
12539
12686
|
@Content = content
|
12540
12687
|
@Arg = arg
|
12688
|
+
@CaseNotSensitive = casenotsensitive
|
12541
12689
|
end
|
12542
12690
|
|
12543
12691
|
def deserialize(params)
|
@@ -12545,6 +12693,7 @@ module TencentCloud
|
|
12545
12693
|
@CompareFunc = params['CompareFunc']
|
12546
12694
|
@Content = params['Content']
|
12547
12695
|
@Arg = params['Arg']
|
12696
|
+
@CaseNotSensitive = params['CaseNotSensitive']
|
12548
12697
|
end
|
12549
12698
|
end
|
12550
12699
|
|
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.921
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|