Class: TencentCloud::Tke::V20180525::DeletePrometheusAlertPolicyRequest

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

Overview

DeletePrometheusAlertPolicy请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, alertids = nil, names = nil) ⇒ DeletePrometheusAlertPolicyRequest

Returns a new instance of DeletePrometheusAlertPolicyRequest.



4666
4667
4668
4669
4670
# File 'lib/v20180525/models.rb', line 4666

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

Instance Attribute Details

#AlertIdsObject

Parameters:

  • InstanceId:

    实例id

  • AlertIds:

    告警策略id列表

  • Names:

    告警策略名称



4664
4665
4666
# File 'lib/v20180525/models.rb', line 4664

def AlertIds
  @AlertIds
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例id

  • AlertIds:

    告警策略id列表

  • Names:

    告警策略名称



4664
4665
4666
# File 'lib/v20180525/models.rb', line 4664

def InstanceId
  @InstanceId
end

#NamesObject

Parameters:

  • InstanceId:

    实例id

  • AlertIds:

    告警策略id列表

  • Names:

    告警策略名称



4664
4665
4666
# File 'lib/v20180525/models.rb', line 4664

def Names
  @Names
end

Instance Method Details

#deserialize(params) ⇒ Object



4672
4673
4674
4675
4676
# File 'lib/v20180525/models.rb', line 4672

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