Class: TencentCloud::Monitor::V20180724::DescribePrometheusClusterAgentsRequest

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

Overview

DescribePrometheusClusterAgents请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, offset = nil, limit = nil, clusterids = nil, clustertypes = nil, clustername = nil) ⇒ DescribePrometheusClusterAgentsRequest

Returns a new instance of DescribePrometheusClusterAgentsRequest.



8263
8264
8265
8266
8267
8268
8269
8270
# File 'lib/v20180724/models.rb', line 8263

def initialize(instanceid=nil, offset=nil, limit=nil, clusterids=nil, clustertypes=nil, clustername=nil)
  @InstanceId = instanceid
  @Offset = offset
  @Limit = limit
  @ClusterIds = clusterids
  @ClusterTypes = clustertypes
  @ClusterName = clustername
end

Instance Attribute Details

#ClusterIdsObject

Parameters:

  • InstanceId:

    实例id

  • Offset:

    偏移量,默认为0。

  • Limit:

    返回数量,默认为20,最大值为100。

  • ClusterIds:

    用于通过集群id过滤被绑定集群

  • ClusterTypes:

    用于通过集群类型过滤被绑定集群

  • ClusterName:

    用于通过名称搜索被绑定集群



8261
8262
8263
# File 'lib/v20180724/models.rb', line 8261

def ClusterIds
  @ClusterIds
end

#ClusterNameObject

Parameters:

  • InstanceId:

    实例id

  • Offset:

    偏移量,默认为0。

  • Limit:

    返回数量,默认为20,最大值为100。

  • ClusterIds:

    用于通过集群id过滤被绑定集群

  • ClusterTypes:

    用于通过集群类型过滤被绑定集群

  • ClusterName:

    用于通过名称搜索被绑定集群



8261
8262
8263
# File 'lib/v20180724/models.rb', line 8261

def ClusterName
  @ClusterName
end

#ClusterTypesObject

Parameters:

  • InstanceId:

    实例id

  • Offset:

    偏移量,默认为0。

  • Limit:

    返回数量,默认为20,最大值为100。

  • ClusterIds:

    用于通过集群id过滤被绑定集群

  • ClusterTypes:

    用于通过集群类型过滤被绑定集群

  • ClusterName:

    用于通过名称搜索被绑定集群



8261
8262
8263
# File 'lib/v20180724/models.rb', line 8261

def ClusterTypes
  @ClusterTypes
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例id

  • Offset:

    偏移量,默认为0。

  • Limit:

    返回数量,默认为20,最大值为100。

  • ClusterIds:

    用于通过集群id过滤被绑定集群

  • ClusterTypes:

    用于通过集群类型过滤被绑定集群

  • ClusterName:

    用于通过名称搜索被绑定集群



8261
8262
8263
# File 'lib/v20180724/models.rb', line 8261

def InstanceId
  @InstanceId
end

#LimitObject

Parameters:

  • InstanceId:

    实例id

  • Offset:

    偏移量,默认为0。

  • Limit:

    返回数量,默认为20,最大值为100。

  • ClusterIds:

    用于通过集群id过滤被绑定集群

  • ClusterTypes:

    用于通过集群类型过滤被绑定集群

  • ClusterName:

    用于通过名称搜索被绑定集群



8261
8262
8263
# File 'lib/v20180724/models.rb', line 8261

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • InstanceId:

    实例id

  • Offset:

    偏移量,默认为0。

  • Limit:

    返回数量,默认为20,最大值为100。

  • ClusterIds:

    用于通过集群id过滤被绑定集群

  • ClusterTypes:

    用于通过集群类型过滤被绑定集群

  • ClusterName:

    用于通过名称搜索被绑定集群



8261
8262
8263
# File 'lib/v20180724/models.rb', line 8261

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



8272
8273
8274
8275
8276
8277
8278
8279
# File 'lib/v20180724/models.rb', line 8272

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Offset = params['Offset']
  @Limit = params['Limit']
  @ClusterIds = params['ClusterIds']
  @ClusterTypes = params['ClusterTypes']
  @ClusterName = params['ClusterName']
end