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.
7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 |
# File 'lib/v20180317/models.rb', line 7977 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,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def BeAutoCreated @BeAutoCreated end |
#Certificate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def Certificate @Certificate end |
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def CreateTime @CreateTime end |
#DefaultServer ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def DefaultServer @DefaultServer end |
#Domain ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def Domain @Domain end |
#Domains ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def Domains @Domains end |
#ForwardType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def ForwardType @ForwardType end |
#HealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def HealthCheck @HealthCheck end |
#Http2 ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def Http2 @Http2 end |
#HttpGzip ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def HttpGzip @HttpGzip end |
#ListenerId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def ListenerId @ListenerId end |
#LocationId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def LocationId @LocationId end |
#OAuth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def OAuth @OAuth end |
#QuicStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def QuicStatus @QuicStatus end |
#RewriteTarget ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def RewriteTarget @RewriteTarget end |
#Scheduler ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def Scheduler @Scheduler end |
#SessionExpireTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def SessionExpireTime @SessionExpireTime end |
#TargetGroup ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def TargetGroup @TargetGroup end |
#TargetGroupList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def TargetGroupList @TargetGroupList end |
#TargetType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def TargetType @TargetType end |
#TrpcCallee ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def TrpcCallee @TrpcCallee end |
#TrpcFunc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def TrpcFunc @TrpcFunc end |
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def Url @Url end |
#WafDomainId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7975 7976 7977 |
# File 'lib/v20180317/models.rb', line 7975 def WafDomainId @WafDomainId end |
Instance Method Details
#deserialize(params) ⇒ Object
8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 |
# File 'lib/v20180317/models.rb', line 8004 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 |