Class: TencentCloud::Clb::V20180317::DescribeTargetsRequest

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

Overview

DescribeTargets请求参数结构体

Instance Attribute Summary collapse

  • #ListenerIds ⇒ Object
  • location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:"loc-12345678"。
  • private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:"172.16.1.1"。
  • tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:"tag-test"。
  • .
  • #LoadBalancerId ⇒ Object
  • location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:"loc-12345678"。
  • private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:"172.16.1.1"。
  • tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:"tag-test"。
  • .
  • #Port ⇒ Object
  • location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:"loc-12345678"。
  • private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:"172.16.1.1"。
  • tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:"tag-test"。
  • .
  • #Protocol ⇒ Object
  • location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:"loc-12345678"。
  • private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:"172.16.1.1"。
  • tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:"tag-test"。
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(loadbalancerid = nil, listenerids = nil, protocol = nil, port = nil, filters = nil) ⇒ DescribeTargetsRequest

    Returns a new instance of DescribeTargetsRequest.

    
    
    4272
    4273
    4274
    4275
    4276
    4277
    4278
    # File 'lib/v20180317/models.rb', line 4272
    
    def initialize(loadbalancerid=nil, listenerids=nil, protocol=nil, port=nil, filters=nil)
      @LoadBalancerId = loadbalancerid
      @ListenerIds = listenerids
      @Protocol = protocol
      @Port = port
      @Filters = filters
    end

    Instance Attribute Details

    #FiltersObject

  • location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:"loc-12345678"。
  • private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:"172.16.1.1"。
  • tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:"tag-test"。
  • Parameters:

    • LoadBalancerId:

      负载均衡实例 ID。

    • ListenerIds:

      监听器 ID 列表。ID 数量上限为20个。

    • Protocol:

      监听器协议类型。

    • Port:

      监听器端口。

    • Filters:

      查询负载均衡绑定的后端服务列表,过滤条件如下:

    
    
    4270
    4271
    4272
    # File 'lib/v20180317/models.rb', line 4270
    
    def Filters
      @Filters
    end

    #ListenerIdsObject

  • location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:"loc-12345678"。
  • private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:"172.16.1.1"。
  • tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:"tag-test"。
  • Parameters:

    • LoadBalancerId:

      负载均衡实例 ID。

    • ListenerIds:

      监听器 ID 列表。ID 数量上限为20个。

    • Protocol:

      监听器协议类型。

    • Port:

      监听器端口。

    • Filters:

      查询负载均衡绑定的后端服务列表,过滤条件如下:

    
    
    4270
    4271
    4272
    # File 'lib/v20180317/models.rb', line 4270
    
    def ListenerIds
      @ListenerIds
    end

    #LoadBalancerIdObject

  • location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:"loc-12345678"。
  • private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:"172.16.1.1"。
  • tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:"tag-test"。
  • Parameters:

    • LoadBalancerId:

      负载均衡实例 ID。

    • ListenerIds:

      监听器 ID 列表。ID 数量上限为20个。

    • Protocol:

      监听器协议类型。

    • Port:

      监听器端口。

    • Filters:

      查询负载均衡绑定的后端服务列表,过滤条件如下:

    
    
    4270
    4271
    4272
    # File 'lib/v20180317/models.rb', line 4270
    
    def LoadBalancerId
      @LoadBalancerId
    end

    #PortObject

  • location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:"loc-12345678"。
  • private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:"172.16.1.1"。
  • tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:"tag-test"。
  • Parameters:

    • LoadBalancerId:

      负载均衡实例 ID。

    • ListenerIds:

      监听器 ID 列表。ID 数量上限为20个。

    • Protocol:

      监听器协议类型。

    • Port:

      监听器端口。

    • Filters:

      查询负载均衡绑定的后端服务列表,过滤条件如下:

    
    
    4270
    4271
    4272
    # File 'lib/v20180317/models.rb', line 4270
    
    def Port
      @Port
    end

    #ProtocolObject

  • location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:"loc-12345678"。
  • private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:"172.16.1.1"。
  • tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:"tag-test"。
  • Parameters:

    • LoadBalancerId:

      负载均衡实例 ID。

    • ListenerIds:

      监听器 ID 列表。ID 数量上限为20个。

    • Protocol:

      监听器协议类型。

    • Port:

      监听器端口。

    • Filters:

      查询负载均衡绑定的后端服务列表,过滤条件如下:

    
    
    4270
    4271
    4272
    # File 'lib/v20180317/models.rb', line 4270
    
    def Protocol
      @Protocol
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    4280
    4281
    4282
    4283
    4284
    4285
    4286
    4287
    4288
    4289
    4290
    4291
    4292
    4293
    # File 'lib/v20180317/models.rb', line 4280
    
    def deserialize(params)
      @LoadBalancerId = params['LoadBalancerId']
      @ListenerIds = params['ListenerIds']
      @Protocol = params['Protocol']
      @Port = params['Port']
      unless params['Filters'].nil?
        @Filters = []
        params['Filters'].each do |i|
          filter_tmp = Filter.new
          filter_tmp.deserialize(i)
          @Filters << filter_tmp
        end
      end
    end