Class: TencentCloud::Bmlb::V20180625::ModifyL7ListenerRequest

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

Overview

ModifyL7Listener请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(loadbalancerid = nil, listenerid = nil, listenername = nil, sslmode = nil, certid = nil, certname = nil, certcontent = nil, certkey = nil, certcaid = nil, certcaname = nil, certcacontent = nil, bandwidth = nil, forwardprotocol = nil) ⇒ ModifyL7ListenerRequest

Returns a new instance of ModifyL7ListenerRequest.



3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
# File 'lib/v20180625/models.rb', line 3695

def initialize(loadbalancerid=nil, listenerid=nil, listenername=nil, sslmode=nil, certid=nil, certname=nil, certcontent=nil, certkey=nil, certcaid=nil, certcaname=nil, certcacontent=nil, bandwidth=nil, forwardprotocol=nil)
  @LoadBalancerId = loadbalancerid
  @ListenerId = listenerid
  @ListenerName = listenername
  @SslMode = sslmode
  @CertId = certid
  @CertName = certname
  @CertContent = certcontent
  @CertKey = certkey
  @CertCaId = certcaid
  @CertCaName = certcaname
  @CertCaContent = certcacontent
  @Bandwidth = bandwidth
  @ForwardProtocol = forwardprotocol
end

Instance Attribute Details

#BandwidthObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID,可通过接口DescribeLoadBalancers查询。

  • ListenerId:

    七层监听器实例ID,可通过接口DescribeL7Listeners查询。

  • ListenerName:

    七层监听器名称。

  • SslMode:

    认证方式:0(不认证,用于http),1(单向认证,用于https),2(双向认证,用于https)。

  • CertId:

    服务端证书ID。

  • CertName:

    服务端证书名称。

  • CertContent:

    服务端证书内容。

  • CertKey:

    服务端证书密钥。

  • CertCaId:

    客户端证书ID。

  • CertCaName:

    客户端证书名称。

  • CertCaContent:

    客户端证书内容。

  • Bandwidth:

    计费模式为按固定带宽方式时监听器的限速值,可选值:0-1000,单位:Mbps。

  • ForwardProtocol:

    转发协议。当监听器Protocol为https时并且SslMode为1或2时,有意义。可选的值为0:https,1:spdy,2:http2,3:spdy+http2。



3693
3694
3695
# File 'lib/v20180625/models.rb', line 3693

def Bandwidth
  @Bandwidth
end

#CertCaContentObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID,可通过接口DescribeLoadBalancers查询。

  • ListenerId:

    七层监听器实例ID,可通过接口DescribeL7Listeners查询。

  • ListenerName:

    七层监听器名称。

  • SslMode:

    认证方式:0(不认证,用于http),1(单向认证,用于https),2(双向认证,用于https)。

  • CertId:

    服务端证书ID。

  • CertName:

    服务端证书名称。

  • CertContent:

    服务端证书内容。

  • CertKey:

    服务端证书密钥。

  • CertCaId:

    客户端证书ID。

  • CertCaName:

    客户端证书名称。

  • CertCaContent:

    客户端证书内容。

  • Bandwidth:

    计费模式为按固定带宽方式时监听器的限速值,可选值:0-1000,单位:Mbps。

  • ForwardProtocol:

    转发协议。当监听器Protocol为https时并且SslMode为1或2时,有意义。可选的值为0:https,1:spdy,2:http2,3:spdy+http2。



3693
3694
3695
# File 'lib/v20180625/models.rb', line 3693

def CertCaContent
  @CertCaContent
end

#CertCaIdObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID,可通过接口DescribeLoadBalancers查询。

  • ListenerId:

    七层监听器实例ID,可通过接口DescribeL7Listeners查询。

  • ListenerName:

    七层监听器名称。

  • SslMode:

    认证方式:0(不认证,用于http),1(单向认证,用于https),2(双向认证,用于https)。

  • CertId:

    服务端证书ID。

  • CertName:

    服务端证书名称。

  • CertContent:

    服务端证书内容。

  • CertKey:

    服务端证书密钥。

  • CertCaId:

    客户端证书ID。

  • CertCaName:

    客户端证书名称。

  • CertCaContent:

    客户端证书内容。

  • Bandwidth:

    计费模式为按固定带宽方式时监听器的限速值,可选值:0-1000,单位:Mbps。

  • ForwardProtocol:

    转发协议。当监听器Protocol为https时并且SslMode为1或2时,有意义。可选的值为0:https,1:spdy,2:http2,3:spdy+http2。



3693
3694
3695
# File 'lib/v20180625/models.rb', line 3693

def CertCaId
  @CertCaId
end

#CertCaNameObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID,可通过接口DescribeLoadBalancers查询。

  • ListenerId:

    七层监听器实例ID,可通过接口DescribeL7Listeners查询。

  • ListenerName:

    七层监听器名称。

  • SslMode:

    认证方式:0(不认证,用于http),1(单向认证,用于https),2(双向认证,用于https)。

  • CertId:

    服务端证书ID。

  • CertName:

    服务端证书名称。

  • CertContent:

    服务端证书内容。

  • CertKey:

    服务端证书密钥。

  • CertCaId:

    客户端证书ID。

  • CertCaName:

    客户端证书名称。

  • CertCaContent:

    客户端证书内容。

  • Bandwidth:

    计费模式为按固定带宽方式时监听器的限速值,可选值:0-1000,单位:Mbps。

  • ForwardProtocol:

    转发协议。当监听器Protocol为https时并且SslMode为1或2时,有意义。可选的值为0:https,1:spdy,2:http2,3:spdy+http2。



3693
3694
3695
# File 'lib/v20180625/models.rb', line 3693

def CertCaName
  @CertCaName
end

#CertContentObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID,可通过接口DescribeLoadBalancers查询。

  • ListenerId:

    七层监听器实例ID,可通过接口DescribeL7Listeners查询。

  • ListenerName:

    七层监听器名称。

  • SslMode:

    认证方式:0(不认证,用于http),1(单向认证,用于https),2(双向认证,用于https)。

  • CertId:

    服务端证书ID。

  • CertName:

    服务端证书名称。

  • CertContent:

    服务端证书内容。

  • CertKey:

    服务端证书密钥。

  • CertCaId:

    客户端证书ID。

  • CertCaName:

    客户端证书名称。

  • CertCaContent:

    客户端证书内容。

  • Bandwidth:

    计费模式为按固定带宽方式时监听器的限速值,可选值:0-1000,单位:Mbps。

  • ForwardProtocol:

    转发协议。当监听器Protocol为https时并且SslMode为1或2时,有意义。可选的值为0:https,1:spdy,2:http2,3:spdy+http2。



3693
3694
3695
# File 'lib/v20180625/models.rb', line 3693

def CertContent
  @CertContent
end

#CertIdObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID,可通过接口DescribeLoadBalancers查询。

  • ListenerId:

    七层监听器实例ID,可通过接口DescribeL7Listeners查询。

  • ListenerName:

    七层监听器名称。

  • SslMode:

    认证方式:0(不认证,用于http),1(单向认证,用于https),2(双向认证,用于https)。

  • CertId:

    服务端证书ID。

  • CertName:

    服务端证书名称。

  • CertContent:

    服务端证书内容。

  • CertKey:

    服务端证书密钥。

  • CertCaId:

    客户端证书ID。

  • CertCaName:

    客户端证书名称。

  • CertCaContent:

    客户端证书内容。

  • Bandwidth:

    计费模式为按固定带宽方式时监听器的限速值,可选值:0-1000,单位:Mbps。

  • ForwardProtocol:

    转发协议。当监听器Protocol为https时并且SslMode为1或2时,有意义。可选的值为0:https,1:spdy,2:http2,3:spdy+http2。



3693
3694
3695
# File 'lib/v20180625/models.rb', line 3693

def CertId
  @CertId
end

#CertKeyObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID,可通过接口DescribeLoadBalancers查询。

  • ListenerId:

    七层监听器实例ID,可通过接口DescribeL7Listeners查询。

  • ListenerName:

    七层监听器名称。

  • SslMode:

    认证方式:0(不认证,用于http),1(单向认证,用于https),2(双向认证,用于https)。

  • CertId:

    服务端证书ID。

  • CertName:

    服务端证书名称。

  • CertContent:

    服务端证书内容。

  • CertKey:

    服务端证书密钥。

  • CertCaId:

    客户端证书ID。

  • CertCaName:

    客户端证书名称。

  • CertCaContent:

    客户端证书内容。

  • Bandwidth:

    计费模式为按固定带宽方式时监听器的限速值,可选值:0-1000,单位:Mbps。

  • ForwardProtocol:

    转发协议。当监听器Protocol为https时并且SslMode为1或2时,有意义。可选的值为0:https,1:spdy,2:http2,3:spdy+http2。



3693
3694
3695
# File 'lib/v20180625/models.rb', line 3693

def CertKey
  @CertKey
end

#CertNameObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID,可通过接口DescribeLoadBalancers查询。

  • ListenerId:

    七层监听器实例ID,可通过接口DescribeL7Listeners查询。

  • ListenerName:

    七层监听器名称。

  • SslMode:

    认证方式:0(不认证,用于http),1(单向认证,用于https),2(双向认证,用于https)。

  • CertId:

    服务端证书ID。

  • CertName:

    服务端证书名称。

  • CertContent:

    服务端证书内容。

  • CertKey:

    服务端证书密钥。

  • CertCaId:

    客户端证书ID。

  • CertCaName:

    客户端证书名称。

  • CertCaContent:

    客户端证书内容。

  • Bandwidth:

    计费模式为按固定带宽方式时监听器的限速值,可选值:0-1000,单位:Mbps。

  • ForwardProtocol:

    转发协议。当监听器Protocol为https时并且SslMode为1或2时,有意义。可选的值为0:https,1:spdy,2:http2,3:spdy+http2。



3693
3694
3695
# File 'lib/v20180625/models.rb', line 3693

def CertName
  @CertName
end

#ForwardProtocolObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID,可通过接口DescribeLoadBalancers查询。

  • ListenerId:

    七层监听器实例ID,可通过接口DescribeL7Listeners查询。

  • ListenerName:

    七层监听器名称。

  • SslMode:

    认证方式:0(不认证,用于http),1(单向认证,用于https),2(双向认证,用于https)。

  • CertId:

    服务端证书ID。

  • CertName:

    服务端证书名称。

  • CertContent:

    服务端证书内容。

  • CertKey:

    服务端证书密钥。

  • CertCaId:

    客户端证书ID。

  • CertCaName:

    客户端证书名称。

  • CertCaContent:

    客户端证书内容。

  • Bandwidth:

    计费模式为按固定带宽方式时监听器的限速值,可选值:0-1000,单位:Mbps。

  • ForwardProtocol:

    转发协议。当监听器Protocol为https时并且SslMode为1或2时,有意义。可选的值为0:https,1:spdy,2:http2,3:spdy+http2。



3693
3694
3695
# File 'lib/v20180625/models.rb', line 3693

def ForwardProtocol
  @ForwardProtocol
end

#ListenerIdObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID,可通过接口DescribeLoadBalancers查询。

  • ListenerId:

    七层监听器实例ID,可通过接口DescribeL7Listeners查询。

  • ListenerName:

    七层监听器名称。

  • SslMode:

    认证方式:0(不认证,用于http),1(单向认证,用于https),2(双向认证,用于https)。

  • CertId:

    服务端证书ID。

  • CertName:

    服务端证书名称。

  • CertContent:

    服务端证书内容。

  • CertKey:

    服务端证书密钥。

  • CertCaId:

    客户端证书ID。

  • CertCaName:

    客户端证书名称。

  • CertCaContent:

    客户端证书内容。

  • Bandwidth:

    计费模式为按固定带宽方式时监听器的限速值,可选值:0-1000,单位:Mbps。

  • ForwardProtocol:

    转发协议。当监听器Protocol为https时并且SslMode为1或2时,有意义。可选的值为0:https,1:spdy,2:http2,3:spdy+http2。



3693
3694
3695
# File 'lib/v20180625/models.rb', line 3693

def ListenerId
  @ListenerId
end

#ListenerNameObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID,可通过接口DescribeLoadBalancers查询。

  • ListenerId:

    七层监听器实例ID,可通过接口DescribeL7Listeners查询。

  • ListenerName:

    七层监听器名称。

  • SslMode:

    认证方式:0(不认证,用于http),1(单向认证,用于https),2(双向认证,用于https)。

  • CertId:

    服务端证书ID。

  • CertName:

    服务端证书名称。

  • CertContent:

    服务端证书内容。

  • CertKey:

    服务端证书密钥。

  • CertCaId:

    客户端证书ID。

  • CertCaName:

    客户端证书名称。

  • CertCaContent:

    客户端证书内容。

  • Bandwidth:

    计费模式为按固定带宽方式时监听器的限速值,可选值:0-1000,单位:Mbps。

  • ForwardProtocol:

    转发协议。当监听器Protocol为https时并且SslMode为1或2时,有意义。可选的值为0:https,1:spdy,2:http2,3:spdy+http2。



3693
3694
3695
# File 'lib/v20180625/models.rb', line 3693

def ListenerName
  @ListenerName
end

#LoadBalancerIdObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID,可通过接口DescribeLoadBalancers查询。

  • ListenerId:

    七层监听器实例ID,可通过接口DescribeL7Listeners查询。

  • ListenerName:

    七层监听器名称。

  • SslMode:

    认证方式:0(不认证,用于http),1(单向认证,用于https),2(双向认证,用于https)。

  • CertId:

    服务端证书ID。

  • CertName:

    服务端证书名称。

  • CertContent:

    服务端证书内容。

  • CertKey:

    服务端证书密钥。

  • CertCaId:

    客户端证书ID。

  • CertCaName:

    客户端证书名称。

  • CertCaContent:

    客户端证书内容。

  • Bandwidth:

    计费模式为按固定带宽方式时监听器的限速值,可选值:0-1000,单位:Mbps。

  • ForwardProtocol:

    转发协议。当监听器Protocol为https时并且SslMode为1或2时,有意义。可选的值为0:https,1:spdy,2:http2,3:spdy+http2。



3693
3694
3695
# File 'lib/v20180625/models.rb', line 3693

def LoadBalancerId
  @LoadBalancerId
end

#SslModeObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID,可通过接口DescribeLoadBalancers查询。

  • ListenerId:

    七层监听器实例ID,可通过接口DescribeL7Listeners查询。

  • ListenerName:

    七层监听器名称。

  • SslMode:

    认证方式:0(不认证,用于http),1(单向认证,用于https),2(双向认证,用于https)。

  • CertId:

    服务端证书ID。

  • CertName:

    服务端证书名称。

  • CertContent:

    服务端证书内容。

  • CertKey:

    服务端证书密钥。

  • CertCaId:

    客户端证书ID。

  • CertCaName:

    客户端证书名称。

  • CertCaContent:

    客户端证书内容。

  • Bandwidth:

    计费模式为按固定带宽方式时监听器的限速值,可选值:0-1000,单位:Mbps。

  • ForwardProtocol:

    转发协议。当监听器Protocol为https时并且SslMode为1或2时,有意义。可选的值为0:https,1:spdy,2:http2,3:spdy+http2。



3693
3694
3695
# File 'lib/v20180625/models.rb', line 3693

def SslMode
  @SslMode
end

Instance Method Details

#deserialize(params) ⇒ Object



3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
# File 'lib/v20180625/models.rb', line 3711

def deserialize(params)
  @LoadBalancerId = params['LoadBalancerId']
  @ListenerId = params['ListenerId']
  @ListenerName = params['ListenerName']
  @SslMode = params['SslMode']
  @CertId = params['CertId']
  @CertName = params['CertName']
  @CertContent = params['CertContent']
  @CertKey = params['CertKey']
  @CertCaId = params['CertCaId']
  @CertCaName = params['CertCaName']
  @CertCaContent = params['CertCaContent']
  @Bandwidth = params['Bandwidth']
  @ForwardProtocol = params['ForwardProtocol']
end