lib/v20180529/models.rb in tencentcloud-sdk-gaap-1.0.353 vs lib/v20180529/models.rb in tencentcloud-sdk-gaap-1.0.354
- old
+ new
@@ -1427,14 +1427,16 @@
# @type ForwardHost: String
# @param ServerNameIndicationSwitch: 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。
# @type ServerNameIndicationSwitch: String
# @param ServerNameIndication: 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。
# @type ServerNameIndication: String
+ # @param ForcedRedirect: HTTP强制跳转HTTPS。输入当前规则对应的域名与地址。
+ # @type ForcedRedirect: String
- attr_accessor :ListenerId, :Domain, :Path, :RealServerType, :Scheduler, :HealthCheck, :CheckParams, :ForwardProtocol, :ForwardHost, :ServerNameIndicationSwitch, :ServerNameIndication
+ attr_accessor :ListenerId, :Domain, :Path, :RealServerType, :Scheduler, :HealthCheck, :CheckParams, :ForwardProtocol, :ForwardHost, :ServerNameIndicationSwitch, :ServerNameIndication, :ForcedRedirect
- def initialize(listenerid=nil, domain=nil, path=nil, realservertype=nil, scheduler=nil, healthcheck=nil, checkparams=nil, forwardprotocol=nil, forwardhost=nil, servernameindicationswitch=nil, servernameindication=nil)
+ def initialize(listenerid=nil, domain=nil, path=nil, realservertype=nil, scheduler=nil, healthcheck=nil, checkparams=nil, forwardprotocol=nil, forwardhost=nil, servernameindicationswitch=nil, servernameindication=nil, forcedredirect=nil)
@ListenerId = listenerid
@Domain = domain
@Path = path
@RealServerType = realservertype
@Scheduler = scheduler
@@ -1442,10 +1444,11 @@
@CheckParams = checkparams
@ForwardProtocol = forwardprotocol
@ForwardHost = forwardhost
@ServerNameIndicationSwitch = servernameindicationswitch
@ServerNameIndication = servernameindication
+ @ForcedRedirect = forcedredirect
end
def deserialize(params)
@ListenerId = params['ListenerId']
@Domain = params['Domain']
@@ -1459,10 +1462,11 @@
end
@ForwardProtocol = params['ForwardProtocol']
@ForwardHost = params['ForwardHost']
@ServerNameIndicationSwitch = params['ServerNameIndicationSwitch']
@ServerNameIndication = params['ServerNameIndication']
+ @ForcedRedirect = params['ForcedRedirect']
end
end
# CreateRule返回参数结构体
class CreateRuleResponse < TencentCloud::Common::AbstractModel
@@ -5531,24 +5535,27 @@
# @type ForwardHost: String
# @param ServerNameIndicationSwitch: 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。
# @type ServerNameIndicationSwitch: String
# @param ServerNameIndication: 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。
# @type ServerNameIndication: String
+ # @param ForcedRedirect: HTTP强制跳转HTTPS。输入当前规则对应的域名与地址。
+ # @type ForcedRedirect: String
- attr_accessor :ListenerId, :RuleId, :Scheduler, :HealthCheck, :CheckParams, :Path, :ForwardProtocol, :ForwardHost, :ServerNameIndicationSwitch, :ServerNameIndication
+ attr_accessor :ListenerId, :RuleId, :Scheduler, :HealthCheck, :CheckParams, :Path, :ForwardProtocol, :ForwardHost, :ServerNameIndicationSwitch, :ServerNameIndication, :ForcedRedirect
- def initialize(listenerid=nil, ruleid=nil, scheduler=nil, healthcheck=nil, checkparams=nil, path=nil, forwardprotocol=nil, forwardhost=nil, servernameindicationswitch=nil, servernameindication=nil)
+ def initialize(listenerid=nil, ruleid=nil, scheduler=nil, healthcheck=nil, checkparams=nil, path=nil, forwardprotocol=nil, forwardhost=nil, servernameindicationswitch=nil, servernameindication=nil, forcedredirect=nil)
@ListenerId = listenerid
@RuleId = ruleid
@Scheduler = scheduler
@HealthCheck = healthcheck
@CheckParams = checkparams
@Path = path
@ForwardProtocol = forwardprotocol
@ForwardHost = forwardhost
@ServerNameIndicationSwitch = servernameindicationswitch
@ServerNameIndication = servernameindication
+ @ForcedRedirect = forcedredirect
end
def deserialize(params)
@ListenerId = params['ListenerId']
@RuleId = params['RuleId']
@@ -5561,10 +5568,11 @@
@Path = params['Path']
@ForwardProtocol = params['ForwardProtocol']
@ForwardHost = params['ForwardHost']
@ServerNameIndicationSwitch = params['ServerNameIndicationSwitch']
@ServerNameIndication = params['ServerNameIndication']
+ @ForcedRedirect = params['ForcedRedirect']
end
end
# ModifyRuleAttribute返回参数结构体
class ModifyRuleAttributeResponse < TencentCloud::Common::AbstractModel
@@ -6664,14 +6672,17 @@
# @type ServerNameIndicationSwitch: String
# @param ServerNameIndication: 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。
# 注意:此字段可能返回 null,表示取不到有效值。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ServerNameIndication: String
+ # @param ForcedRedirect: 强转HTTPS指示,当传递值为https:时表示强转为https
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type ForcedRedirect: String
- attr_accessor :RuleId, :ListenerId, :Domain, :Path, :RealServerType, :Scheduler, :HealthCheck, :RuleStatus, :CheckParams, :RealServerSet, :BindStatus, :ForwardHost, :ServerNameIndicationSwitch, :ServerNameIndication
+ attr_accessor :RuleId, :ListenerId, :Domain, :Path, :RealServerType, :Scheduler, :HealthCheck, :RuleStatus, :CheckParams, :RealServerSet, :BindStatus, :ForwardHost, :ServerNameIndicationSwitch, :ServerNameIndication, :ForcedRedirect
- def initialize(ruleid=nil, listenerid=nil, domain=nil, path=nil, realservertype=nil, scheduler=nil, healthcheck=nil, rulestatus=nil, checkparams=nil, realserverset=nil, bindstatus=nil, forwardhost=nil, servernameindicationswitch=nil, servernameindication=nil)
+ def initialize(ruleid=nil, listenerid=nil, domain=nil, path=nil, realservertype=nil, scheduler=nil, healthcheck=nil, rulestatus=nil, checkparams=nil, realserverset=nil, bindstatus=nil, forwardhost=nil, servernameindicationswitch=nil, servernameindication=nil, forcedredirect=nil)
@RuleId = ruleid
@ListenerId = listenerid
@Domain = domain
@Path = path
@RealServerType = realservertype
@@ -6682,10 +6693,11 @@
@RealServerSet = realserverset
@BindStatus = bindstatus
@ForwardHost = forwardhost
@ServerNameIndicationSwitch = servernameindicationswitch
@ServerNameIndication = servernameindication
+ @ForcedRedirect = forcedredirect
end
def deserialize(params)
@RuleId = params['RuleId']
@ListenerId = params['ListenerId']
@@ -6709,9 +6721,10 @@
end
@BindStatus = params['BindStatus']
@ForwardHost = params['ForwardHost']
@ServerNameIndicationSwitch = params['ServerNameIndicationSwitch']
@ServerNameIndication = params['ServerNameIndication']
+ @ForcedRedirect = params['ForcedRedirect']
end
end
# 安全策略规则(入参)
class SecurityPolicyRuleIn < TencentCloud::Common::AbstractModel