Class: TencentCloud::Monitor::V20180724::DescribePrometheusConfigRequest

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

Overview

DescribePrometheusConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, clusterid = nil, clustertype = nil) ⇒ DescribePrometheusConfigRequest

Returns a new instance of DescribePrometheusConfigRequest.



8332
8333
8334
8335
8336
# File 'lib/v20180724/models.rb', line 8332

def initialize(instanceid=nil, clusterid=nil, clustertype=nil)
  @InstanceId = instanceid
  @ClusterId = clusterid
  @ClusterType = clustertype
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • InstanceId:

    实例id

  • ClusterId:

    集群id

  • ClusterType:

    集群类型



8330
8331
8332
# File 'lib/v20180724/models.rb', line 8330

def ClusterId
  @ClusterId
end

#ClusterTypeObject

Parameters:

  • InstanceId:

    实例id

  • ClusterId:

    集群id

  • ClusterType:

    集群类型



8330
8331
8332
# File 'lib/v20180724/models.rb', line 8330

def ClusterType
  @ClusterType
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例id

  • ClusterId:

    集群id

  • ClusterType:

    集群类型



8330
8331
8332
# File 'lib/v20180724/models.rb', line 8330

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



8338
8339
8340
8341
8342
# File 'lib/v20180724/models.rb', line 8338

def deserialize(params)
  @InstanceId = params['InstanceId']
  @ClusterId = params['ClusterId']
  @ClusterType = params['ClusterType']
end