Class: TencentCloud::Tke::V20180525::DescribePrometheusAlertHistoryRequest

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

Overview

DescribePrometheusAlertHistory请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, rulename = nil, starttime = nil, endtime = nil, labels = nil, offset = nil, limit = nil) ⇒ DescribePrometheusAlertHistoryRequest

Returns a new instance of DescribePrometheusAlertHistoryRequest.



8626
8627
8628
8629
8630
8631
8632
8633
8634
# File 'lib/v20180525/models.rb', line 8626

def initialize(instanceid=nil, rulename=nil, starttime=nil, endtime=nil, labels=nil, offset=nil, limit=nil)
  @InstanceId = instanceid
  @RuleName = rulename
  @StartTime = starttime
  @EndTime = endtime
  @Labels = labels
  @Offset = offset
  @Limit = limit
end

Instance Attribute Details

#EndTimeObject

Parameters:

  • InstanceId:

    实例id

  • RuleName:

    告警名称

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • Labels:

    label集合

  • Offset:

    分片

  • Limit:

    分片



8624
8625
8626
# File 'lib/v20180525/models.rb', line 8624

def EndTime
  @EndTime
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例id

  • RuleName:

    告警名称

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • Labels:

    label集合

  • Offset:

    分片

  • Limit:

    分片



8624
8625
8626
# File 'lib/v20180525/models.rb', line 8624

def InstanceId
  @InstanceId
end

#LabelsObject

Parameters:

  • InstanceId:

    实例id

  • RuleName:

    告警名称

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • Labels:

    label集合

  • Offset:

    分片

  • Limit:

    分片



8624
8625
8626
# File 'lib/v20180525/models.rb', line 8624

def Labels
  @Labels
end

#LimitObject

Parameters:

  • InstanceId:

    实例id

  • RuleName:

    告警名称

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • Labels:

    label集合

  • Offset:

    分片

  • Limit:

    分片



8624
8625
8626
# File 'lib/v20180525/models.rb', line 8624

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • InstanceId:

    实例id

  • RuleName:

    告警名称

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • Labels:

    label集合

  • Offset:

    分片

  • Limit:

    分片



8624
8625
8626
# File 'lib/v20180525/models.rb', line 8624

def Offset
  @Offset
end

#RuleNameObject

Parameters:

  • InstanceId:

    实例id

  • RuleName:

    告警名称

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • Labels:

    label集合

  • Offset:

    分片

  • Limit:

    分片



8624
8625
8626
# File 'lib/v20180525/models.rb', line 8624

def RuleName
  @RuleName
end

#StartTimeObject

Parameters:

  • InstanceId:

    实例id

  • RuleName:

    告警名称

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • Labels:

    label集合

  • Offset:

    分片

  • Limit:

    分片



8624
8625
8626
# File 'lib/v20180525/models.rb', line 8624

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



8636
8637
8638
8639
8640
8641
8642
8643
8644
# File 'lib/v20180525/models.rb', line 8636

def deserialize(params)
  @InstanceId = params['InstanceId']
  @RuleName = params['RuleName']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Labels = params['Labels']
  @Offset = params['Offset']
  @Limit = params['Limit']
end