Class: TencentCloud::Apm::V20210622::CreateApmPrometheusRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::CreateApmPrometheusRuleRequest
- Defined in:
- lib/v20210622/models.rb
Overview
CreateApmPrometheusRule请求参数结构体
Instance Attribute Summary collapse
- #InstanceId ⇒ Object
- #MetricMatchType ⇒ Object
- #MetricNameRule ⇒ Object
- #Name ⇒ Object
- #ServiceName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, servicename = nil, metricmatchtype = nil, metricnamerule = nil, instanceid = nil) ⇒ CreateApmPrometheusRuleRequest
constructor
A new instance of CreateApmPrometheusRuleRequest.
Constructor Details
#initialize(name = nil, servicename = nil, metricmatchtype = nil, metricnamerule = nil, instanceid = nil) ⇒ CreateApmPrometheusRuleRequest
Returns a new instance of CreateApmPrometheusRuleRequest.
1127 1128 1129 1130 1131 1132 1133 |
# File 'lib/v20210622/models.rb', line 1127 def initialize(name=nil, servicename=nil, metricmatchtype=nil, metricnamerule=nil, instanceid=nil) @Name = name @ServiceName = servicename @MetricMatchType = metricmatchtype @MetricNameRule = metricnamerule @InstanceId = instanceid end |
Instance Attribute Details
#InstanceId ⇒ Object
1125 1126 1127 |
# File 'lib/v20210622/models.rb', line 1125 def InstanceId @InstanceId end |
#MetricMatchType ⇒ Object
1125 1126 1127 |
# File 'lib/v20210622/models.rb', line 1125 def MetricMatchType @MetricMatchType end |
#MetricNameRule ⇒ Object
1125 1126 1127 |
# File 'lib/v20210622/models.rb', line 1125 def MetricNameRule @MetricNameRule end |
#Name ⇒ Object
1125 1126 1127 |
# File 'lib/v20210622/models.rb', line 1125 def Name @Name end |
#ServiceName ⇒ Object
1125 1126 1127 |
# File 'lib/v20210622/models.rb', line 1125 def ServiceName @ServiceName end |
Instance Method Details
#deserialize(params) ⇒ Object
1135 1136 1137 1138 1139 1140 1141 |
# File 'lib/v20210622/models.rb', line 1135 def deserialize(params) @Name = params['Name'] @ServiceName = params['ServiceName'] @MetricMatchType = params['MetricMatchType'] @MetricNameRule = params['MetricNameRule'] @InstanceId = params['InstanceId'] end |