Class: TencentCloud::Apm::V20210622::ModifyApmPrometheusRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::ModifyApmPrometheusRuleRequest
- Defined in:
- lib/v20210622/models.rb
Overview
ModifyApmPrometheusRule请求参数结构体
Instance Attribute Summary collapse
- #Id ⇒ Object
- #InstanceId ⇒ Object
- #MetricMatchType ⇒ Object
- #MetricNameRule ⇒ Object
- #Name ⇒ Object
- #ServiceName ⇒ Object
- #Status ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, instanceid = nil, name = nil, status = nil, servicename = nil, metricmatchtype = nil, metricnamerule = nil) ⇒ ModifyApmPrometheusRuleRequest
constructor
A new instance of ModifyApmPrometheusRuleRequest.
Constructor Details
#initialize(id = nil, instanceid = nil, name = nil, status = nil, servicename = nil, metricmatchtype = nil, metricnamerule = nil) ⇒ ModifyApmPrometheusRuleRequest
Returns a new instance of ModifyApmPrometheusRuleRequest.
3611 3612 3613 3614 3615 3616 3617 3618 3619 |
# File 'lib/v20210622/models.rb', line 3611 def initialize(id=nil, instanceid=nil, name=nil, status=nil, servicename=nil, metricmatchtype=nil, metricnamerule=nil) @Id = id @InstanceId = instanceid @Name = name @Status = status @ServiceName = servicename @MetricMatchType = metricmatchtype @MetricNameRule = metricnamerule end |
Instance Attribute Details
#Id ⇒ Object
3609 3610 3611 |
# File 'lib/v20210622/models.rb', line 3609 def Id @Id end |
#InstanceId ⇒ Object
3609 3610 3611 |
# File 'lib/v20210622/models.rb', line 3609 def InstanceId @InstanceId end |
#MetricMatchType ⇒ Object
3609 3610 3611 |
# File 'lib/v20210622/models.rb', line 3609 def MetricMatchType @MetricMatchType end |
#MetricNameRule ⇒ Object
3609 3610 3611 |
# File 'lib/v20210622/models.rb', line 3609 def MetricNameRule @MetricNameRule end |
#Name ⇒ Object
3609 3610 3611 |
# File 'lib/v20210622/models.rb', line 3609 def Name @Name end |
#ServiceName ⇒ Object
3609 3610 3611 |
# File 'lib/v20210622/models.rb', line 3609 def ServiceName @ServiceName end |
#Status ⇒ Object
3609 3610 3611 |
# File 'lib/v20210622/models.rb', line 3609 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
3621 3622 3623 3624 3625 3626 3627 3628 3629 |
# File 'lib/v20210622/models.rb', line 3621 def deserialize(params) @Id = params['Id'] @InstanceId = params['InstanceId'] @Name = params['Name'] @Status = params['Status'] @ServiceName = params['ServiceName'] @MetricMatchType = params['MetricMatchType'] @MetricNameRule = params['MetricNameRule'] end |