Class: TencentCloud::Clb::V20180317::DescribeClusterResourcesRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeClusterResourcesRequest
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeClusterResources请求参数结构体
Instance Attribute Summary collapse
-
#Filters ⇒ Object
- cluster-id - String - 是否必填:否 - (过滤条件)按照 集群 的唯一ID过滤,如 :"tgw-12345678","stgw-12345678","vpcgw-12345678"。
- vip - String - 是否必填:否 - (过滤条件)按照vip过滤。
- loadbalancer-id - String - 是否必填:否 - (过滤条件)按照负载均衡唯一ID过滤。
- idle - String 是否必填:否 - (过滤条件)按照是否闲置过滤,如"True","False"。
. -
#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
- #deserialize(params) ⇒ Object
-
#initialize(limit = nil, offset = nil, filters = nil) ⇒ DescribeClusterResourcesRequest
constructor
A new instance of DescribeClusterResourcesRequest.
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
#Filters ⇒ Object
2820 2821 2822 |
# File 'lib/v20180317/models.rb', line 2820 def Filters @Filters end |
#Limit ⇒ Object
2820 2821 2822 |
# File 'lib/v20180317/models.rb', line 2820 def Limit @Limit end |
#Offset ⇒ Object
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 |