lib/v20200309/models.rb in tencentcloud-sdk-antiddos-1.0.355 vs lib/v20200309/models.rb in tencentcloud-sdk-antiddos-1.0.356
- old
+ new
@@ -5723,14 +5723,16 @@
# @type VirtualPort: Integer
# @param SSLId: 当证书来源为腾讯云托管证书时,此字段必须填写托管证书ID
# @type SSLId: String
# @param Id: 同ruleId
# @type Id: String
+ # @param CCAIEnable: 智能cc开关,取值[0(关闭), 1(开启)]
+ # @type CCAIEnable: Integer
- attr_accessor :KeepTime, :Domain, :Protocol, :SourceType, :LbType, :SourceList, :KeepEnable, :Status, :RuleId, :CCThreshold, :PrivateKey, :CCEnable, :HttpsToHttpEnable, :CertType, :Cert, :CCLevel, :RuleName, :CCStatus, :VirtualPort, :SSLId, :Id
+ attr_accessor :KeepTime, :Domain, :Protocol, :SourceType, :LbType, :SourceList, :KeepEnable, :Status, :RuleId, :CCThreshold, :PrivateKey, :CCEnable, :HttpsToHttpEnable, :CertType, :Cert, :CCLevel, :RuleName, :CCStatus, :VirtualPort, :SSLId, :Id, :CCAIEnable
- def initialize(keeptime=nil, domain=nil, protocol=nil, sourcetype=nil, lbtype=nil, sourcelist=nil, keepenable=nil, status=nil, ruleid=nil, ccthreshold=nil, privatekey=nil, ccenable=nil, httpstohttpenable=nil, certtype=nil, cert=nil, cclevel=nil, rulename=nil, ccstatus=nil, virtualport=nil, sslid=nil, id=nil)
+ def initialize(keeptime=nil, domain=nil, protocol=nil, sourcetype=nil, lbtype=nil, sourcelist=nil, keepenable=nil, status=nil, ruleid=nil, ccthreshold=nil, privatekey=nil, ccenable=nil, httpstohttpenable=nil, certtype=nil, cert=nil, cclevel=nil, rulename=nil, ccstatus=nil, virtualport=nil, sslid=nil, id=nil, ccaienable=nil)
@KeepTime = keeptime
@Domain = domain
@Protocol = protocol
@SourceType = sourcetype
@LbType = lbtype
@@ -5748,10 +5750,11 @@
@RuleName = rulename
@CCStatus = ccstatus
@VirtualPort = virtualport
@SSLId = sslid
@Id = id
+ @CCAIEnable = ccaienable
end
def deserialize(params)
@KeepTime = params['KeepTime']
@Domain = params['Domain']
@@ -5779,9 +5782,10 @@
@RuleName = params['RuleName']
@CCStatus = params['CCStatus']
@VirtualPort = params['VirtualPort']
@SSLId = params['SSLId']
@Id = params['Id']
+ @CCAIEnable = params['CCAIEnable']
end
end
# L7规则健康检查参数
class L7RuleHealth < TencentCloud::Common::AbstractModel