Class: TencentCloud::Tke::V20180525::PrometheusAgentInfo

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

Overview

托管Prometheus agent信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of PrometheusAgentInfo.



15699
15700
15701
15702
15703
15704
# File 'lib/v20180525/models.rb', line 15699

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

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterType:

    集群类型

  • ClusterId:

    集群id

  • Describe:

    备注

  • Region:

    集群所在地域



15697
15698
15699
# File 'lib/v20180525/models.rb', line 15697

def ClusterId
  @ClusterId
end

#ClusterTypeObject

Parameters:

  • ClusterType:

    集群类型

  • ClusterId:

    集群id

  • Describe:

    备注

  • Region:

    集群所在地域



15697
15698
15699
# File 'lib/v20180525/models.rb', line 15697

def ClusterType
  @ClusterType
end

#DescribeObject

Parameters:

  • ClusterType:

    集群类型

  • ClusterId:

    集群id

  • Describe:

    备注

  • Region:

    集群所在地域



15697
15698
15699
# File 'lib/v20180525/models.rb', line 15697

def Describe
  @Describe
end

#RegionObject

Parameters:

  • ClusterType:

    集群类型

  • ClusterId:

    集群id

  • Describe:

    备注

  • Region:

    集群所在地域



15697
15698
15699
# File 'lib/v20180525/models.rb', line 15697

def Region
  @Region
end

Instance Method Details

#deserialize(params) ⇒ Object



15706
15707
15708
15709
15710
15711
# File 'lib/v20180525/models.rb', line 15706

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