Class: TencentCloud::Tke::V20180525::DeletePrometheusAlertRuleRequest

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

Overview

DeletePrometheusAlertRule请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, alertids = nil) ⇒ DeletePrometheusAlertRuleRequest

Returns a new instance of DeletePrometheusAlertRuleRequest.



4704
4705
4706
4707
# File 'lib/v20180525/models.rb', line 4704

def initialize(instanceid=nil, alertids=nil)
  @InstanceId = instanceid
  @AlertIds = alertids
end

Instance Attribute Details

#AlertIdsObject

Parameters:

  • InstanceId:

    实例id

  • AlertIds:

    告警规则id列表



4702
4703
4704
# File 'lib/v20180525/models.rb', line 4702

def AlertIds
  @AlertIds
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例id

  • AlertIds:

    告警规则id列表



4702
4703
4704
# File 'lib/v20180525/models.rb', line 4702

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



4709
4710
4711
4712
# File 'lib/v20180525/models.rb', line 4709

def deserialize(params)
  @InstanceId = params['InstanceId']
  @AlertIds = params['AlertIds']
end