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.



17422
17423
17424
17425
17426
17427
# File 'lib/v20180525/models.rb', line 17422

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

Instance Attribute Details

#ClusterIdObject

Parameters:

  • 集群类型

  • 集群id

  • 备注

  • 集群所在地域



17420
17421
17422
# File 'lib/v20180525/models.rb', line 17420

def ClusterId
  @ClusterId
end

#ClusterTypeObject

Parameters:

  • 集群类型

  • 集群id

  • 备注

  • 集群所在地域



17420
17421
17422
# File 'lib/v20180525/models.rb', line 17420

def ClusterType
  @ClusterType
end

#DescribeObject

Parameters:

  • 集群类型

  • 集群id

  • 备注

  • 集群所在地域



17420
17421
17422
# File 'lib/v20180525/models.rb', line 17420

def Describe
  @Describe
end

#RegionObject

Parameters:

  • 集群类型

  • 集群id

  • 备注

  • 集群所在地域



17420
17421
17422
# File 'lib/v20180525/models.rb', line 17420

def Region
  @Region
end

Instance Method Details

#deserialize(params) ⇒ Object



17429
17430
17431
17432
17433
17434
# File 'lib/v20180525/models.rb', line 17429

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