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,表示取不到有效值。.
-
#CookieName ⇒ 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, cookiename = 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, cookiename = nil) ⇒ RuleOutput
Returns a new instance of RuleOutput.
7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 |
# File 'lib/v20180317/models.rb', line 7904 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, =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 @CookieName = end |
Instance Attribute Details
#BeAutoCreated ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def BeAutoCreated @BeAutoCreated end |
#Certificate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def Certificate @Certificate end |
#CookieName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def CookieName @CookieName end |
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def CreateTime @CreateTime end |
#DefaultServer ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def DefaultServer @DefaultServer end |
#Domain ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def Domain @Domain end |
#Domains ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def Domains @Domains end |
#ForwardType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def ForwardType @ForwardType end |
#HealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def HealthCheck @HealthCheck end |
#Http2 ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def Http2 @Http2 end |
#HttpGzip ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def HttpGzip @HttpGzip end |
#ListenerId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def ListenerId @ListenerId end |
#LocationId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def LocationId @LocationId end |
#OAuth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def OAuth @OAuth end |
#QuicStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def QuicStatus @QuicStatus end |
#RewriteTarget ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def RewriteTarget @RewriteTarget end |
#Scheduler ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def Scheduler @Scheduler end |
#SessionExpireTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def SessionExpireTime @SessionExpireTime end |
#TargetGroup ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def TargetGroup @TargetGroup end |
#TargetGroupList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def TargetGroupList @TargetGroupList end |
#TargetType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def TargetType @TargetType end |
#TrpcCallee ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def TrpcCallee @TrpcCallee end |
#TrpcFunc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def TrpcFunc @TrpcFunc end |
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def Url @Url end |
#WafDomainId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7902 7903 7904 |
# File 'lib/v20180317/models.rb', line 7902 def WafDomainId @WafDomainId end |
Instance Method Details
#deserialize(params) ⇒ Object
7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 |
# File 'lib/v20180317/models.rb', line 7932 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 @CookieName = params['CookieName'] end |