Class: TencentCloud::Clb::V20180317::RuleInput

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180317/models.rb

Overview

HTTP/HTTPS转发规则(输入)

Instance Attribute Summary collapse

Instance Method Summary collapse

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, cookiename = nil) ⇒ RuleInput



7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
# File 'lib/v20180317/models.rb', line 7679

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, cookiename=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
  @CookieName = cookiename
end

Instance Attribute Details

#CertificateObject

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def Certificate
  @Certificate
end

#CookieNameObject

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def CookieName
  @CookieName
end

#DefaultServerObject

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def DefaultServer
  @DefaultServer
end

#DomainObject

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def Domain
  @Domain
end

#DomainsObject

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def Domains
  @Domains
end

#ForwardTypeObject

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def ForwardType
  @ForwardType
end

#HealthCheckObject

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def HealthCheck
  @HealthCheck
end

#Http2Object

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def Http2
  @Http2
end

#MultiCertInfoObject

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def MultiCertInfo
  @MultiCertInfo
end

#QuicObject

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def Quic
  @Quic
end

#SchedulerObject

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def Scheduler
  @Scheduler
end

#SessionExpireTimeObject

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def SessionExpireTime
  @SessionExpireTime
end

#TargetTypeObject

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def TargetType
  @TargetType
end

#TrpcCalleeObject

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def TrpcCallee
  @TrpcCallee
end

#TrpcFuncObject

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def TrpcFunc
  @TrpcFunc
end

#UrlObject

分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。



7677
7678
7679
# File 'lib/v20180317/models.rb', line 7677

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
# File 'lib/v20180317/models.rb', line 7698

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
  @CookieName = params['CookieName']
end