Class: TencentCloud::Clb::V20180317::RuleOutput
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::RuleOutput
- Defined in:
- lib/v20180317/models.rb
Overview
HTTP/HTTPS监听器的转发规则(输出)
Instance Attribute Summary collapse
-
#BeAutoCreated ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Certificate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#DefaultServer ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Domain ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Domains ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ForwardType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Http2 ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HttpGzip ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ListenerId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LocationId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#OAuth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#QuicStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RewriteTarget ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Scheduler ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SessionExpireTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TargetGroup ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TargetGroupList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TargetType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TrpcCallee ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TrpcFunc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#WafDomainId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(locationid = nil, domain = nil, url = nil, sessionexpiretime = nil, healthcheck = nil, certificate = nil, scheduler = nil, listenerid = nil, rewritetarget = nil, httpgzip = nil, beautocreated = nil, defaultserver = nil, http2 = nil, forwardtype = nil, createtime = nil, targettype = nil, targetgroup = nil, wafdomainid = nil, trpccallee = nil, trpcfunc = nil, quicstatus = nil, domains = nil, targetgrouplist = nil, oauth = nil) ⇒ RuleOutput
constructor
A new instance of RuleOutput.
Constructor Details
#initialize(locationid = nil, domain = nil, url = nil, sessionexpiretime = nil, healthcheck = nil, certificate = nil, scheduler = nil, listenerid = nil, rewritetarget = nil, httpgzip = nil, beautocreated = nil, defaultserver = nil, http2 = nil, forwardtype = nil, createtime = nil, targettype = nil, targetgroup = nil, wafdomainid = nil, trpccallee = nil, trpcfunc = nil, quicstatus = nil, domains = nil, targetgrouplist = nil, oauth = nil) ⇒ RuleOutput
Returns a new instance of RuleOutput.
7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 |
# File 'lib/v20180317/models.rb', line 7837 def initialize(locationid=nil, domain=nil, url=nil, sessionexpiretime=nil, healthcheck=nil, certificate=nil, scheduler=nil, listenerid=nil, rewritetarget=nil, httpgzip=nil, beautocreated=nil, defaultserver=nil, http2=nil, forwardtype=nil, createtime=nil, targettype=nil, targetgroup=nil, wafdomainid=nil, trpccallee=nil, trpcfunc=nil, quicstatus=nil, domains=nil, targetgrouplist=nil, oauth=nil) @LocationId = locationid @Domain = domain @Url = url @SessionExpireTime = sessionexpiretime @HealthCheck = healthcheck @Certificate = certificate @Scheduler = scheduler @ListenerId = listenerid @RewriteTarget = rewritetarget @HttpGzip = httpgzip @BeAutoCreated = beautocreated @DefaultServer = defaultserver @Http2 = http2 @ForwardType = forwardtype @CreateTime = createtime @TargetType = targettype @TargetGroup = targetgroup @WafDomainId = wafdomainid @TrpcCallee = trpccallee @TrpcFunc = trpcfunc @QuicStatus = quicstatus @Domains = domains @TargetGroupList = targetgrouplist @OAuth = oauth end |
Instance Attribute Details
#BeAutoCreated ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def BeAutoCreated @BeAutoCreated end |
#Certificate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def Certificate @Certificate end |
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def CreateTime @CreateTime end |
#DefaultServer ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def DefaultServer @DefaultServer end |
#Domain ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def Domain @Domain end |
#Domains ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def Domains @Domains end |
#ForwardType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def ForwardType @ForwardType end |
#HealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def HealthCheck @HealthCheck end |
#Http2 ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def Http2 @Http2 end |
#HttpGzip ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def HttpGzip @HttpGzip end |
#ListenerId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def ListenerId @ListenerId end |
#LocationId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def LocationId @LocationId end |
#OAuth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def OAuth @OAuth end |
#QuicStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def QuicStatus @QuicStatus end |
#RewriteTarget ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def RewriteTarget @RewriteTarget end |
#Scheduler ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def Scheduler @Scheduler end |
#SessionExpireTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def SessionExpireTime @SessionExpireTime end |
#TargetGroup ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def TargetGroup @TargetGroup end |
#TargetGroupList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def TargetGroupList @TargetGroupList end |
#TargetType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def TargetType @TargetType end |
#TrpcCallee ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def TrpcCallee @TrpcCallee end |
#TrpcFunc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def TrpcFunc @TrpcFunc end |
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def Url @Url end |
#WafDomainId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7835 7836 7837 |
# File 'lib/v20180317/models.rb', line 7835 def WafDomainId @WafDomainId end |
Instance Method Details
#deserialize(params) ⇒ Object
7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 |
# File 'lib/v20180317/models.rb', line 7864 def deserialize(params) @LocationId = params['LocationId'] @Domain = params['Domain'] @Url = params['Url'] @SessionExpireTime = params['SessionExpireTime'] unless params['HealthCheck'].nil? @HealthCheck = HealthCheck.new @HealthCheck.deserialize(params['HealthCheck']) end unless params['Certificate'].nil? @Certificate = CertificateOutput.new @Certificate.deserialize(params['Certificate']) end @Scheduler = params['Scheduler'] @ListenerId = params['ListenerId'] unless params['RewriteTarget'].nil? @RewriteTarget = RewriteTarget.new @RewriteTarget.deserialize(params['RewriteTarget']) end @HttpGzip = params['HttpGzip'] @BeAutoCreated = params['BeAutoCreated'] @DefaultServer = params['DefaultServer'] @Http2 = params['Http2'] @ForwardType = params['ForwardType'] @CreateTime = params['CreateTime'] @TargetType = params['TargetType'] unless params['TargetGroup'].nil? @TargetGroup = BasicTargetGroupInfo.new @TargetGroup.deserialize(params['TargetGroup']) end @WafDomainId = params['WafDomainId'] @TrpcCallee = params['TrpcCallee'] @TrpcFunc = params['TrpcFunc'] @QuicStatus = params['QuicStatus'] @Domains = params['Domains'] unless params['TargetGroupList'].nil? @TargetGroupList = [] params['TargetGroupList'].each do |i| basictargetgroupinfo_tmp = BasicTargetGroupInfo.new basictargetgroupinfo_tmp.deserialize(i) @TargetGroupList << basictargetgroupinfo_tmp end end unless params['OAuth'].nil? @OAuth = OAuth.new @OAuth.deserialize(params['OAuth']) end end |