Class: TencentCloud::Wedata::V20250806::DeleteOpsAlarmRuleRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20250806/models.rb

Overview

DeleteOpsAlarmRule请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(projectid = nil, alarmruleid = nil) ⇒ DeleteOpsAlarmRuleRequest

Returns a new instance of DeleteOpsAlarmRuleRequest.



3173
3174
3175
3176
# File 'lib/v20250806/models.rb', line 3173

def initialize(projectid=nil, alarmruleid=nil)
  @ProjectId = projectid
  @AlarmRuleId = alarmruleid
end

Instance Attribute Details

#AlarmRuleIdObject

与AlarmRuleName二选一

Parameters:

  • ProjectId:

    项目id

  • AlarmRuleId:

    告警规则唯一id,接口CreateAlarmRule返回



3171
3172
3173
# File 'lib/v20250806/models.rb', line 3171

def AlarmRuleId
  @AlarmRuleId
end

#ProjectIdObject

与AlarmRuleName二选一

Parameters:

  • ProjectId:

    项目id

  • AlarmRuleId:

    告警规则唯一id,接口CreateAlarmRule返回



3171
3172
3173
# File 'lib/v20250806/models.rb', line 3171

def ProjectId
  @ProjectId
end

Instance Method Details

#deserialize(params) ⇒ Object



3178
3179
3180
3181
# File 'lib/v20250806/models.rb', line 3178

def deserialize(params)
  @ProjectId = params['ProjectId']
  @AlarmRuleId = params['AlarmRuleId']
end