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.
3024 3025 3026 3027 3028 3029 3030 3031 3032 |
# File 'lib/v20210622/models.rb', line 3024 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
3022 3023 3024 |
# File 'lib/v20210622/models.rb', line 3022 def Id @Id end |
#InstanceId ⇒ Object
3022 3023 3024 |
# File 'lib/v20210622/models.rb', line 3022 def InstanceId @InstanceId end |
#MetricMatchType ⇒ Object
3022 3023 3024 |
# File 'lib/v20210622/models.rb', line 3022 def MetricMatchType @MetricMatchType end |
#MetricNameRule ⇒ Object
3022 3023 3024 |
# File 'lib/v20210622/models.rb', line 3022 def MetricNameRule @MetricNameRule end |
#Name ⇒ Object
3022 3023 3024 |
# File 'lib/v20210622/models.rb', line 3022 def Name @Name end |
#ServiceName ⇒ Object
3022 3023 3024 |
# File 'lib/v20210622/models.rb', line 3022 def ServiceName @ServiceName end |
#Status ⇒ Object
3022 3023 3024 |
# File 'lib/v20210622/models.rb', line 3022 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
3034 3035 3036 3037 3038 3039 3040 3041 3042 |
# File 'lib/v20210622/models.rb', line 3034 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 |