Class: TencentCloud::Tke::V20180525::PrometheusAlertManagerConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::PrometheusAlertManagerConfig
- Defined in:
- lib/v20180525/models.rb
Overview
告警渠道使用自建alertmanager的配置
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ClusterType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(url = nil, clustertype = nil, clusterid = nil) ⇒ PrometheusAlertManagerConfig
constructor
A new instance of PrometheusAlertManagerConfig.
Constructor Details
#initialize(url = nil, clustertype = nil, clusterid = nil) ⇒ PrometheusAlertManagerConfig
Returns a new instance of PrometheusAlertManagerConfig.
17552 17553 17554 17555 17556 |
# File 'lib/v20180525/models.rb', line 17552 def initialize(url=nil, clustertype=nil, clusterid=nil) @Url = url @ClusterType = clustertype @ClusterId = clusterid end |
Instance Attribute Details
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
17550 17551 17552 |
# File 'lib/v20180525/models.rb', line 17550 def ClusterId @ClusterId end |
#ClusterType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
17550 17551 17552 |
# File 'lib/v20180525/models.rb', line 17550 def ClusterType @ClusterType end |
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
17550 17551 17552 |
# File 'lib/v20180525/models.rb', line 17550 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
17558 17559 17560 17561 17562 |
# File 'lib/v20180525/models.rb', line 17558 def deserialize(params) @Url = params['Url'] @ClusterType = params['ClusterType'] @ClusterId = params['ClusterId'] end |