Class: TencentCloud::Dbbrain::V20210527::AutonomyEventVo

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

Overview

自治事件详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(eventid = nil, type = nil, status = nil, reason = nil, triggertime = nil, lasttriggertime = nil, createtime = nil, updatetime = nil, finishtime = nil) ⇒ AutonomyEventVo

Returns a new instance of AutonomyEventVo.



497
498
499
500
501
502
503
504
505
506
507
# File 'lib/v20210527/models.rb', line 497

def initialize(eventid=nil, type=nil, status=nil, reason=nil, triggertime=nil, lasttriggertime=nil, createtime=nil, updatetime=nil, finishtime=nil)
  @EventId = eventid
  @Type = type
  @Status = status
  @Reason = reason
  @TriggerTime = triggertime
  @LastTriggerTime = lasttriggertime
  @CreateTime = createtime
  @UpdateTime = updatetime
  @FinishTime = finishtime
end

Instance Attribute Details

#CreateTimeObject

Parameters:

  • EventId:

    自治事件ID。

  • Type:

    自治事件类型:支持RunningAutoRecovery,RedisAutoScale

  • Status:

    自治事件状态:支持 RUNNING,FINISHED,TERMINATED

  • Reason:

    触发原因。

  • TriggerTime:

    自治任务触发时间。

  • LastTriggerTime:

    自治任务最后触发时间。

  • CreateTime:

    自治任务创建时间。

  • UpdateTime:

    自治任务更新时间。

  • FinishTime:

    自治任务完成时间;非结束状态的时候,该值无意义。



495
496
497
# File 'lib/v20210527/models.rb', line 495

def CreateTime
  @CreateTime
end

#EventIdObject

Parameters:

  • EventId:

    自治事件ID。

  • Type:

    自治事件类型:支持RunningAutoRecovery,RedisAutoScale

  • Status:

    自治事件状态:支持 RUNNING,FINISHED,TERMINATED

  • Reason:

    触发原因。

  • TriggerTime:

    自治任务触发时间。

  • LastTriggerTime:

    自治任务最后触发时间。

  • CreateTime:

    自治任务创建时间。

  • UpdateTime:

    自治任务更新时间。

  • FinishTime:

    自治任务完成时间;非结束状态的时候,该值无意义。



495
496
497
# File 'lib/v20210527/models.rb', line 495

def EventId
  @EventId
end

#FinishTimeObject

Parameters:

  • EventId:

    自治事件ID。

  • Type:

    自治事件类型:支持RunningAutoRecovery,RedisAutoScale

  • Status:

    自治事件状态:支持 RUNNING,FINISHED,TERMINATED

  • Reason:

    触发原因。

  • TriggerTime:

    自治任务触发时间。

  • LastTriggerTime:

    自治任务最后触发时间。

  • CreateTime:

    自治任务创建时间。

  • UpdateTime:

    自治任务更新时间。

  • FinishTime:

    自治任务完成时间;非结束状态的时候,该值无意义。



495
496
497
# File 'lib/v20210527/models.rb', line 495

def FinishTime
  @FinishTime
end

#LastTriggerTimeObject

Parameters:

  • EventId:

    自治事件ID。

  • Type:

    自治事件类型:支持RunningAutoRecovery,RedisAutoScale

  • Status:

    自治事件状态:支持 RUNNING,FINISHED,TERMINATED

  • Reason:

    触发原因。

  • TriggerTime:

    自治任务触发时间。

  • LastTriggerTime:

    自治任务最后触发时间。

  • CreateTime:

    自治任务创建时间。

  • UpdateTime:

    自治任务更新时间。

  • FinishTime:

    自治任务完成时间;非结束状态的时候,该值无意义。



495
496
497
# File 'lib/v20210527/models.rb', line 495

def LastTriggerTime
  @LastTriggerTime
end

#ReasonObject

Parameters:

  • EventId:

    自治事件ID。

  • Type:

    自治事件类型:支持RunningAutoRecovery,RedisAutoScale

  • Status:

    自治事件状态:支持 RUNNING,FINISHED,TERMINATED

  • Reason:

    触发原因。

  • TriggerTime:

    自治任务触发时间。

  • LastTriggerTime:

    自治任务最后触发时间。

  • CreateTime:

    自治任务创建时间。

  • UpdateTime:

    自治任务更新时间。

  • FinishTime:

    自治任务完成时间;非结束状态的时候,该值无意义。



495
496
497
# File 'lib/v20210527/models.rb', line 495

def Reason
  @Reason
end

#StatusObject

Parameters:

  • EventId:

    自治事件ID。

  • Type:

    自治事件类型:支持RunningAutoRecovery,RedisAutoScale

  • Status:

    自治事件状态:支持 RUNNING,FINISHED,TERMINATED

  • Reason:

    触发原因。

  • TriggerTime:

    自治任务触发时间。

  • LastTriggerTime:

    自治任务最后触发时间。

  • CreateTime:

    自治任务创建时间。

  • UpdateTime:

    自治任务更新时间。

  • FinishTime:

    自治任务完成时间;非结束状态的时候,该值无意义。



495
496
497
# File 'lib/v20210527/models.rb', line 495

def Status
  @Status
end

#TriggerTimeObject

Parameters:

  • EventId:

    自治事件ID。

  • Type:

    自治事件类型:支持RunningAutoRecovery,RedisAutoScale

  • Status:

    自治事件状态:支持 RUNNING,FINISHED,TERMINATED

  • Reason:

    触发原因。

  • TriggerTime:

    自治任务触发时间。

  • LastTriggerTime:

    自治任务最后触发时间。

  • CreateTime:

    自治任务创建时间。

  • UpdateTime:

    自治任务更新时间。

  • FinishTime:

    自治任务完成时间;非结束状态的时候,该值无意义。



495
496
497
# File 'lib/v20210527/models.rb', line 495

def TriggerTime
  @TriggerTime
end

#TypeObject

Parameters:

  • EventId:

    自治事件ID。

  • Type:

    自治事件类型:支持RunningAutoRecovery,RedisAutoScale

  • Status:

    自治事件状态:支持 RUNNING,FINISHED,TERMINATED

  • Reason:

    触发原因。

  • TriggerTime:

    自治任务触发时间。

  • LastTriggerTime:

    自治任务最后触发时间。

  • CreateTime:

    自治任务创建时间。

  • UpdateTime:

    自治任务更新时间。

  • FinishTime:

    自治任务完成时间;非结束状态的时候,该值无意义。



495
496
497
# File 'lib/v20210527/models.rb', line 495

def Type
  @Type
end

#UpdateTimeObject

Parameters:

  • EventId:

    自治事件ID。

  • Type:

    自治事件类型:支持RunningAutoRecovery,RedisAutoScale

  • Status:

    自治事件状态:支持 RUNNING,FINISHED,TERMINATED

  • Reason:

    触发原因。

  • TriggerTime:

    自治任务触发时间。

  • LastTriggerTime:

    自治任务最后触发时间。

  • CreateTime:

    自治任务创建时间。

  • UpdateTime:

    自治任务更新时间。

  • FinishTime:

    自治任务完成时间;非结束状态的时候,该值无意义。



495
496
497
# File 'lib/v20210527/models.rb', line 495

def UpdateTime
  @UpdateTime
end

Instance Method Details

#deserialize(params) ⇒ Object



509
510
511
512
513
514
515
516
517
518
519
# File 'lib/v20210527/models.rb', line 509

def deserialize(params)
  @EventId = params['EventId']
  @Type = params['Type']
  @Status = params['Status']
  @Reason = params['Reason']
  @TriggerTime = params['TriggerTime']
  @LastTriggerTime = params['LastTriggerTime']
  @CreateTime = params['CreateTime']
  @UpdateTime = params['UpdateTime']
  @FinishTime = params['FinishTime']
end