Class: TencentCloud::Cls::V20201016::MetricConfigLabel
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::MetricConfigLabel
- Defined in:
- lib/v20201016/models.rb
Overview
指标采集label配置信息
Instance Attribute Summary collapse
-
#CustomLabels ⇒ Object
支持 -
namespace-pod_name-pod_ip-pod_uid-container_name-container_id-image_name-cluster_id-node_id-node_ip注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#Label ⇒ Object
支持 -
namespace-pod_name-pod_ip-pod_uid-container_name-container_id-image_name-cluster_id-node_id-node_ip注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#Metadata ⇒ Object
支持 -
namespace-pod_name-pod_ip-pod_uid-container_name-container_id-image_name-cluster_id-node_id-node_ip注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(metadata = nil, label = nil, customlabels = nil) ⇒ MetricConfigLabel
constructor
A new instance of MetricConfigLabel.
Constructor Details
#initialize(metadata = nil, label = nil, customlabels = nil) ⇒ MetricConfigLabel
Returns a new instance of MetricConfigLabel.
12896 12897 12898 12899 12900 |
# File 'lib/v20201016/models.rb', line 12896 def initialize(=nil, label=nil, customlabels=nil) @Metadata = @Label = label @CustomLabels = customlabels end |
Instance Attribute Details
#CustomLabels ⇒ Object
支持
namespacepod_namepod_ippod_uidcontainer_namecontainer_idimage_namecluster_idnode_idnode_ip注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
12894 12895 12896 |
# File 'lib/v20201016/models.rb', line 12894 def CustomLabels @CustomLabels end |
#Label ⇒ Object
支持
namespacepod_namepod_ippod_uidcontainer_namecontainer_idimage_namecluster_idnode_idnode_ip注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
12894 12895 12896 |
# File 'lib/v20201016/models.rb', line 12894 def Label @Label end |
#Metadata ⇒ Object
支持
namespacepod_namepod_ippod_uidcontainer_namecontainer_idimage_namecluster_idnode_idnode_ip注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
12894 12895 12896 |
# File 'lib/v20201016/models.rb', line 12894 def Metadata @Metadata end |
Instance Method Details
#deserialize(params) ⇒ Object
12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 |
# File 'lib/v20201016/models.rb', line 12902 def deserialize(params) @Metadata = params['Metadata'] unless params['Label'].nil? @Label = AppointLabel.new @Label.deserialize(params['Label']) end unless params['CustomLabels'].nil? @CustomLabels = [] params['CustomLabels'].each do |i| customlabel_tmp = CustomLabel.new customlabel_tmp.deserialize(i) @CustomLabels << customlabel_tmp end end end |