lib/v20200309/models.rb in tencentcloud-sdk-antiddos-1.0.308 vs lib/v20200309/models.rb in tencentcloud-sdk-antiddos-1.0.309
- old
+ new
@@ -5455,21 +5455,24 @@
# UDP(UDP协议)
# ]
# @type Protocol: String
# @param RealServers: 源站列表
# @type RealServers: Array
- # @param InstanceDetails: 规则所属的资源实例
+ # @param InstanceDetails: 资源实例
# @type InstanceDetails: Array
+ # @param InstanceDetailRule: 规则所属的资源实例
+ # @type InstanceDetailRule: Array
- attr_accessor :BackendPort, :FrontendPort, :Protocol, :RealServers, :InstanceDetails
+ attr_accessor :BackendPort, :FrontendPort, :Protocol, :RealServers, :InstanceDetails, :InstanceDetailRule
- def initialize(backendport=nil, frontendport=nil, protocol=nil, realservers=nil, instancedetails=nil)
+ def initialize(backendport=nil, frontendport=nil, protocol=nil, realservers=nil, instancedetails=nil, instancedetailrule=nil)
@BackendPort = backendport
@FrontendPort = frontendport
@Protocol = protocol
@RealServers = realservers
@InstanceDetails = instancedetails
+ @InstanceDetailRule = instancedetailrule
end
def deserialize(params)
@BackendPort = params['BackendPort']
@FrontendPort = params['FrontendPort']
@@ -5488,10 +5491,18 @@
instancerelation_tmp = InstanceRelation.new
instancerelation_tmp.deserialize(i)
@InstanceDetails << instancerelation_tmp
end
end
+ unless params['InstanceDetailRule'].nil?
+ @InstanceDetailRule = []
+ params['InstanceDetailRule'].each do |i|
+ ruleinstancerelation_tmp = RuleInstanceRelation.new
+ ruleinstancerelation_tmp.deserialize(i)
+ @InstanceDetailRule << ruleinstancerelation_tmp
+ end
+ end
end
end
# 7层转发规则
class Layer7Rule < TencentCloud::Common::AbstractModel
@@ -5499,20 +5510,23 @@
# @type Domain: String
# @param ProxyTypeList: 转发类型列表
# @type ProxyTypeList: Array
# @param RealServers: 源站列表
# @type RealServers: Array
- # @param InstanceDetails: 规则所属的资源实例
+ # @param InstanceDetails: 资源实例
# @type InstanceDetails: Array
+ # @param InstanceDetailRule: 规则所属的资源实例
+ # @type InstanceDetailRule: Array
- attr_accessor :Domain, :ProxyTypeList, :RealServers, :InstanceDetails
+ attr_accessor :Domain, :ProxyTypeList, :RealServers, :InstanceDetails, :InstanceDetailRule
- def initialize(domain=nil, proxytypelist=nil, realservers=nil, instancedetails=nil)
+ def initialize(domain=nil, proxytypelist=nil, realservers=nil, instancedetails=nil, instancedetailrule=nil)
@Domain = domain
@ProxyTypeList = proxytypelist
@RealServers = realservers
@InstanceDetails = instancedetails
+ @InstanceDetailRule = instancedetailrule
end
def deserialize(params)
@Domain = params['Domain']
unless params['ProxyTypeList'].nil?
@@ -5537,10 +5551,18 @@
instancerelation_tmp = InstanceRelation.new
instancerelation_tmp.deserialize(i)
@InstanceDetails << instancerelation_tmp
end
end
+ unless params['InstanceDetailRule'].nil?
+ @InstanceDetailRule = []
+ params['InstanceDetailRule'].each do |i|
+ ruleinstancerelation_tmp = RuleInstanceRelation.new
+ ruleinstancerelation_tmp.deserialize(i)
+ @InstanceDetailRule << ruleinstancerelation_tmp
+ end
+ end
end
end
# 域名与协议纬度的CC防护阈值
class ListenerCcThreholdConfig < TencentCloud::Common::AbstractModel
@@ -6777,9 +6799,33 @@
@Region = region
end
def deserialize(params)
@Region = params['Region']
+ end
+ end
+
+ # 四七层规则的
+ class RuleInstanceRelation < TencentCloud::Common::AbstractModel
+ # @param EipList: 资源实例的IP
+ # @type EipList: Array
+ # @param InstanceId: 资源实例的ID
+ # @type InstanceId: String
+ # @param Cname: 资源实例的Cname
+ # @type Cname: String
+
+ attr_accessor :EipList, :InstanceId, :Cname
+
+ def initialize(eiplist=nil, instanceid=nil, cname=nil)
+ @EipList = eiplist
+ @InstanceId = instanceid
+ @Cname = cname
+ end
+
+ def deserialize(params)
+ @EipList = params['EipList']
+ @InstanceId = params['InstanceId']
+ @Cname = params['Cname']
end
end
# 调度域名信息
class SchedulingDomainInfo < TencentCloud::Common::AbstractModel