Class: TencentCloud::Tke::V20180525::PrometheusAgentOverview
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::PrometheusAgentOverview
- Defined in:
- lib/v20180525/models.rb
Overview
托管prometheus agent概览
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
normal = 正常 abnormal = 异常 本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ClusterName ⇒ Object
normal = 正常 abnormal = 异常 本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ClusterType ⇒ Object
normal = 正常 abnormal = 异常 本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ExternalLabels ⇒ Object
normal = 正常 abnormal = 异常 本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#FailedReason ⇒ Object
normal = 正常 abnormal = 异常 本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Region ⇒ Object
normal = 正常 abnormal = 异常 本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
normal = 正常 abnormal = 异常 本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#VpcId ⇒ Object
normal = 正常 abnormal = 异常 本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clustertype = nil, clusterid = nil, status = nil, clustername = nil, externallabels = nil, region = nil, vpcid = nil, failedreason = nil) ⇒ PrometheusAgentOverview
constructor
A new instance of PrometheusAgentOverview.
Constructor Details
#initialize(clustertype = nil, clusterid = nil, status = nil, clustername = nil, externallabels = nil, region = nil, vpcid = nil, failedreason = nil) ⇒ PrometheusAgentOverview
Returns a new instance of PrometheusAgentOverview.
16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 |
# File 'lib/v20180525/models.rb', line 16048 def initialize(clustertype=nil, clusterid=nil, status=nil, clustername=nil, externallabels=nil, region=nil, vpcid=nil, failedreason=nil) @ClusterType = clustertype @ClusterId = clusterid @Status = status @ClusterName = clustername @ExternalLabels = externallabels @Region = region @VpcId = vpcid @FailedReason = failedreason end |
Instance Attribute Details
#ClusterId ⇒ Object
normal = 正常abnormal = 异常本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
16046 16047 16048 |
# File 'lib/v20180525/models.rb', line 16046 def ClusterId @ClusterId end |
#ClusterName ⇒ Object
normal = 正常abnormal = 异常本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
16046 16047 16048 |
# File 'lib/v20180525/models.rb', line 16046 def ClusterName @ClusterName end |
#ClusterType ⇒ Object
normal = 正常abnormal = 异常本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
16046 16047 16048 |
# File 'lib/v20180525/models.rb', line 16046 def ClusterType @ClusterType end |
#ExternalLabels ⇒ Object
normal = 正常abnormal = 异常本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
16046 16047 16048 |
# File 'lib/v20180525/models.rb', line 16046 def ExternalLabels @ExternalLabels end |
#FailedReason ⇒ Object
normal = 正常abnormal = 异常本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
16046 16047 16048 |
# File 'lib/v20180525/models.rb', line 16046 def FailedReason @FailedReason end |
#Region ⇒ Object
normal = 正常abnormal = 异常本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
16046 16047 16048 |
# File 'lib/v20180525/models.rb', line 16046 def Region @Region end |
#Status ⇒ Object
normal = 正常abnormal = 异常本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
16046 16047 16048 |
# File 'lib/v20180525/models.rb', line 16046 def Status @Status end |
#VpcId ⇒ Object
normal = 正常abnormal = 异常本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
16046 16047 16048 |
# File 'lib/v20180525/models.rb', line 16046 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 |
# File 'lib/v20180525/models.rb', line 16059 def deserialize(params) @ClusterType = params['ClusterType'] @ClusterId = params['ClusterId'] @Status = params['Status'] @ClusterName = params['ClusterName'] unless params['ExternalLabels'].nil? @ExternalLabels = [] params['ExternalLabels'].each do |i| label_tmp = Label.new label_tmp.deserialize(i) @ExternalLabels << label_tmp end end @Region = params['Region'] @VpcId = params['VpcId'] @FailedReason = params['FailedReason'] end |