lib/v20180317/models.rb in tencentcloud-sdk-clb-1.0.244 vs lib/v20180317/models.rb in tencentcloud-sdk-clb-1.0.245

- old
+ new

@@ -5986,14 +5986,14 @@ end end # HTTP/HTTPS转发规则(输入) class RuleInput < TencentCloud::Common::AbstractModel - # @param Domain: 转发规则的域名。长度限制为:1~80。 - # @type Domain: String # @param Url: 转发规则的路径。长度限制为:1~200。 # @type Url: String + # @param Domain: 转发规则的域名。长度限制为:1~80。Domain和Domains只需要传一个,单域名规则传Domain,多域名规则传Domains。 + # @type Domain: String # @param SessionExpireTime: 会话保持时间。设置为0表示关闭会话保持,开启会话保持可取值30~3600,单位:秒。 # @type SessionExpireTime: Integer # @param HealthCheck: 健康检查信息。详情请参见:[健康检查](https://cloud.tencent.com/document/product/214/6097) # @type HealthCheck: :class:`Tencentcloud::Clb.v20180317.models.HealthCheck` # @param Certificate: 证书信息 @@ -6013,16 +6013,18 @@ # @type TrpcCallee: String # @param TrpcFunc: TRPC调用服务接口,ForwardType为TRPC时必填 # @type TrpcFunc: String # @param Quic: 是否开启QUIC,注意,只有HTTPS域名才能开启QUIC # @type Quic: Boolean + # @param Domains: 转发规则的域名列表。每个域名的长度限制为:1~80。Domain和Domains只需要传一个,单域名规则传Domain,多域名规则传Domains。 + # @type Domains: Array - attr_accessor :Domain, :Url, :SessionExpireTime, :HealthCheck, :Certificate, :Scheduler, :ForwardType, :DefaultServer, :Http2, :TargetType, :TrpcCallee, :TrpcFunc, :Quic + attr_accessor :Url, :Domain, :SessionExpireTime, :HealthCheck, :Certificate, :Scheduler, :ForwardType, :DefaultServer, :Http2, :TargetType, :TrpcCallee, :TrpcFunc, :Quic, :Domains - def initialize(domain=nil, url=nil, sessionexpiretime=nil, healthcheck=nil, certificate=nil, scheduler=nil, forwardtype=nil, defaultserver=nil, http2=nil, targettype=nil, trpccallee=nil, trpcfunc=nil, quic=nil) - @Domain = domain + 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) @Url = url + @Domain = domain @SessionExpireTime = sessionexpiretime @HealthCheck = healthcheck @Certificate = certificate @Scheduler = scheduler @ForwardType = forwardtype @@ -6030,15 +6032,16 @@ @Http2 = http2 @TargetType = targettype @TrpcCallee = trpccallee @TrpcFunc = trpcfunc @Quic = quic + @Domains = domains end def deserialize(params) - @Domain = params['Domain'] @Url = params['Url'] + @Domain = params['Domain'] @SessionExpireTime = params['SessionExpireTime'] unless params['HealthCheck'].nil? @HealthCheck = HealthCheck.new @HealthCheck.deserialize(params['HealthCheck']) end @@ -6052,9 +6055,10 @@ @Http2 = params['Http2'] @TargetType = params['TargetType'] @TrpcCallee = params['TrpcCallee'] @TrpcFunc = params['TrpcFunc'] @Quic = params['Quic'] + @Domains = params['Domains'] end end # HTTP/HTTPS监听器的转发规则(输出) class RuleOutput < TencentCloud::Common::AbstractModel