Class: TencentCloud::Monitor::V20180724::PrometheusScrapeJob
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::PrometheusScrapeJob
- Defined in:
- lib/v20180724/models.rb
Overview
Prometheus 抓取任务
Instance Attribute Summary collapse
-
#AgentId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Config ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#JobId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, agentid = nil, jobid = nil, config = nil) ⇒ PrometheusScrapeJob
constructor
A new instance of PrometheusScrapeJob.
Constructor Details
#initialize(name = nil, agentid = nil, jobid = nil, config = nil) ⇒ PrometheusScrapeJob
Returns a new instance of PrometheusScrapeJob.
14185 14186 14187 14188 14189 14190 |
# File 'lib/v20180724/models.rb', line 14185 def initialize(name=nil, agentid=nil, jobid=nil, config=nil) @Name = name @AgentId = agentid @JobId = jobid @Config = config end |
Instance Attribute Details
#AgentId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
14183 14184 14185 |
# File 'lib/v20180724/models.rb', line 14183 def AgentId @AgentId end |
#Config ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
14183 14184 14185 |
# File 'lib/v20180724/models.rb', line 14183 def Config @Config end |
#JobId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
14183 14184 14185 |
# File 'lib/v20180724/models.rb', line 14183 def JobId @JobId end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
14183 14184 14185 |
# File 'lib/v20180724/models.rb', line 14183 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
14192 14193 14194 14195 14196 14197 |
# File 'lib/v20180724/models.rb', line 14192 def deserialize(params) @Name = params['Name'] @AgentId = params['AgentId'] @JobId = params['JobId'] @Config = params['Config'] end |