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.



15663
15664
15665
15666
15667
15668
# File 'lib/v20180525/models.rb', line 15663

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:

    集群所在地域



15661
15662
15663
# File 'lib/v20180525/models.rb', line 15661

def ClusterId
  @ClusterId
end

#ClusterTypeObject

Parameters:

  • ClusterType:

    集群类型

  • ClusterId:

    集群id

  • Describe:

    备注

  • Region:

    集群所在地域



15661
15662
15663
# File 'lib/v20180525/models.rb', line 15661

def ClusterType
  @ClusterType
end

#DescribeObject

Parameters:

  • ClusterType:

    集群类型

  • ClusterId:

    集群id

  • Describe:

    备注

  • Region:

    集群所在地域



15661
15662
15663
# File 'lib/v20180525/models.rb', line 15661

def Describe
  @Describe
end

#RegionObject

Parameters:

  • ClusterType:

    集群类型

  • ClusterId:

    集群id

  • Describe:

    备注

  • Region:

    集群所在地域



15661
15662
15663
# File 'lib/v20180525/models.rb', line 15661

def Region
  @Region
end

Instance Method Details

#deserialize(params) ⇒ Object



15670
15671
15672
15673
15674
15675
# File 'lib/v20180525/models.rb', line 15670

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