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.
2788 2789 2790 2791 |
# File 'lib/v20210701/models.rb', line 2788 def initialize(port=nil, path=nil) @Port = port @Path = path end |
Instance Attribute Details
#Path ⇒ Object
2786 2787 2788 |
# File 'lib/v20210701/models.rb', line 2786 def Path @Path end |
#Port ⇒ Object
2786 2787 2788 |
# File 'lib/v20210701/models.rb', line 2786 def Port @Port end |
Instance Method Details
#deserialize(params) ⇒ Object
2793 2794 2795 2796 |
# File 'lib/v20210701/models.rb', line 2793 def deserialize(params) @Port = params['Port'] @Path = params['Path'] end |