Class: TencentCloud::Clb::V20180317::DescribeClusterResourcesRequest

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

Overview

DescribeClusterResources请求参数结构体

Instance Attribute Summary collapse

  • #Limit ⇒ Object
  • cluster-id - String - 是否必填:否 - (过滤条件)按照 集群 的唯一ID过滤,如 :"tgw-12345678","stgw-12345678","vpcgw-12345678"。
  • vip - String - 是否必填:否 - (过滤条件)按照vip过滤。
  • loadbalancer-id - String - 是否必填:否 - (过滤条件)按照负载均衡唯一ID过滤。
  • idle - String 是否必填:否 - (过滤条件)按照是否闲置过滤,如"True","False"。
  • .
  • #Offset ⇒ Object
  • cluster-id - String - 是否必填:否 - (过滤条件)按照 集群 的唯一ID过滤,如 :"tgw-12345678","stgw-12345678","vpcgw-12345678"。
  • vip - String - 是否必填:否 - (过滤条件)按照vip过滤。
  • loadbalancer-id - String - 是否必填:否 - (过滤条件)按照负载均衡唯一ID过滤。
  • idle - String 是否必填:否 - (过滤条件)按照是否闲置过滤,如"True","False"。
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(limit = nil, offset = nil, filters = nil) ⇒ DescribeClusterResourcesRequest

    Returns a new instance of DescribeClusterResourcesRequest.

    
    
    2822
    2823
    2824
    2825
    2826
    # File 'lib/v20180317/models.rb', line 2822
    
    def initialize(limit=nil, offset=nil, filters=nil)
      @Limit = limit
      @Offset = offset
      @Filters = filters
    end

    Instance Attribute Details

    #FiltersObject

  • cluster-id - String - 是否必填:否 - (过滤条件)按照 集群 的唯一ID过滤,如 :"tgw-12345678","stgw-12345678","vpcgw-12345678"。
  • vip - String - 是否必填:否 - (过滤条件)按照vip过滤。
  • loadbalancer-id - String - 是否必填:否 - (过滤条件)按照负载均衡唯一ID过滤。
  • idle - String 是否必填:否 - (过滤条件)按照是否闲置过滤,如"True","False"。
  • Parameters:

    • Limit:

      返回集群中资源列表数目,默认为20,最大值为100。

    • Offset:

      返回集群中资源列表起始偏移量,默认为0。

    • Filters:

      查询集群中资源列表条件,详细的过滤条件如下:

    
    
    2820
    2821
    2822
    # File 'lib/v20180317/models.rb', line 2820
    
    def Filters
      @Filters
    end

    #LimitObject

  • cluster-id - String - 是否必填:否 - (过滤条件)按照 集群 的唯一ID过滤,如 :"tgw-12345678","stgw-12345678","vpcgw-12345678"。
  • vip - String - 是否必填:否 - (过滤条件)按照vip过滤。
  • loadbalancer-id - String - 是否必填:否 - (过滤条件)按照负载均衡唯一ID过滤。
  • idle - String 是否必填:否 - (过滤条件)按照是否闲置过滤,如"True","False"。
  • Parameters:

    • Limit:

      返回集群中资源列表数目,默认为20,最大值为100。

    • Offset:

      返回集群中资源列表起始偏移量,默认为0。

    • Filters:

      查询集群中资源列表条件,详细的过滤条件如下:

    
    
    2820
    2821
    2822
    # File 'lib/v20180317/models.rb', line 2820
    
    def Limit
      @Limit
    end

    #OffsetObject

  • cluster-id - String - 是否必填:否 - (过滤条件)按照 集群 的唯一ID过滤,如 :"tgw-12345678","stgw-12345678","vpcgw-12345678"。
  • vip - String - 是否必填:否 - (过滤条件)按照vip过滤。
  • loadbalancer-id - String - 是否必填:否 - (过滤条件)按照负载均衡唯一ID过滤。
  • idle - String 是否必填:否 - (过滤条件)按照是否闲置过滤,如"True","False"。
  • Parameters:

    • Limit:

      返回集群中资源列表数目,默认为20,最大值为100。

    • Offset:

      返回集群中资源列表起始偏移量,默认为0。

    • Filters:

      查询集群中资源列表条件,详细的过滤条件如下:

    
    
    2820
    2821
    2822
    # File 'lib/v20180317/models.rb', line 2820
    
    def Offset
      @Offset
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    2828
    2829
    2830
    2831
    2832
    2833
    2834
    2835
    2836
    2837
    2838
    2839
    # File 'lib/v20180317/models.rb', line 2828
    
    def deserialize(params)
      @Limit = params['Limit']
      @Offset = params['Offset']
      unless params['Filters'].nil?
        @Filters = []
        params['Filters'].each do |i|
          filter_tmp = Filter.new
          filter_tmp.deserialize(i)
          @Filters << filter_tmp
        end
      end
    end