Class: TencentCloud::Tcm::V20210413::PrometheusConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcm::V20210413::PrometheusConfig
- Defined in:
- lib/v20210413/models.rb
Overview
Prometheus 配置
Instance Attribute Summary collapse
-
#CustomProm ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#InstanceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SubnetId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#VpcId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vpcid = nil, subnetid = nil, region = nil, instanceid = nil, customprom = nil) ⇒ PrometheusConfig
constructor
A new instance of PrometheusConfig.
Constructor Details
#initialize(vpcid = nil, subnetid = nil, region = nil, instanceid = nil, customprom = nil) ⇒ PrometheusConfig
Returns a new instance of PrometheusConfig.
1761 1762 1763 1764 1765 1766 1767 |
# File 'lib/v20210413/models.rb', line 1761 def initialize(vpcid=nil, subnetid=nil, region=nil, instanceid=nil, customprom=nil) @VpcId = vpcid @SubnetId = subnetid @Region = region @InstanceId = instanceid @CustomProm = customprom end |
Instance Attribute Details
#CustomProm ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1759 1760 1761 |
# File 'lib/v20210413/models.rb', line 1759 def CustomProm @CustomProm end |
#InstanceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1759 1760 1761 |
# File 'lib/v20210413/models.rb', line 1759 def InstanceId @InstanceId end |
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1759 1760 1761 |
# File 'lib/v20210413/models.rb', line 1759 def Region @Region end |
#SubnetId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1759 1760 1761 |
# File 'lib/v20210413/models.rb', line 1759 def SubnetId @SubnetId end |
#VpcId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1759 1760 1761 |
# File 'lib/v20210413/models.rb', line 1759 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 |
# File 'lib/v20210413/models.rb', line 1769 def deserialize(params) @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @Region = params['Region'] @InstanceId = params['InstanceId'] unless params['CustomProm'].nil? @CustomProm = CustomPromConfig.new @CustomProm.deserialize(params['CustomProm']) end end |