Class: TencentCloud::Monitor::V20180724::PrometheusAgentInfo

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

Overview

托管Prometheus agent信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clustertype = nil, clusterid = nil, describe = nil) ⇒ PrometheusAgentInfo

Returns a new instance of PrometheusAgentInfo.



12772
12773
12774
12775
12776
# File 'lib/v20180724/models.rb', line 12772

def initialize(clustertype=nil, clusterid=nil, describe=nil)
  @ClusterType = clustertype
  @ClusterId = clusterid
  @Describe = describe
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterType:

    集群类型。可填入tke、eks、tkeedge、tdcc,分别代表标准集群、弹性集群、边缘集群、注册集群

  • ClusterId:

    集成容器服务中关联的集群ID

  • Describe:

    该参数未使用,不需要填写



12770
12771
12772
# File 'lib/v20180724/models.rb', line 12770

def ClusterId
  @ClusterId
end

#ClusterTypeObject

Parameters:

  • ClusterType:

    集群类型。可填入tke、eks、tkeedge、tdcc,分别代表标准集群、弹性集群、边缘集群、注册集群

  • ClusterId:

    集成容器服务中关联的集群ID

  • Describe:

    该参数未使用,不需要填写



12770
12771
12772
# File 'lib/v20180724/models.rb', line 12770

def ClusterType
  @ClusterType
end

#DescribeObject

Parameters:

  • ClusterType:

    集群类型。可填入tke、eks、tkeedge、tdcc,分别代表标准集群、弹性集群、边缘集群、注册集群

  • ClusterId:

    集成容器服务中关联的集群ID

  • Describe:

    该参数未使用,不需要填写



12770
12771
12772
# File 'lib/v20180724/models.rb', line 12770

def Describe
  @Describe
end

Instance Method Details

#deserialize(params) ⇒ Object



12778
12779
12780
12781
12782
# File 'lib/v20180724/models.rb', line 12778

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