Class: TencentCloud::Tke::V20180525::PrometheusAlertManagerConfig

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

告警渠道使用自建alertmanager的配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url = nil, clustertype = nil, clusterid = nil) ⇒ PrometheusAlertManagerConfig

Returns a new instance of PrometheusAlertManagerConfig.



15793
15794
15795
15796
15797
# File 'lib/v20180525/models.rb', line 15793

def initialize(url=nil, clustertype=nil, clusterid=nil)
  @Url = url
  @ClusterType = clustertype
  @ClusterId = clusterid
end

Instance Attribute Details

#ClusterIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Url:

    alertmanager url

  • ClusterType:

    alertmanager部署所在集群类型

  • ClusterId:

    alertmanager部署所在集群ID



15791
15792
15793
# File 'lib/v20180525/models.rb', line 15791

def ClusterId
  @ClusterId
end

#ClusterTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Url:

    alertmanager url

  • ClusterType:

    alertmanager部署所在集群类型

  • ClusterId:

    alertmanager部署所在集群ID



15791
15792
15793
# File 'lib/v20180525/models.rb', line 15791

def ClusterType
  @ClusterType
end

#UrlObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Url:

    alertmanager url

  • ClusterType:

    alertmanager部署所在集群类型

  • ClusterId:

    alertmanager部署所在集群ID



15791
15792
15793
# File 'lib/v20180525/models.rb', line 15791

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



15799
15800
15801
15802
15803
# File 'lib/v20180525/models.rb', line 15799

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