Class: TencentCloud::Tem::V20210701::EnablePrometheusConf
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::EnablePrometheusConf
- Defined in:
- lib/v20210701/models.rb
Overview
开启prometheus监控配置
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(port = nil, path = nil) ⇒ EnablePrometheusConf
constructor
A new instance of EnablePrometheusConf.
Constructor Details
#initialize(port = nil, path = nil) ⇒ EnablePrometheusConf
Returns a new instance of EnablePrometheusConf.
2740 2741 2742 2743 |
# File 'lib/v20210701/models.rb', line 2740 def initialize(port=nil, path=nil) @Port = port @Path = path end |
Instance Attribute Details
#Path ⇒ Object
2738 2739 2740 |
# File 'lib/v20210701/models.rb', line 2738 def Path @Path end |
#Port ⇒ Object
2738 2739 2740 |
# File 'lib/v20210701/models.rb', line 2738 def Port @Port end |
Instance Method Details
#deserialize(params) ⇒ Object
2745 2746 2747 2748 |
# File 'lib/v20210701/models.rb', line 2745 def deserialize(params) @Port = params['Port'] @Path = params['Path'] end |