Class: TencentCloud::Clb::V20180317::DescribeClassicalLBListenersRequest

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

Overview

DescribeClassicalLBListeners请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(loadbalancerid = nil, listenerids = nil, protocol = nil, listenerport = nil, status = nil) ⇒ DescribeClassicalLBListenersRequest

Returns a new instance of DescribeClassicalLBListenersRequest.



2685
2686
2687
2688
2689
2690
2691
# File 'lib/v20180317/models.rb', line 2685

def initialize(loadbalancerid=nil, listenerids=nil, protocol=nil, listenerport=nil, status=nil)
  @LoadBalancerId = loadbalancerid
  @ListenerIds = listenerids
  @Protocol = protocol
  @ListenerPort = listenerport
  @Status = status
end

Instance Attribute Details

#ListenerIdsObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID。

  • ListenerIds:

    负载均衡监听器ID列表。

  • Protocol:

    负载均衡监听的协议:'TCP', 'UDP', 'HTTP', 'HTTPS'。

  • ListenerPort:

    负载均衡监听端口,范围为[1-65535]。

  • Status:

    监听器的状态,0:创建中,1:运行中。



2683
2684
2685
# File 'lib/v20180317/models.rb', line 2683

def ListenerIds
  @ListenerIds
end

#ListenerPortObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID。

  • ListenerIds:

    负载均衡监听器ID列表。

  • Protocol:

    负载均衡监听的协议:'TCP', 'UDP', 'HTTP', 'HTTPS'。

  • ListenerPort:

    负载均衡监听端口,范围为[1-65535]。

  • Status:

    监听器的状态,0:创建中,1:运行中。



2683
2684
2685
# File 'lib/v20180317/models.rb', line 2683

def ListenerPort
  @ListenerPort
end

#LoadBalancerIdObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID。

  • ListenerIds:

    负载均衡监听器ID列表。

  • Protocol:

    负载均衡监听的协议:'TCP', 'UDP', 'HTTP', 'HTTPS'。

  • ListenerPort:

    负载均衡监听端口,范围为[1-65535]。

  • Status:

    监听器的状态,0:创建中,1:运行中。



2683
2684
2685
# File 'lib/v20180317/models.rb', line 2683

def LoadBalancerId
  @LoadBalancerId
end

#ProtocolObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID。

  • ListenerIds:

    负载均衡监听器ID列表。

  • Protocol:

    负载均衡监听的协议:'TCP', 'UDP', 'HTTP', 'HTTPS'。

  • ListenerPort:

    负载均衡监听端口,范围为[1-65535]。

  • Status:

    监听器的状态,0:创建中,1:运行中。



2683
2684
2685
# File 'lib/v20180317/models.rb', line 2683

def Protocol
  @Protocol
end

#StatusObject

Parameters:

  • LoadBalancerId:

    负载均衡实例ID。

  • ListenerIds:

    负载均衡监听器ID列表。

  • Protocol:

    负载均衡监听的协议:'TCP', 'UDP', 'HTTP', 'HTTPS'。

  • ListenerPort:

    负载均衡监听端口,范围为[1-65535]。

  • Status:

    监听器的状态,0:创建中,1:运行中。



2683
2684
2685
# File 'lib/v20180317/models.rb', line 2683

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



2693
2694
2695
2696
2697
2698
2699
# File 'lib/v20180317/models.rb', line 2693

def deserialize(params)
  @LoadBalancerId = params['LoadBalancerId']
  @ListenerIds = params['ListenerIds']
  @Protocol = params['Protocol']
  @ListenerPort = params['ListenerPort']
  @Status = params['Status']
end