Class: TencentCloud::Bmlb::V20180625::DeleteListenersRequest

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

Overview

DeleteListeners请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(loadbalancerid = nil, listenerids = nil) ⇒ DeleteListenersRequest

Returns a new instance of DeleteListenersRequest.



918
919
920
921
# File 'lib/v20180625/models.rb', line 918

def initialize(loadbalancerid=nil, listenerids=nil)
  @LoadBalancerId = loadbalancerid
  @ListenerIds = listenerids
end

Instance Attribute Details

#ListenerIdsObject

Parameters:

  • LoadBalancerId:

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

  • ListenerIds:

    待删除的负载均衡四层和七层监听器ID列表,可通过接口DescribeL4Listeners和DescribeL7Listeners查询。目前同时只能删除一种类型的监听器,并且删除七层监听器的数量上限为一个。



916
917
918
# File 'lib/v20180625/models.rb', line 916

def ListenerIds
  @ListenerIds
end

#LoadBalancerIdObject

Parameters:

  • LoadBalancerId:

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

  • ListenerIds:

    待删除的负载均衡四层和七层监听器ID列表,可通过接口DescribeL4Listeners和DescribeL7Listeners查询。目前同时只能删除一种类型的监听器,并且删除七层监听器的数量上限为一个。



916
917
918
# File 'lib/v20180625/models.rb', line 916

def LoadBalancerId
  @LoadBalancerId
end

Instance Method Details

#deserialize(params) ⇒ Object



923
924
925
926
# File 'lib/v20180625/models.rb', line 923

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