Class: TencentCloud::Tke::V20180525::PrometheusRecordRuleYamlItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::PrometheusRecordRuleYamlItem
- Defined in:
- lib/v20180525/models.rb
Overview
prometheus聚合规则实例详情,包含所属集群ID
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Content ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TemplateId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpdateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, updatetime = nil, templateid = nil, content = nil, clusterid = nil) ⇒ PrometheusRecordRuleYamlItem
constructor
A new instance of PrometheusRecordRuleYamlItem.
Constructor Details
#initialize(name = nil, updatetime = nil, templateid = nil, content = nil, clusterid = nil) ⇒ PrometheusRecordRuleYamlItem
Returns a new instance of PrometheusRecordRuleYamlItem.
18238 18239 18240 18241 18242 18243 18244 |
# File 'lib/v20180525/models.rb', line 18238 def initialize(name=nil, updatetime=nil, templateid=nil, content=nil, clusterid=nil) @Name = name @UpdateTime = updatetime @TemplateId = templateid @Content = content @ClusterId = clusterid end |
Instance Attribute Details
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
18236 18237 18238 |
# File 'lib/v20180525/models.rb', line 18236 def ClusterId @ClusterId end |
#Content ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
18236 18237 18238 |
# File 'lib/v20180525/models.rb', line 18236 def Content @Content end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
18236 18237 18238 |
# File 'lib/v20180525/models.rb', line 18236 def Name @Name end |
#TemplateId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
18236 18237 18238 |
# File 'lib/v20180525/models.rb', line 18236 def TemplateId @TemplateId end |
#UpdateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
18236 18237 18238 |
# File 'lib/v20180525/models.rb', line 18236 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
18246 18247 18248 18249 18250 18251 18252 |
# File 'lib/v20180525/models.rb', line 18246 def deserialize(params) @Name = params['Name'] @UpdateTime = params['UpdateTime'] @TemplateId = params['TemplateId'] @Content = params['Content'] @ClusterId = params['ClusterId'] end |