Class: TencentCloud::Tdmq::V20200217::DescribeRabbitMQNodeListRequest

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

Overview

DescribeRabbitMQNodeList请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, offset = nil, limit = nil, nodename = nil, filters = nil, sortelement = nil, sortorder = nil) ⇒ DescribeRabbitMQNodeListRequest

Returns a new instance of DescribeRabbitMQNodeListRequest.



5092
5093
5094
5095
5096
5097
5098
5099
5100
# File 'lib/v20200217/models.rb', line 5092

def initialize(instanceid=nil, offset=nil, limit=nil, nodename=nil, filters=nil, sortelement=nil, sortorder=nil)
  @InstanceId = instanceid
  @Offset = offset
  @Limit = limit
  @NodeName = nodename
  @Filters = filters
  @SortElement = sortelement
  @SortOrder = sortorder
end

Instance Attribute Details

#FiltersObject

现在只有一个nodeStatus running/down 数组类型,兼容后续添加过滤参数 cpuUsage/diskUsage ascend/descend

Parameters:

  • InstanceId:

    rabbitmq集群ID

  • Offset:

    偏移量

  • Limit:

    一页限制

  • NodeName:

    模糊搜索节点名字

  • Filters:

    过滤参数的名字和数值

  • SortElement:

    按指定元素排序,现在只有2个

  • SortOrder:

    升序/降序



5090
5091
5092
# File 'lib/v20200217/models.rb', line 5090

def Filters
  @Filters
end

#InstanceIdObject

现在只有一个nodeStatus running/down 数组类型,兼容后续添加过滤参数 cpuUsage/diskUsage ascend/descend

Parameters:

  • InstanceId:

    rabbitmq集群ID

  • Offset:

    偏移量

  • Limit:

    一页限制

  • NodeName:

    模糊搜索节点名字

  • Filters:

    过滤参数的名字和数值

  • SortElement:

    按指定元素排序,现在只有2个

  • SortOrder:

    升序/降序



5090
5091
5092
# File 'lib/v20200217/models.rb', line 5090

def InstanceId
  @InstanceId
end

#LimitObject

现在只有一个nodeStatus running/down 数组类型,兼容后续添加过滤参数 cpuUsage/diskUsage ascend/descend

Parameters:

  • InstanceId:

    rabbitmq集群ID

  • Offset:

    偏移量

  • Limit:

    一页限制

  • NodeName:

    模糊搜索节点名字

  • Filters:

    过滤参数的名字和数值

  • SortElement:

    按指定元素排序,现在只有2个

  • SortOrder:

    升序/降序



5090
5091
5092
# File 'lib/v20200217/models.rb', line 5090

def Limit
  @Limit
end

#NodeNameObject

现在只有一个nodeStatus running/down 数组类型,兼容后续添加过滤参数 cpuUsage/diskUsage ascend/descend

Parameters:

  • InstanceId:

    rabbitmq集群ID

  • Offset:

    偏移量

  • Limit:

    一页限制

  • NodeName:

    模糊搜索节点名字

  • Filters:

    过滤参数的名字和数值

  • SortElement:

    按指定元素排序,现在只有2个

  • SortOrder:

    升序/降序



5090
5091
5092
# File 'lib/v20200217/models.rb', line 5090

def NodeName
  @NodeName
end

#OffsetObject

现在只有一个nodeStatus running/down 数组类型,兼容后续添加过滤参数 cpuUsage/diskUsage ascend/descend

Parameters:

  • InstanceId:

    rabbitmq集群ID

  • Offset:

    偏移量

  • Limit:

    一页限制

  • NodeName:

    模糊搜索节点名字

  • Filters:

    过滤参数的名字和数值

  • SortElement:

    按指定元素排序,现在只有2个

  • SortOrder:

    升序/降序



5090
5091
5092
# File 'lib/v20200217/models.rb', line 5090

def Offset
  @Offset
end

#SortElementObject

现在只有一个nodeStatus running/down 数组类型,兼容后续添加过滤参数 cpuUsage/diskUsage ascend/descend

Parameters:

  • InstanceId:

    rabbitmq集群ID

  • Offset:

    偏移量

  • Limit:

    一页限制

  • NodeName:

    模糊搜索节点名字

  • Filters:

    过滤参数的名字和数值

  • SortElement:

    按指定元素排序,现在只有2个

  • SortOrder:

    升序/降序



5090
5091
5092
# File 'lib/v20200217/models.rb', line 5090

def SortElement
  @SortElement
end

#SortOrderObject

现在只有一个nodeStatus running/down 数组类型,兼容后续添加过滤参数 cpuUsage/diskUsage ascend/descend

Parameters:

  • InstanceId:

    rabbitmq集群ID

  • Offset:

    偏移量

  • Limit:

    一页限制

  • NodeName:

    模糊搜索节点名字

  • Filters:

    过滤参数的名字和数值

  • SortElement:

    按指定元素排序,现在只有2个

  • SortOrder:

    升序/降序



5090
5091
5092
# File 'lib/v20200217/models.rb', line 5090

def SortOrder
  @SortOrder
end

Instance Method Details

#deserialize(params) ⇒ Object



5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
# File 'lib/v20200217/models.rb', line 5102

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Offset = params['Offset']
  @Limit = params['Limit']
  @NodeName = params['NodeName']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @Filters << filter_tmp
    end
  end
  @SortElement = params['SortElement']
  @SortOrder = params['SortOrder']
end