Class: TencentCloud::Tcm::V20210413::PrometheusStatus
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcm::V20210413::PrometheusStatus
- Defined in:
- lib/v20210413/models.rb
Overview
Prometheus状态信息
Instance Attribute Summary collapse
-
#DisplayName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Grafana ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#InstanceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PrometheusId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#State ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#VpcId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(prometheusid = nil, displayname = nil, instanceid = nil, vpcid = nil, state = nil, region = nil, grafana = nil, type = nil) ⇒ PrometheusStatus
constructor
A new instance of PrometheusStatus.
Constructor Details
#initialize(prometheusid = nil, displayname = nil, instanceid = nil, vpcid = nil, state = nil, region = nil, grafana = nil, type = nil) ⇒ PrometheusStatus
Returns a new instance of PrometheusStatus.
1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 |
# File 'lib/v20210413/models.rb', line 1804 def initialize(prometheusid=nil, displayname=nil, instanceid=nil, vpcid=nil, state=nil, region=nil, grafana=nil, type=nil) @PrometheusId = prometheusid @DisplayName = displayname @InstanceId = instanceid @VpcId = vpcid @State = state @Region = region @Grafana = grafana @Type = type end |
Instance Attribute Details
#DisplayName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1802 1803 1804 |
# File 'lib/v20210413/models.rb', line 1802 def DisplayName @DisplayName end |
#Grafana ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1802 1803 1804 |
# File 'lib/v20210413/models.rb', line 1802 def Grafana @Grafana end |
#InstanceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1802 1803 1804 |
# File 'lib/v20210413/models.rb', line 1802 def InstanceId @InstanceId end |
#PrometheusId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1802 1803 1804 |
# File 'lib/v20210413/models.rb', line 1802 def PrometheusId @PrometheusId end |
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1802 1803 1804 |
# File 'lib/v20210413/models.rb', line 1802 def Region @Region end |
#State ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1802 1803 1804 |
# File 'lib/v20210413/models.rb', line 1802 def State @State end |
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1802 1803 1804 |
# File 'lib/v20210413/models.rb', line 1802 def Type @Type end |
#VpcId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1802 1803 1804 |
# File 'lib/v20210413/models.rb', line 1802 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 |
# File 'lib/v20210413/models.rb', line 1815 def deserialize(params) @PrometheusId = params['PrometheusId'] @DisplayName = params['DisplayName'] @InstanceId = params['InstanceId'] @VpcId = params['VpcId'] @State = params['State'] @Region = params['Region'] unless params['Grafana'].nil? @Grafana = GrafanaInfo.new @Grafana.deserialize(params['Grafana']) end @Type = params['Type'] end |