Class: TencentCloud::Clb::V20180317::RuleInput
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::RuleInput
- Defined in:
- lib/v20180317/models.rb
Overview
HTTP/HTTPS转发规则(输入)
Instance Attribute Summary collapse
-
#Certificate ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。.
-
#DefaultServer ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。.
-
#Domain ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。.
-
#Domains ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。.
-
#ForwardType ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。.
-
#HealthCheck ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。.
-
#Http2 ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。.
-
#MultiCertInfo ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。.
-
#Quic ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。.
-
#Scheduler ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。.
-
#SessionExpireTime ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。.
-
#TargetType ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。.
-
#TrpcCallee ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。.
-
#TrpcFunc ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。.
-
#Url ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(url = nil, domain = nil, sessionexpiretime = nil, healthcheck = nil, certificate = nil, scheduler = nil, forwardtype = nil, defaultserver = nil, http2 = nil, targettype = nil, trpccallee = nil, trpcfunc = nil, quic = nil, domains = nil, multicertinfo = nil) ⇒ RuleInput
constructor
A new instance of RuleInput.
Constructor Details
#initialize(url = nil, domain = nil, sessionexpiretime = nil, healthcheck = nil, certificate = nil, scheduler = nil, forwardtype = nil, defaultserver = nil, http2 = nil, targettype = nil, trpccallee = nil, trpcfunc = nil, quic = nil, domains = nil, multicertinfo = nil) ⇒ RuleInput
Returns a new instance of RuleInput.
7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 |
# File 'lib/v20180317/models.rb', line 7874 def initialize(url=nil, domain=nil, sessionexpiretime=nil, healthcheck=nil, certificate=nil, scheduler=nil, forwardtype=nil, defaultserver=nil, http2=nil, targettype=nil, trpccallee=nil, trpcfunc=nil, quic=nil, domains=nil, multicertinfo=nil) @Url = url @Domain = domain @SessionExpireTime = sessionexpiretime @HealthCheck = healthcheck @Certificate = certificate @Scheduler = scheduler @ForwardType = forwardtype @DefaultServer = defaultserver @Http2 = http2 @TargetType = targettype @TrpcCallee = trpccallee @TrpcFunc = trpcfunc @Quic = quic @Domains = domains @MultiCertInfo = multicertinfo end |
Instance Attribute Details
#Certificate ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7872 7873 7874 |
# File 'lib/v20180317/models.rb', line 7872 def Certificate @Certificate end |
#DefaultServer ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7872 7873 7874 |
# File 'lib/v20180317/models.rb', line 7872 def DefaultServer @DefaultServer end |
#Domain ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7872 7873 7874 |
# File 'lib/v20180317/models.rb', line 7872 def Domain @Domain end |
#Domains ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7872 7873 7874 |
# File 'lib/v20180317/models.rb', line 7872 def Domains @Domains end |
#ForwardType ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7872 7873 7874 |
# File 'lib/v20180317/models.rb', line 7872 def ForwardType @ForwardType end |
#HealthCheck ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7872 7873 7874 |
# File 'lib/v20180317/models.rb', line 7872 def HealthCheck @HealthCheck end |
#Http2 ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7872 7873 7874 |
# File 'lib/v20180317/models.rb', line 7872 def Http2 @Http2 end |
#MultiCertInfo ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7872 7873 7874 |
# File 'lib/v20180317/models.rb', line 7872 def MultiCertInfo @MultiCertInfo end |
#Quic ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7872 7873 7874 |
# File 'lib/v20180317/models.rb', line 7872 def Quic @Quic end |
#Scheduler ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7872 7873 7874 |
# File 'lib/v20180317/models.rb', line 7872 def Scheduler @Scheduler end |
#SessionExpireTime ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7872 7873 7874 |
# File 'lib/v20180317/models.rb', line 7872 def SessionExpireTime @SessionExpireTime end |
#TargetType ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7872 7873 7874 |
# File 'lib/v20180317/models.rb', line 7872 def TargetType @TargetType end |
#TrpcCallee ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7872 7873 7874 |
# File 'lib/v20180317/models.rb', line 7872 def TrpcCallee @TrpcCallee end |
#TrpcFunc ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7872 7873 7874 |
# File 'lib/v20180317/models.rb', line 7872 def TrpcFunc @TrpcFunc end |
#Url ⇒ Object
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7872 7873 7874 |
# File 'lib/v20180317/models.rb', line 7872 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 |
# File 'lib/v20180317/models.rb', line 7892 def deserialize(params) @Url = params['Url'] @Domain = params['Domain'] @SessionExpireTime = params['SessionExpireTime'] unless params['HealthCheck'].nil? @HealthCheck = HealthCheck.new @HealthCheck.deserialize(params['HealthCheck']) end unless params['Certificate'].nil? @Certificate = CertificateInput.new @Certificate.deserialize(params['Certificate']) end @Scheduler = params['Scheduler'] @ForwardType = params['ForwardType'] @DefaultServer = params['DefaultServer'] @Http2 = params['Http2'] @TargetType = params['TargetType'] @TrpcCallee = params['TrpcCallee'] @TrpcFunc = params['TrpcFunc'] @Quic = params['Quic'] @Domains = params['Domains'] unless params['MultiCertInfo'].nil? @MultiCertInfo = MultiCertInfo.new @MultiCertInfo.deserialize(params['MultiCertInfo']) end end |